# $Id: Portfile 89881 2012-02-14 02:13:33Z takanori@macports.org $

PortSystem 1.0

name		ggv
version		2.12.0
revision        5
set branch  [join [lrange [split ${version} .] 0 1] .]
description	GGV, Gnome GhostView, is a Gnome PostScript document previewer.
long_description        GGV, the Gnome GhostView, is a Gnome PostScript document \
			previewer.  It can also preview PDFs, but as it is not a \
			native PDF viewer, it does not take advantage of all the \
			features of the PDF format. Users are strongly \
			discouraged from using it as their PDF viewer \
			- use GPdf instead!
maintainers	nomaintainer
categories	gnome print
platforms	darwin
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2	yes
checksums	md5 418f0ef3f8b82bb0c423a2a1cf6769f7 \
			sha1 571704d11e9ffce8413ee53936b314de06147c56
depends_build	port:intltool port:pkgconfig
depends_lib	port:ghostscript port:libgnomeprintui port:libgnomeui
configure.cppflags-append "-L${prefix}/lib"

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
