Ticket #40830: AtomicParsley.diff
File AtomicParsley.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
6 6 categories multimedia 7 7 platforms darwin 8 8 maintainers gmail.com:cedric.luthi 9 license GPL-2+ 10 9 11 description MPEG-4 command line tool 10 12 long_description AtomicParsley is a lightweight command line program \ 11 13 for reading, parsing and setting metadata into MPEG-4 files. 12 14 13 15 homepage http://atomicparsley.sourceforge.net 14 master_sites sourceforge: atomicparsley16 master_sites sourceforge:project/atomicparsley/atomicparsley/AtomicParsley%20v${version} 15 17 distname ${name}-source-${version} 16 18 use_zip yes 17 19 checksums md5 681e6ecec2921c98e07a9262bdcd6cf2 \ … … 23 25 use_configure no 24 26 build.cmd ./build 25 27 26 pre-build { 28 variant universal {} 29 30 post-patch { 31 reinplace "s|g++ |${configure.cxx} [get_canonical_archflags cxx] |g" ${worksrcpath}/build 32 reinplace "s|-O2 |${configure.optflags} |g" ${worksrcpath}/build 27 33 # fix usage of private type, b0rked in Leopard 28 34 # -eridius 29 reinplace -locale C"s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm35 reinplace -locale en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm 30 36 } 31 37 32 38 destroot { 33 xinstall -m 755 -d ${destroot}${prefix}/bin34 39 xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin 35 40 } 36 41