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

Last change on this file since 38082 was 38082, checked in by ryandesign@…, 12 years ago

nomaintainer and openmaintainer ports: remove "use_configure yes" because that is already the default

Undone in r38289.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 38082 2008-07-05 23:14:42Z ryandesign@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             nomaintainer
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
31configure.cmd   ${python.bin} config_unix.py
32
33post-destroot   {
34        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS \
35                ${destroot}${prefix}/share/doc/${name}
36        file rename ${destroot}${prefix}/lib/python2.4/site-packages/madmodule.so ${destroot}${prefix}/lib/python2.4/site-packages/mad.so
37}
Note: See TracBrowser for help on using the repository browser.