# -*- 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 # $Id$ PortSystem 1.0 name pan2 version 0.140 revision 1 categories news license GPL-2 platforms darwin maintainers nomaintainer description News reader for GTK+ version 2 or 3. long_description Pan2 is a newsreader for GTK+ that is based on \ the Agent newsreader for Windows OSes. The default \ build supports supports GTK+ 2 but it can optionally build \ with GTK+ 3 if desired. homepage http://pan.rebelbase.com/ master_sites http://pan.rebelbase.com/download/releases/${version}/source/ distname pan-${version} use_bzip2 yes checksums rmd160 92422d16c37a566b42520999980b3eac62b9287c \ sha256 ba1c65ee75b9eca1f15f6249ea762492309731446edc8b09085b63ad34351c71 depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:pcre \ port:gmime \ port:gnutls \ port:gtk2 \ port:gtkspell2 \ port:libiconv depends_run port:gnome-themes-standard # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --with-gnutls \ --disable-silent-rules configure.ldflags-append \ -liconv variant gtk3 description {Build using gtk3} { depends_lib-replace port:gtk2 port:gtk3 depends_lib-replace port:gtkspell2 port:gtkspell3 configure.args-append --with-gtk3 } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type regex livecheck.url http://pan.rebelbase.com/download/releases/ livecheck.regex {>([0-9.]+)/<}