# -*- 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 nomaintainer 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.6 license {GPL-2 GPL-3} checksums rmd160 8992dee40632cbe814265f7b54a13682d830864b \ sha256 a72e65018c0670ed2c52d00361ea874625575cdde7cf091e89914cfd8128cf07 depends_lib port:gtk3 \ port:libgsf \ port:librsvg \ path:lib/pkgconfig/glib-2.0.pc:glib2 configure.args-append --enable-introspection variant quartz description {Build with gtk-osx-application} { depends_lib-append port:gtk-osx-application patchfiles-append patch_quartz-goffice-goffice.c.diff } if {[variant_isset quartz]} { require_active_variants gtk3 quartz require_active_variants gtk-osx-application gtk3 } 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: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}/