Source
xxxxxxxxxx
# -*- 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
PortSystem 1.0
PortGroup active_variants 1.1
PortGroup gobject_introspection 1.0
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 {devans @dbevans} openmaintainer
categories gnome devel
platforms darwin
homepage http://www.gnumeric.org/
use_xz yes
if {${name} eq ${subport}} {
epoch 1
version 0.10.45
revision 1
license {GPL-2 GPL-3}
checksums rmd160 798bda4963ea01b17bb76c4376dbcebdc65e8c8a \
sha256 702ba567e9ec0bbdd9b1a8161cd24648b4868d57a6cb89128f13c125f6f31947 \
size 2397704
depends_build port:pkgconfig \
port:intltool \
port:gtk-doc \
port:autoconf \
port:automake \
port:libtool
depends_lib port:gtk3 \
port:libgsf \
port:librsvg \
port:libspectre \
port:libxslt \
port:ghostscript \
path:lib/pkgconfig/glib-2.0.pc:glib2
gobject_introspection yes
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
post-patch {
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}
configure.cmd ./autogen.sh
patchfiles-append patch-configure.ac.diff \
patch_quartz-goffice-goffice.c.diff
configure.args-append \
--disable-silent-rules
variant quartz {}
if {[variant_isset quartz]} {
require_active_variants gtk3 quartz x11
depends_lib-append port:gtk-osx-application-gtk3
} else {
require_active_variants gtk3 x11 quartz
}
livecheck.type gnome
} else {
livecheck.type none
}
# Snapshot of goffice @0.8.17
# Still used by nip2 (needed until it moves to gtk3):
# see https://trac.macports.org/ticket/58494#comment:1
subport goffice08 {
epoch 1
version 0.8.17
revision 4
checksums sha256 165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15 \
rmd160 91d1df371c8164c8c5c9860c7c9c87b9fb69f6c3
license GPL-2
depends_build port:pkgconfig \
port:intltool \