Ticket #20555: Portfile

File Portfile, 1.7 KB (added by neric27@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4PortGroup       python25 1.0
5name            py25-quodlibet
6set my_name     quodlibet
7version         2.1
8categories      python audio
9maintainers     wanadoo.fr:neric27 openmaintainer
10platforms       darwin
11description     audio library manager and player for GTK+
12
13long_description \
14Quod Libet is a GTK+-based audio player written in Python, \
15using the Mutagen tagging library and GStreamer for playback.\
16It provides several different ways to view your audio library, \
17as well as support for Internet radio and audio feeds.\
18It has extremely flexible metadata tag editing and searching capabilities.
19
20homepage        http://code.google.com/p/quodlibet/
21master_sites    http://quodlibet.googlecode.com/files/
22distname        ${my_name}-${version}
23
24checksums           md5     abd362699a7118c7720c13fbda0c8c9e \
25                    sha1    15a40c054955d1ad539432a265b2c96225b864c2 \
26                    rmd160  349b9ac2f913e83a2f3216e1f804c9cd8b41766f
27
28depends_lib     port:gst-python \
29                port:py25-mutagen \
30                port:py25-feedparser
31
32patchfiles          patch-setup.py.diff \
33                                        patch-quodlibet_quodlibet___init__.py.diff
34
35post-patch {
36        foreach file { quodlibet.py exfalso.py } {
37                reinplace "s|/usr/bin/env python|${frameworks_dir}/Python.framework/Versions/2.5/bin/python2.5|g" \
38                                  ${worksrcpath}/${file}
39        }
40}
41
42# temporary fix for #20522 : create manually a link in Python 2.5 Framework directory to /opt/local/share.
43# This is necessary for translations to work
44post-destroot {
45        xinstall -d ${destroot}/${frameworks_dir}/Python.framework/Versions/2.5
46        ln -s ${prefix}/share ${destroot}/${frameworks_dir}/Python.framework/Versions/2.5/share
47}