# -*- 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 64763 2010-03-15 16:31:33Z nox@macports.org $

PortSystem              1.0

name                    goffice
version                 0.6.6
revision                2
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     92e51878b9cd9c2fa954953d708f2c47 \
                        sha1    ac3b768198ee13264ddd26bc7b039d9788c14ad7 \
                        rmd160  672bce0f1485f373417ec84a580a1d8551ea86d2

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+)*)}
