# $Id: Portfile,v 1.1 2003/12/09 10:52:46 fkr Exp $ PortSystem 1.0 name faac version 1.23.1 categories audio maintainers pguyot@kallisys.net 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 checksums md5 75aa397a9b123a2bf6f0ce9f78db8b3d worksrcdir ${name} patchfiles patch-libfaac-util.h use_automake yes automake.args --add-missing use_autoconf yes configure.env CFLAGS="-D__unix__" pre-configure { system "cd ${worksrcpath} && aclocal -I . && autoheader && glibtoolize --automake" reinplace "s|-flat_namespace -undefined suppress|-undefined error|g" \ "${worksrcpath}/aclocal.m4" }