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

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

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
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.