source: trunk/dports/python/py-ao/Portfile @ 30958

Last change on this file since 30958 was 30958, checked in by mww@…, 13 years ago

remove to-be-deprecated 'cd' command

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 953 bytes
Line 
1# $Id: Portfile 30958 2007-11-12 10:58:58Z mww@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-ao
7version                 0.81
8revision                2
9categories              python audio
10platforms               darwin
11maintainers             nomaintainer
12description             Python interface to libao, an audio device abstraction library
13long_description        This is a wrapper for libao, an audio device \
14                                abstraction library. libao is available with \
15                                ogg/vorbis.
16
17homepage                http://www.vorbis.com/
18master_sites    ${homepage}/files/1.0.1/unix/py/
19distname                pyao-${version}
20checksums               md5 398069a5c5b2429e18e0461d7129d21a
21
22depends_lib-append      lib:libao:libao
23
24patch   {
25        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py
26}
27
28use_configure   yes
29configure.cmd   ${python.bin} config_unix.py
30
31post-destroot   {
32        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
33                ${destroot}${prefix}/share/doc/${name}
34        file rename ${destroot}${prefix}/lib/python2.4/site-packages/aomodule.so ${destroot}${prefix}/lib/python2.4/site-packages/ao.so
35}
Note: See TracBrowser for help on using the repository browser.