# $Id: Portfile 66057 2010-04-05 13:33:04Z rmsfisher@macports.org $ PortSystem 1.0 PortGroup python24 1.0 name py-ao version 0.81 revision 3 categories python audio platforms darwin maintainers nomaintainer description Python interface to libao, an audio device abstraction library long_description This is a wrapper for libao, an audio device \ abstraction library. libao is available with \ ogg/vorbis. homepage http://www.vorbis.com/ master_sites ${homepage}/files/1.0.1/unix/py/ distname pyao-${version} checksums md5 398069a5c5b2429e18e0461d7129d21a depends_lib-append lib:libao:libao patch { reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py } use_configure yes configure.cmd ${python.bin} config_unix.py post-destroot { xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \ ${destroot}${prefix}/share/doc/${name} file rename ${destroot}${prefix}/lib/python2.4/site-packages/aomodule.so ${destroot}${prefix}/lib/python2.4/site-packages/ao.so }