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
RevLine 
[140188]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
[20220]2# $Id: Portfile 140188 2015-09-11 10:13:14Z devans@macports.org $
[2122]3
[140188]4PortSystem          1.0
[34905]5
[140188]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/
[1528]19
[129902]20checksums           sha1    6b1d2c6a2e388e3bb6ebea158d51afef18aacc56 \
21                    rmd160  00921bf311f8d7a2be1f860221811924402beebd
[78431]22
[10550]23post-patch {
[140188]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 \
[10550]29}
[10548]30
[140188]31configure.args      --disable-arts \
32                    --disable-esd \
33                    --disable-oss \
34                    --disable-X
[4839]35
[26898]36platform darwin {
[46663]37    post-destroot {
38        system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
39    }
[10548]40}
41
[46663]42variant esd description {Enable Enlightened Sound Daemon support} {
43    depends_lib-append    port:esound
[4839]44    configure.args-delete --disable-esd
45    configure.args-append --enable-esd
[1473]46}
[30488]47
[140188]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.