source: trunk/dports/audio/libao/Portfile @ 140188

Last change on this file since 140188 was 140188, checked in by devans@…, 4 years ago

libao: add mode line and reformat, white space only.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 140188 2015-09-11 10:13:14Z devans@macports.org $
3
4PortSystem          1.0
5
6name                libao
7version             1.2.0
8categories          audio
9maintainers         nomaintainer
10description         A Cross-platform Audio Library
11long_description    libao is a way to easily add cross-platform audio output to your \
12                    program. Output devices are implemented as dynamic plugins, and \
13                    support for OSS, ESD, ALSA, aRTs, Solaris, and Irix outputs are \
14                    currently supported.
15homepage            http://www.xiph.org/ao/
16platforms           darwin
17license             GPL-2+
18master_sites        http://downloads.xiph.org/releases/ao/
19
20checksums           sha1    6b1d2c6a2e388e3bb6ebea158d51afef18aacc56 \
21                    rmd160  00921bf311f8d7a2be1f860221811924402beebd
22
23post-patch {
24    reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
25        ${worksrcpath}/CHANGES \
26        ${worksrcpath}/doc/config.html \
27        ${worksrcpath}/libao.conf.5 \
28        ${worksrcpath}/include/ao/ao_private.h \
29}
30
31configure.args      --disable-arts \
32                    --disable-esd \
33                    --disable-oss \
34                    --disable-X
35
36platform darwin {
37    post-destroot {
38        system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
39    }
40}
41
42variant esd description {Enable Enlightened Sound Daemon support} {
43    depends_lib-append    port:esound
44    configure.args-delete --disable-esd
45    configure.args-append --enable-esd
46}
47
48livecheck.type      regex
49livecheck.url       ${master_sites}?C=M&O=D
50livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.