# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		gal
version		2.5.3
revision        1
set branch	[join [lrange [split ${version} .] 0 1] .]
description	GNOME Application Libs (GAL).
long_description	The GNOME Application Libs (GAL) module contains \
			some library functions that came from Gnumeric \
			and Evolution.  The idea is to reuse the code \
			across various larger GNOME applications that \
			might want to use it. This module is outdated \
                        and no longer used in the GNOME project.
maintainers	nomaintainer
categories	gnome
platforms	darwin
homepage	http://www.gnome.org
master_sites   	gnome:sources/${name}/${branch}/

checksums	md5     8fae770488887f9d0f95bcdbffc673cc \
		sha1    7c590925bfc9f2650464d658c2d970291b034449 \
		rmd160  caa7322c430059832829107027faa6fe7cee6e94

depends_lib	lib:libgnomeprintui:libgnomeprintui \
	port:dbus \
	port:dbus-glib

use_bzip2 	yes

patchfiles	patch-gal-widgets-e-unicode.h.diff

configure.args	--mandir=${prefix}/share/man

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