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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gpodder |
---|
7 | version 2.0 |
---|
8 | categories gnome audio |
---|
9 | license GPLv3 |
---|
10 | maintainers neric27@wanadoo.fr openmaintainer |
---|
11 | platforms darwin |
---|
12 | description A media aggregator and podcast client |
---|
13 | |
---|
14 | long_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 | |
---|
19 | homepage http://gpodder.org |
---|
20 | master_sites http://download.berlios.de/gpodder/ |
---|
21 | |
---|
22 | checksums md5 288641768cdef679ed2e7976562b200e \ |
---|
23 | sha1 47841ff1832dd222b7c63f765660b3d9716cbe95 \ |
---|
24 | rmd160 f637599125f6b2de9d803187039d920fea49876b |
---|
25 | |
---|
26 | depends_build port:help2man\ |
---|
27 | port:intltool |
---|
28 | |
---|
29 | depends_lib port:gnome-python-extras\ |
---|
30 | port:vorbis-tools\ |
---|
31 | port:lame |
---|
32 | |
---|
33 | variant 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 | |
---|
42 | variant 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 | |
---|
51 | if {![variant_isset python25] && ![variant_isset python26]} { |
---|
52 | default_variants +python26 |
---|
53 | } |
---|
54 | |
---|
55 | use_configure no |
---|
56 | |
---|
57 | build {} |
---|
58 | |
---|
59 | destroot.args PREFIX=${prefix} |
---|
60 | |
---|
61 | # compile the translation files |
---|
62 | #pre-build { |
---|
63 | #system "cd ${worksrcpath} && make messages" |
---|
64 | #} |
---|
65 | |
---|
66 | livecheck.type regex |
---|
67 | livecheck.url ${master_sites} |
---|
68 | livecheck.regex "gpodder-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|