# -*- 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 PortGroup active_variants 1.1 name goffice 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 me.com:c.herbig openmaintainer categories gnome devel platforms darwin homepage http://freecode.com/projects/goffice use_xz yes depends_build port:intltool \ port:pkgconfig if {${name} eq ${subport}} { epoch 1 version 0.10.8 revision 1 license {GPL-2 GPL-3} checksums rmd160 c21635c4f648deb34d5e78b92cbf31b5c2441e09 \ sha256 11964b907b03dede6d8d8a1a4ae2d5727ffbe8d7bab5c92dec586acb616e807c depends_lib port:gtk3 \ port:libgsf \ port:librsvg \ port:libspectre \ port:ghostscript \ port:gobject-introspection \ path:lib/pkgconfig/glib-2.0.pc:glib2 configure.args-append --enable-introspection patchfiles-append patch_quartz-goffice-goffice.c.diff livecheck.type gnome } else { livecheck.type none } # Snapshot of goffice @0.8.17 for gnucash. # Can be removed once gnucash no longer needs this version. subport goffice08 { epoch 1 version 0.8.17 revision 1 checksums sha256 165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15 \ rmd160 91d1df371c8164c8c5c9860c7c9c87b9fb69f6c3 license GPL-2 depends_lib port:gtk2 \ port:gconf \ port:libgsf \ port:libxml2 \ port:pcre patchfiles-append patch-goffice-utils-regutf8.c.diff pre-activate { if {![catch {set installed [lindex [registry_active goffice] 0]}]} { set _version [lindex $installed 1] if {[vercmp $_version 0.10] < 0} { registry_deactivate_composite goffice "" [list ports_nodepcheck 1] } } } } set branch [join [lrange [split ${version} .] 0 1] .] master_sites gnome:sources/${name}/${branch}/