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

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

Undo r38082 because the affected ports are in the xcode, gnustep, python24 and python25 portgroups where the default for use_configure is no. Thanks to Bryan Blackburn for pointing this out.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[20382]1# $Id: Portfile 38289 2008-07-15 04:06:14Z ryandesign@macports.org $
[6965]2
3PortSystem 1.0
[10097]4PortGroup python24 1.0
[6965]5
[10097]6name                    py-mad
7version                 0.5.1
[10365]8revision                2
[10097]9categories              python audio
10platforms               darwin
[30249]11maintainers             nomaintainer
[10097]12description             python interface to the MPEG Audio Decoder library
[6965]13long_description        pymad is a Python module that allows Python programs \
[10097]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.
[6965]18
[10097]19homepage                http://spacepants.org/src/pymad/
[6965]20master_sites    ${homepage}/download/
[10097]21distname                pymad-${version}
22checksums               md5 9b9a6c77d1b7a7706e77fd2e7e964c01
[6965]23
24depends_lib-append      lib:libmad:libmad \
[11935]25                                port:py-ao
[6965]26
27patch   {
28        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py
29}
30
[38289]31use_configure   yes
[6965]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}
[30958]37        file rename ${destroot}${prefix}/lib/python2.4/site-packages/madmodule.so ${destroot}${prefix}/lib/python2.4/site-packages/mad.so
[6965]38}
Note: See TracBrowser for help on using the repository browser.