# -*- 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 75193 2011-01-17 19:35:00Z dports@macports.org $

PortSystem              1.0

name                    goffice
version                 0.8.12
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     c51d7ec08342ea78ba9c47dcbb72d764 \
                        sha1    216c2327b5d0ea5b0587ceb0266baa7f6ae38ed3 \
                        rmd160  205d28e27e1ef3255c9e4c2158e0d073b395dd08

depends_build           port:intltool \
                        port:pkgconfig

depends_lib             port:gconf \
                        port:libgsf \
                        port:libxml2

use_parallel_build      yes

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