source: trunk/dports/python/py-vorbis/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: 971 bytes
Line 
1# $Id: Portfile 38289 2008-07-15 04:06:14Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-vorbis
7version                 1.4
8revision                1
9categories              python audio
10platforms               darwin
11maintainers             nomaintainer
12description             Python module for Ogg Vorbis audio encoding and decoding
13long_description        ${description}
14
15homepage                http://ekyo.nerim.net/software/pyogg/
16master_sites    ${homepage}
17distname                pyvorbis-${version}
18checksums               md5 b4921e792c0a74f75b9d3057df10ee7c
19patchfiles              patch-pyvorbiscodec.c.diff \
20                                patch-pyvorbisfile.c.diff \
21                                patch-pyvorbisinfo.c.diff \
22                                patch-vorbismodule.c.diff \
23                                patch-vorbismodule.h.diff \
24                                patch-config_unix.py
25
26depends_lib-append      lib:libvorbis:libvorbis \
27                                port:py-ogg
28
29use_configure   yes
30pre-configure   {
31        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config_unix.py
32}
33configure.cmd   ${python.bin} config_unix.py
34configure.pre_args
35
36post-destroot   {
37        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
38                NEWS ${destroot}${prefix}/share/doc/${name}
39}
Note: See TracBrowser for help on using the repository browser.