# -*- 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: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem              1.0

name                    goffice08
set gname               goffice
version                 0.7.15
set branch              [join [lrange [split ${version} .] 0 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://freshmeat.net/projects/goffice/
master_sites            gnome:sources/${gname}/${branch}/
distname        	${gname}-${version}
checksums               md5     7d12244250d998e18cd75eac23e8188e

depends_lib             port:libart_lgpl \
                        port:bzip2 \
                        port:expat \
                        port:gtk2 \
                        port:libglade2 \
                        port:libgsf \
                        port:libxml2

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

configure.args          --without-gnome

use_parallel_build      yes

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

