1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 148889 2016-05-21 19:07:19Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name girl |
---|
7 | version 9.5.1 |
---|
8 | set branch [join [lrange [split $version .] 0 1] .] |
---|
9 | categories gnome |
---|
10 | platforms darwin |
---|
11 | license GPL-2+ |
---|
12 | maintainers gnome.org:ole \ |
---|
13 | openmaintainer |
---|
14 | description GNOME Internet Radio Locator |
---|
15 | long_description Locate Internet Radio Stations |
---|
16 | homepage http://people.gnome.org/~ole/girl/ |
---|
17 | master_sites gnome:sources/${name}/${branch}/ |
---|
18 | |
---|
19 | checksums rmd160 162ba8e78d7e2ca74dcba571e028e2827b3662a9 \ |
---|
20 | sha256 740bfb08e588cbd61dec694dc4a119f3e3ed2aa9f69c6a9a6d024e56d6ba1686 |
---|
21 | |
---|
22 | use_xz yes |
---|
23 | |
---|
24 | depends_build port:pkgconfig \ |
---|
25 | port:intltool \ |
---|
26 | port:gtk-doc \ |
---|
27 | port:gnome-common \ |
---|
28 | port:autoconf \ |
---|
29 | port:automake \ |
---|
30 | port:yelp-tools \ |
---|
31 | port:itstool |
---|
32 | |
---|
33 | depends_lib port:desktop-file-utils \ |
---|
34 | port:gtk2 \ |
---|
35 | path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
36 | port:libgnome \ |
---|
37 | port:libgnomeui \ |
---|
38 | port:libxml2 \ |
---|
39 | port:gnome-vfs \ |
---|
40 | port:totem \ |
---|
41 | port:zlib |
---|
42 | |
---|
43 | patchfiles patch-src-girl-station.c.diff |
---|
44 | |
---|
45 | # reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility |
---|
46 | |
---|
47 | post-patch { |
---|
48 | xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} |
---|
49 | } |
---|
50 | |
---|
51 | configure.cmd ./autogen.sh |
---|
52 | |
---|
53 | configure.args --disable-silent-rules |
---|
54 | |
---|
55 | variant debug description {Build with debug symbols and enable debug messages} { |
---|
56 | patchfiles-append patch-enable-debug.diff |
---|
57 | configure.optflags -O0 -g |
---|
58 | } |
---|
59 | |
---|
60 | variant record description {Enable recording using external streamripper (broken)} { |
---|
61 | depends_lib-append port:streamripper |
---|
62 | configure.args-append --with-recording |
---|
63 | } |
---|
64 | |
---|
65 | post-activate { |
---|
66 | system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" |
---|
67 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
68 | } |
---|
69 | |
---|
70 | livecheck.type gnome |
---|