# $Id: Portfile 92837 2012-05-09 00:51:48Z ryandesign@macports.org $

PortSystem 1.0

name		goffice03
set gname       goffice
version		0.3.8
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
revision	1
description	GOffice is a library of document-centric objects and utilities.
long_description        GOffice is a library of document-centric objects \
			and utilities building on top of GLib and Gtk+ and \
			used by software such as Gnumeric.
maintainers	nomaintainer
categories	gnome devel
platforms	darwin
homepage	http://freecode.com/projects/goffice/
master_sites    gnome:sources/${gname}/${branch}/
distname	${gname}-${version}
use_bzip2	yes
checksums	md5 b0c81ab15f3c537cf6ef5726589fd788

depends_build	port:intltool \
		port:pkgconfig
depends_lib	port:pcre \
		port:libgsf \
		port:libgnomeprintui \
		path:bin/dbus-daemon:dbus \
		port:dbus-glib

patchfiles	patch-gtk_disable_deprecated.in \
			patch-docs_reference_Makefile.in.diff

configure.env   GMSGFMT=${prefix}/bin/msgfmt

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

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