source: trunk/dports/audio/faac/Portfile

Last change on this file was 121269, checked in by jeremyhu@…, 3 years ago

misc: Cleanup configure.cxx_stdlib related logic now that we can assume base 2.3 or newer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 121269 2014-06-21 20:18:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            faac
6version         1.28
7revision        3
8categories      audio
9license         Restrictive
10maintainers     nomaintainer
11description     ISO AAC audio encoder
12long_description        FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 \
13                        LTP, MAIN and LOW COMPLEXITY object types and MAIN and LOW \
14                        MPEG-2 object types. It also supports multichannel and \
15                        gapless encoding.
16
17homepage        http://www.audiocoding.com/
18platforms       darwin
19master_sites    sourceforge:project/faac/faac-src/faac-${version}
20checksums           md5     80763728d392c7d789cde25614c878f6 \
21                    sha1    d00b023a3642f81bb1fb13d962a65079121396ee \
22                    rmd160  03902393488f04223aabdc804bfe77bb32a61c94
23
24patchfiles          patch-configure.in.diff
25
26post-patch {
27     if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
28        reinplace "s:-lstdc\+\+:-lc++:" \
29            ${worksrcpath}/frontend/Makefile.am \
30            ${worksrcpath}/frontend/Makefile.in
31    }
32}
33
34configure.cflags-append "-D__unix__"
35
36use_autoreconf yes
37autoreconf.args -fvi
38
39livecheck.url   http://sourceforge.net/projects/${name}/files/${name}-src/
40livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.