# $Id: Portfile 141916 2015-10-31 01:45:03Z khindenburg@macports.org $ PortSystem 1.0 name AtomicParsley version 0.9.0 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:project/atomicparsley/atomicparsley/AtomicParsley%20v${version} distname ${name}-source-${version} use_zip yes checksums md5 681e6ecec2921c98e07a9262bdcd6cf2 \ sha1 6a73aed6ba569e693fe94a313e7e9e9ce204d038 \ rmd160 53026ab6b251614eb3a649fe611f86d68e06dc8e conflicts AtomicParsley-devel use_configure no build.cmd ./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 en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm } destroot { xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin } livecheck.regex ${name}-source-(\\d+(?:\\.\\d+)+)${extract.suffix}