Ticket #43241: Portfile_gnumeric.failure

File Portfile_gnumeric.failure, 3.6 KB (added by jwhowse4, 10 years ago)

Portfile which failed

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: Portfile 118365 2014-03-31 22:50:30Z devans@macports.org $
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
44# autoreconf to reconfigure using our intltool.m4
45
46use_autoreconf      yes
47autoreconf.args     -fvi
48
49configure.args      --disable-schemas-compile \
50                    --enable-introspection \
51                    --without-gda
52
53
54variant database description {builds with support for GDA database} {
55    depends_lib-append        port:libgda5
56    configure.args-replace    --without-gda --with-gda
57}
58
59variant python26 conflicts python27 description {Use python 2.6} {
60    configure.python          ${prefix}/bin/python2.6
61    depends_lib-append        port:py26-gobject3
62    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
63    configure.pkg_config_path ${python_framework}/lib/pkgconfig
64}
65
66variant python27 conflicts python26 description {Use python 2.7} {
67    configure.python          ${prefix}/bin/python2.7
68    depends_lib-append        port:py27-gobject3
69    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
70    configure.pkg_config_path ${python_framework}/lib/pkgconfig
71}
72
73if {![variant_isset python26]} {
74    default_variants +python27
75}
76
77post-activate {
78    catch {system "${prefix}/bin/scrollkeeper-update"}
79    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
80# gtk3 provides gtk-update-icon-cache-3.0
81    catch {system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"}
82    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
83}
84
85livecheck.type  gnome
86
87# yelp is currently not available in a +quartz environment due to dependency issues,
88# see #39898 #40282 #40116
89notes \
90"Recommended supplementary ports:
91    gnome-themes-standard  provides the default Gnome Adwaita theme
92    yelp                   provides a help browser for Gnome apps"