# $Id: Portfile 121269 2014-06-21 20:18:42Z jeremyhu@macports.org $ PortSystem 1.0 name faac version 1.28 revision 3 categories audio license Restrictive maintainers nomaintainer description ISO AAC audio encoder long_description FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 \ LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW \ MPEG-2 object types. It also supports multichannel and \ gapless encoding. homepage http://www.audiocoding.com/ platforms darwin master_sites sourceforge:project/faac/faac-src/faac-${version} checksums md5 80763728d392c7d789cde25614c878f6 \ sha1 d00b023a3642f81bb1fb13d962a65079121396ee \ rmd160 03902393488f04223aabdc804bfe77bb32a61c94 patchfiles patch-configure.in.diff post-patch { if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} { reinplace "s:-lstdc\+\+:-lc++:" \ ${worksrcpath}/frontend/Makefile.am \ ${worksrcpath}/frontend/Makefile.in } } configure.cflags-append "-D__unix__" use_autoreconf yes autoreconf.args -fvi livecheck.url http://sourceforge.net/projects/${name}/files/${name}-src/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"