[134558] trunk/dports/multimedia/AtomicParsley/Portfile
Revision: 134558 https://trac.macports.org/changeset/134558 Author: ryandesign@macports.org Date: 2015-03-29 23:04:24 -0700 (Sun, 29 Mar 2015) Log Message: ----------- AtomicParsley: license GPL-2+; rewrite master_sites to avoid redirects; use -arch flags; add a universal variant; use the right compiler (#35682); patch in the patch phase not the build phase; use the correct locale in the reinplace; remove unnecessary directory creation in destroot (#40830) Modified Paths: -------------- trunk/dports/multimedia/AtomicParsley/Portfile Modified: trunk/dports/multimedia/AtomicParsley/Portfile =================================================================== --- trunk/dports/multimedia/AtomicParsley/Portfile 2015-03-30 06:01:40 UTC (rev 134557) +++ trunk/dports/multimedia/AtomicParsley/Portfile 2015-03-30 06:04:24 UTC (rev 134558) @@ -6,12 +6,14 @@ categories multimedia platforms darwin maintainers nomaintainer +license GPL-2+ + description MPEG-4 command line tool long_description AtomicParsley is a lightweight command line program \ for reading, parsing and setting metadata into MPEG-4 files. homepage http://atomicparsley.sourceforge.net -master_sites sourceforge:atomicparsley +master_sites sourceforge:project/atomicparsley/atomicparsley/AtomicParsley%20v${version} distname ${name}-source-${version} use_zip yes checksums md5 681e6ecec2921c98e07a9262bdcd6cf2 \ @@ -23,14 +25,17 @@ use_configure no build.cmd ./build -pre-build { +variant universal {} + +post-patch { + reinplace "s|g++ |${configure.cxx} [get_canonical_archflags cxx] |g" ${worksrcpath}/build + reinplace "s|-O2 |${configure.optflags} |g" ${worksrcpath}/build # fix usage of private type, b0rked in Leopard # -eridius - reinplace -locale C "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm + reinplace -locale en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm } destroot { - xinstall -m 755 -d ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin }
participants (1)
-
ryandesign@macports.org