Ticket #43241: Portfile_gnumeric.success

File Portfile_gnumeric.success, 3.4 KB (added by jwhowse4, 10 years ago)

Portfile which succeeded

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           active_variants 1.0
6
7name                gnumeric
8version             1.12.8
9revision            1
10set branch          [join [lrange [split ${version} .] 0 1] .]
11
12license             GPL-2+
13maintainers         me.com:c.herbig openmaintainer
14categories          gnome math science
15platforms           darwin
16
17description         A powerful Gtk3 based spreadsheet with Excel, ODF, R and Python support.
18long_description    A powerful Gtk3 based spreadsheet that features full Excel function \
19                    and file compatibility and additional functions not found in Excel, \
20                    and statistics operations based on R. Functionality can be extended \
21                    with Python and plugins. Other file compatibility includes OASIS ODF, \
22                    Quattro Pro, Psion 5, Paradox DB, and more (see homepage). GDA \
23                    database support is available with the +database variant.
24
25homepage            https://wiki.gnome.org/Apps/Gnumeric
26master_sites        gnome:sources/${name}/${branch}/
27use_xz              yes
28
29checksums           sha256  02688fb6c32c28db2eb4e9a8e012cf1386f4f3a18b4c94f5ecdd13342521ec76 \
30                    rmd160  7d803eafc37fb5fd7cc4ba802f53440228c0843c
31
32depends_build       port:gnome-doc-utils \
33                    port:intltool \
34                    port:pkgconfig
35
36# update-desktop-database is provided by desktop-file-utils
37
38depends_lib         port:desktop-file-utils \
39                    port:gobject-introspection \
40                    port:goffice \
41                    port:psiconv \
42                    port:pxlib
43
44configure.args      --disable-schemas-compile \
45                    --enable-introspection \
46                    --without-gda
47
48
49variant database description {builds with support for GDA database} {
50    depends_lib-append        port:libgda5
51    configure.args-replace    --without-gda --with-gda
52}
53
54variant python26 conflicts python27 description {Use python 2.6} {
55    configure.python          ${prefix}/bin/python2.6
56    depends_lib-append        port:py26-gobject3
57    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
58    configure.pkg_config_path ${python_framework}/lib/pkgconfig
59}
60
61variant python27 conflicts python26 description {Use python 2.7} {
62    configure.python          ${prefix}/bin/python2.7
63    depends_lib-append        port:py27-gobject3
64    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
65    configure.pkg_config_path ${python_framework}/lib/pkgconfig
66}
67
68if {![variant_isset python26]} {
69    default_variants +python27
70}
71
72post-activate {
73    catch {system "${prefix}/bin/scrollkeeper-update"}
74    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
75# gtk3 provides gtk-update-icon-cache-3.0
76    catch {system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"}
77    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
78}
79
80livecheck.type  gnome
81
82# yelp is currently not available in a +quartz environment due to dependency issues,
83# see #39898 #40282 #40116
84notes \
85"Recommended supplementary ports:
86    gnome-themes-standard  provides the default Gnome Adwaita theme
87    yelp                   provides a help browser for Gnome apps"