source: trunk/dports/audio/vorbis-tools/Portfile

Last change on this file was 126417, checked in by rmstonecipher@…, 3 years ago

31 ports, relinquish maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 126417 2014-10-09 20:09:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                vorbis-tools
7version             1.4.0
8revision            1
9categories          audio
10platforms           darwin
11maintainers         nomaintainer
12
13description         The Ogg Vorbis CODEC tools
14long_description \
15    Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free, \
16    general-purpose compressed audio format for mid to high quality \
17    (8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and \
18    variable bitrates from 16 to 128 kbps/channel. This places Vorbis in \
19    the same competetive class as audio representations such as MPEG-4 \
20    (AAC), and similar to, but higher performance than MPEG-1/2 audio \
21    layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
22license             GPL-2+ BSD LGPL-2+
23homepage            http://www.vorbis.com/
24master_sites        http://downloads.xiph.org/releases/vorbis/
25
26checksums           md5     567e0fb8d321b2cd7124f8208b8b90e6 \
27                    sha1    fc6a820bdb5ad6fcac074721fab5c3f96eaf6562 \
28                    rmd160  ff21e5c9456ac0a82b8eda4e53931db8522a2ccd
29
30depends_lib \
31                    port:libogg \
32                    port:libvorbis \
33                    port:curl \
34                    port:libao \
35                    port:gettext
36
37configure.args \
38    --mandir=${prefix}/share/man \
39    --with-ao \
40    --enable-ogg123 \
41    --without-flac \
42    --without-speex \
43    --enable-vcut
44
45use_parallel_build  yes
46
47variant flac description "Enable FLAC support" {
48  depends_lib-append    port:flac
49  configure.args-delete --without-flac
50}
51
52variant speex description "Enable Speex support" {
53  depends_lib-append    path:lib/libspeex.dylib:speex
54  configure.args-delete --without-speex
55}
56
57post-patch {
58    reinplace "s|-O4|-O3|g" ${worksrcpath}/configure
59}
60
61post-destroot {
62    file delete -force ${destroot}${prefix}/share/locale/locale.alias
63    file delete -force ${destroot}${prefix}/lib/charset.alias
64}
65
66livecheck.type      regex
67livecheck.url       http://xiph.org/downloads/
68livecheck.regex     {vorbis-tools-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.