| 1 | --- Portfile.orig 2009-10-04 23:02:23.000000000 +0100 |
|---|
| 2 | +++ Portfile 2009-10-04 23:06:58.000000000 +0100 |
|---|
| 3 | @@ -1,42 +1 @@ |
|---|
| 4 | -# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|---|
| 5 | -# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ |
|---|
| 6 | - |
|---|
| 7 | -PortSystem 1.0 |
|---|
| 8 | - |
|---|
| 9 | -name exempi |
|---|
| 10 | -version 2.1.1 |
|---|
| 11 | -categories graphics |
|---|
| 12 | -maintainers devans openmaintainer |
|---|
| 13 | -platforms darwin |
|---|
| 14 | -homepage http://libopenraw.freedesktop.org/wiki/Exempi |
|---|
| 15 | -master_sites http://libopenraw.freedesktop.org/download/ |
|---|
| 16 | - |
|---|
| 17 | -description \ |
|---|
| 18 | - Exempi is an implementation of XMP. |
|---|
| 19 | - |
|---|
| 20 | -long_description \ |
|---|
| 21 | - Exempi is an implementation of XMP. Version 2.x is based on Adobe XMP SDK 4.1.1 \ |
|---|
| 22 | - and is released under a BSD-style license like Adobe's. |
|---|
| 23 | - |
|---|
| 24 | -checksums md5 62ecb5a01387b9f940a5429b3df67e65 \ |
|---|
| 25 | - sha1 f05a4c1d609c0e3cafdf839c16ec46afae1b160d \ |
|---|
| 26 | - rmd160 e79500f804e162df340e669deea620408e4926b4 |
|---|
| 27 | - |
|---|
| 28 | -# see http://trac.macports.org/ticket/19894 |
|---|
| 29 | - |
|---|
| 30 | -if { ${os.platform} == "darwin" && ${os.major} > 8 } { |
|---|
| 31 | - patchfiles patch-source__common__LargeFileAccess.cpp |
|---|
| 32 | - patch.args -p1 |
|---|
| 33 | -} |
|---|
| 34 | - |
|---|
| 35 | -configure.args --enable-unittest=no |
|---|
| 36 | - |
|---|
| 37 | -variant unit_test description {Enable unit test} { |
|---|
| 38 | - depends_lib-append port:boost |
|---|
| 39 | - configure.args-delete --enable-unittest=no |
|---|
| 40 | - configure.args-append --enable-unittest=yes |
|---|
| 41 | -} |
|---|
| 42 | - |
|---|
| 43 | -livecheck.type regex |
|---|
| 44 | -livecheck.url ${homepage} |
|---|
| 45 | -livecheck.regex {version\ (\d+(?:\.\d+)*)} |
|---|
| 46 | +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|---|
| 47 | # $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ |
|---|
| 48 | |
|---|
| 49 | PortSystem 1.0 |
|---|
| 50 | |
|---|
| 51 | name exempi |
|---|
| 52 | version 2.1.1 |
|---|
| 53 | categories graphics |
|---|
| 54 | maintainers devans openmaintainer |
|---|
| 55 | platforms darwin |
|---|
| 56 | homepage http://libopenraw.freedesktop.org/wiki/Exempi |
|---|
| 57 | master_sites http://libopenraw.freedesktop.org/download/ |
|---|
| 58 | |
|---|
| 59 | description \ |
|---|
| 60 | Exempi is an implementation of XMP. |
|---|
| 61 | |
|---|
| 62 | long_description \ |
|---|
| 63 | Exempi is an implementation of XMP. Version 2.x is based on Adobe XMP SDK 4.1.1 \ |
|---|
| 64 | and is released under a BSD-style license like Adobe's. |
|---|
| 65 | |
|---|
| 66 | checksums md5 62ecb5a01387b9f940a5429b3df67e65 \ |
|---|
| 67 | sha1 f05a4c1d609c0e3cafdf839c16ec46afae1b160d \ |
|---|
| 68 | rmd160 e79500f804e162df340e669deea620408e4926b4 |
|---|
| 69 | |
|---|
| 70 | # see http://trac.macports.org/ticket/19894 |
|---|
| 71 | |
|---|
| 72 | if { ${os.platform} == "darwin" && ${os.major} > 8 } { |
|---|
| 73 | patchfiles patch-source__common__LargeFileAccess.cpp |
|---|
| 74 | patch.args -p1 |
|---|
| 75 | } |
|---|
| 76 | |
|---|
| 77 | # see http://trac.macports.org/ticket/20965 |
|---|
| 78 | |
|---|
| 79 | if { ${os.platform} == "darwin" && ${os.major} > 9 } { |
|---|
| 80 | # Remove compilation of QuickTime/mov suppport (there is no 64 bit support for Carbon QuickTime framework), |
|---|
| 81 | # see https://developer.apple.com/mac/library/documentation/Carbon/Conceptual/Carbon64BitGuide/OtherAPIChanges/OtherAPIChanges.html#//apple_ref/doc/uid/TP40004381-CH5-SW2 |
|---|
| 82 | # |
|---|
| 83 | # TODO: Restore QuickTime/mov support by re-writing ${worksrcpath}/source/XMPFiles/FileHandlers/MOV_Handler.cpp and |
|---|
| 84 | # ${worksrcpath}/source/XMPFiles/FormatSupport/QuickTime_Support.cpp to use QuickTime Kit instead of Carbon QuickTime framework. |
|---|
| 85 | # see https://developer.apple.com/mac/library/documentation/QuickTime/Conceptual/QTKitProgrammingGuide/Chapter01/Introduction.html |
|---|
| 86 | |
|---|
| 87 | patchfiles-append patch-source__XMPFiles__FileHandlers__Makefile.am \ |
|---|
| 88 | patch-source__XMPFiles__FormatSupport__Makefile.am \ |
|---|
| 89 | patch-source__XMPFiles__FormatSupport__Reconcile_Impl.cpp |
|---|
| 90 | |
|---|
| 91 | use_autoreconf yes |
|---|
| 92 | autoreconf.args --force -I m4 |
|---|
| 93 | use_automake yes |
|---|
| 94 | automake.args --add-missing --copy --foreign |
|---|
| 95 | use_autoconf yes |
|---|
| 96 | |
|---|
| 97 | configure.cppflags "-DXMP_64 -I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers" |
|---|
| 98 | } |
|---|
| 99 | |
|---|
| 100 | configure.args --enable-unittest=no |
|---|
| 101 | |
|---|
| 102 | variant unit_test description {Enable unit test} { |
|---|
| 103 | depends_lib-append port:boost |
|---|
| 104 | configure.args-delete --enable-unittest=no |
|---|
| 105 | configure.args-append --enable-unittest=yes |
|---|
| 106 | } |
|---|
| 107 | |
|---|
| 108 | livecheck.type regex |
|---|
| 109 | livecheck.url ${homepage} |
|---|
| 110 | livecheck.regex {version\ (\d+(?:\.\d+)*)} |
|---|
| 111 | \ No newline at end of file |
|---|