# -*- 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                    goffice
version                 0.8.0
revision                1
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/${name}/${branch}/
use_bzip2               yes
checksums               md5     afb3fcb152fb37ed433f30d1ed1e86e3 \
                        sha1    8a5540f91cb1619ee1d96ee65856e81624743acd \
                        rmd160  6c43a56259026011bf343962ce3174726106ee7f

depends_lib             port:libart_lgpl \
                        port:bzip2 \
                        port:expat \
                        port:gtk2 \
                        port:jpeg \
                        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+)*)}

