# -*- 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 92837 2012-05-09 00:51:48Z ryandesign@macports.org $

PortSystem              1.0

name                    goffice
epoch                   1
version                 0.8.17
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
license                 GPL-2

homepage                http://freecode.com/projects/goffice
master_sites            gnome:sources/${name}/${branch}/
use_bzip2               yes

checksums               rmd160  35224e53a1431b2ecf81297a081159c7297110bb \
                        sha256  dd8caef5fefffbc53938fa619de9f58e7c4dc71a1803de134065d42138a68c06

depends_build           port:intltool \
                        port:pkgconfig

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

use_parallel_build      yes

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