Ticket #20607: Portfile.4

File Portfile.4, 2.1 KB (added by neric27@…, 14 years ago)

python26 variant : gnome-python26-extras (install in $prefix)

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                gpodder
7version             2.0
8categories          gnome audio
9license             GPLv3
10maintainers         neric27@wanadoo.fr openmaintainer
11platforms           darwin
12description         A media aggregator and podcast client
13
14long_description    gPodder is a standalone podcast manager. \
15                    It provides anything to manage feeds and podcasts \
16                    but requires an external player to actually listen/view \
17                    the content, e.g. Apple Quick Time Player.
18
19homepage            http://gpodder.org
20master_sites        http://download.berlios.de/gpodder/
21
22checksums           md5     288641768cdef679ed2e7976562b200e \
23                    sha1    47841ff1832dd222b7c63f765660b3d9716cbe95 \
24                    rmd160  f637599125f6b2de9d803187039d920fea49876b
25
26depends_build       port:help2man\
27                    port:intltool
28
29depends_lib         port:vorbis-tools\
30                    port:lame
31
32variant python25 conflicts python26 description {Use Python 2.5} {
33    depends_lib-append  port:py25-feedparser\
34                        port:py25-pil\
35                        port:dbus-python25\
36                        port:gnome-python-extras
37    patch {
38        reinplace s|python|${prefix}/bin/python2.5|g ${worksrcpath}/Makefile
39    }
40}
41
42variant python26 conflicts python25 description {Use Python 2.6} {
43    depends_lib-append  port:py26-feedparser\
44                        port:py26-pil\
45                        port:dbus-python26\
46                        port:gnome-python26-extras
47    patch {
48        reinplace s|python|${prefix}/bin/python2.6|g ${worksrcpath}/Makefile
49    }
50}
51
52if {![variant_isset python25] && ![variant_isset python26]} {
53    default_variants +python26
54}
55
56use_configure       no
57
58build {}
59
60destroot.args PREFIX=${prefix}
61
62livecheck.type      regex
63livecheck.url       ${master_sites}
64livecheck.regex     "gpodder-(\\d+(?:\\.\\d+)*)${extract.suffix}"