Ticket #20607: Portfile.2

File Portfile.2, 2.2 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

gpodder-2.0, non-python module

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: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
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:gnome-python-extras\
30                    port:vorbis-tools\
31                    port:lame
32
33variant python25 conflicts python26 description {Use Python 2.5} {
34    depends_lib-append  port:py25-feedparser\
35                        port:py25-pil\
36                        port:dbus-python25
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    patch {
47        reinplace s|python|${prefix}/bin/python2.6|g ${worksrcpath}/Makefile
48    }
49}
50
51if {![variant_isset python25] && ![variant_isset python26]} {
52    default_variants +python26
53}
54
55use_configure       no
56
57build {}
58
59destroot.args PREFIX=${prefix}
60
61# compile the translation files
62#pre-build {
63        #system "cd ${worksrcpath} && make messages"
64#}
65
66livecheck.type      regex
67livecheck.url       ${master_sites}
68livecheck.regex     "gpodder-(\\d+(?:\\.\\d+)*)${extract.suffix}"