source: trunk/dports/python/py-mad/Portfile @ 11935

Last change on this file since 11935 was 11935, checked in by jberry, 15 years ago

Migrate lib:XXX:portname dependency syntax to new port:portname syntax.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2005/04/21 15:58:12 jberry Exp $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-mad
7version                 0.5.1
8revision                2
9categories              python audio
10platforms               darwin
11maintainers             mww@opendarwin.org
12description             python interface to the MPEG Audio Decoder library
13long_description        pymad is a Python module that allows Python programs \
14                                to use the MPEG Audio Decoder library. pymad provides \
15                                a high-level API, similar to the pyogg module, which \
16                                makes reading PCM data from MPEG audio streams a piece \
17                                of cake.
18
19homepage                http://spacepants.org/src/pymad/
20master_sites    ${homepage}/download/
21distname                pymad-${version}
22checksums               md5 9b9a6c77d1b7a7706e77fd2e7e964c01
23
24depends_lib-append      lib:libmad:libmad \
25                                port:py-ao
26
27patch   {
28        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py
29}
30
31use_configure   yes
32configure.cmd   ${python.bin} config_unix.py
33
34post-destroot   {
35        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS \
36                ${destroot}${prefix}/share/doc/${name}
37        cd ${destroot}${prefix}/lib/python2.4/site-packages/
38        file rename madmodule.so mad.so
39}
Note: See TracBrowser for help on using the repository browser.