Modified: trunk/dports/multimedia/AtomicParsley/Portfile (134557 => 134558)
--- 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
}