source: trunk/dports/news/pan2/Portfile

Last change on this file was 148228, checked in by mps@…, 15 months ago

gnutls: update to version 3.4.11, bump to the current stable branch 3.4.x (#51147), rebuild dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
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 148228 2016-04-30 17:55:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pan2
7version             0.140
8revision            1
9categories          news
10license             GPL-2
11platforms           darwin
12maintainers         nomaintainer
13
14description         News reader for GTK+ version 2 or 3.
15
16long_description    Pan2 is a newsreader for GTK+ that is based on \
17                    the Agent newsreader for Windows OSes. The default \
18                    build supports supports GTK+ 2 but it can optionally build \
19                    with GTK+ 3 if desired.
20
21homepage            http://pan.rebelbase.com/
22master_sites        http://pan.rebelbase.com/download/releases/${version}/source/
23
24distname            pan-${version}
25use_bzip2           yes
26
27checksums           rmd160  92422d16c37a566b42520999980b3eac62b9287c \
28                    sha256  ba1c65ee75b9eca1f15f6249ea762492309731446edc8b09085b63ad34351c71
29
30depends_build       port:pkgconfig \
31                    port:intltool \
32                    port:gnome-common \
33                    port:autoconf \
34                    port:automake \
35                    port:libtool
36
37depends_lib         port:desktop-file-utils \
38                    port:pcre \
39                    port:gmime \
40                    port:gnutls \
41                    port:gtk2 \
42                    port:gtkspell2 \
43                    port:libiconv
44
45depends_run         port:gnome-themes-standard
46
47# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
48
49post-patch {
50    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
51}
52
53configure.cmd       ./autogen.sh
54
55configure.args      --with-gnutls \
56                    --disable-silent-rules
57
58configure.ldflags-append \
59                    -liconv
60
61variant gtk3 description {Build using gtk3} {
62    depends_lib-replace port:gtk2 port:gtk3
63    depends_lib-replace port:gtkspell2 port:gtkspell3
64    configure.args-append --with-gtk3
65}
66
67post-activate {
68    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
69}
70
71livecheck.type      regex
72livecheck.url       http://pan.rebelbase.com/download/releases/
73livecheck.regex     {>([0-9.]+)/<}
Note: See TracBrowser for help on using the repository browser.