Changeset 12535 for trunk/dports/audio


Ignore:
Timestamp:
Jun 4, 2005, 4:18:55 PM (15 years ago)
Author:
toby
Message:

Make player optional.
Add flac and speex variants.
Fix destrooting.
Bug: 3265
Submitted by: namely_void
Reviewed by: toby@

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/vorbis-tools/Portfile

    r6590 r12535  
    1 # $Id: Portfile,v 1.12 2004/04/21 05:44:42 toby Exp $
     1# $Id: Portfile,v 1.13 2005/06/04 16:18:55 toby Exp $
    22
    33PortSystem 1.0
    44name             vorbis-tools
    55version          1.0.1
    6 revision         1
     6revision         2
    77categories       audio
    88maintainers      toby@opendarwin.org
     
    2121checksums        md5 80d3ae3bbae2a488d433d86b8fd64777
    2222depends_lib      lib:libogg.0:libogg lib:libvorbis.0:libvorbis \
    23                  lib:libao.2:libao lib:libcurl.2:curl
     23                 lib:libcurl.2:curl
    2424configure.env    LDFLAGS="-L${prefix}/lib" \
    2525                 CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
    26 configure.args   --mandir=${prefix}/share/man
     26configure.args   --mandir=${prefix}/share/man \
     27                 --without-ao \
     28                 --disable-ogg123 \
     29                 --without-flac \
     30                 --without-speex
     31
     32variant player {
     33        depends_lib-append    lib:libao.2:libao
     34        configure.args-delete --without-ao --disable-ogg123
     35        configure.args-append --with-ao --enable-ogg123
     36}
     37
     38variant flac {
     39        depends_lib-append    lib:libFLAC.7:flac
     40        configure.args-delete --without-flac
     41        configure.args-append --with-flac
     42}
     43
     44variant speex {
     45        depends_lib-append    lib:libspeex.1:speex
     46        configure.args-delete --without-speex
     47        configure.args-append --with-speex
     48}
     49
     50post-destroot {
     51        file delete -force ${destroot}${prefix}/share/locale/locale.alias
     52        file delete -force ${destroot}${prefix}/lib/charset.alias
     53}
Note: See TracChangeset for help on using the changeset viewer.