Ticket #1267: Portfile.2

File Portfile.2, 850 bytes (added by fkr@…, 17 years ago)

updated Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4name            faac
5version         1.23.1
6categories      audio
7maintainers     pguyot@kallisys.net
8description     ISO AAC audio encoder
9long_description        FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 \
10                        LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW \
11                        MPEG-2 object types. It also supports multichannel and \
12                        gapless encoding.
13
14homepage        http://www.audiocoding.com/
15platforms       darwin
16master_sites    sourceforge
17checksums       md5 75aa397a9b123a2bf6f0ce9f78db8b3d
18worksrcdir      ${name}
19patchfiles      patch-libfaac-util.h
20use_automake    yes
21automake.args   --add-missing
22use_autoconf    yes
23configure.env   CFLAGS="-D__unix__"
24
25pre-configure {
26        system "cd ${worksrcpath} && aclocal -I . && autoheader && glibtoolize --automake"
27        reinplace "s|-flat_namespace -undefined suppress|-undefined error|g" \
28                                "${worksrcpath}/aclocal.m4" }