Ticket #40338: Portfile-gnumeric.diff
File Portfile-gnumeric.diff, 4.4 KB (added by c.herbig@…, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name gnumeric 7 version 1.12. 47 version 1.12.7 8 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 9 10 10 license GPL-2+ 11 maintainers nomaintainer12 categories gnome math 11 maintainers me.com:c.herbig openmaintainer 12 categories gnome math science 13 13 platforms darwin 14 14 15 description A powerful Gtk3 based spreadsheet with Excel, R and Python support. 16 long_description A powerful Gtk3 based spreadsheet that features full Excel function and file \ 17 compatibility, additional functions not found in Excel, statisticts operations \ 18 with support for R, and Python plugins. Has some ODF support. 15 description A powerful Gtk3 based spreadsheet with Excel, ODF, R and Python support. 16 long_description A powerful Gtk3 based spreadsheet that features full Excel function \ 17 and file compatibility and additional functions not found in Excel, \ 18 and statistics operations based on R. Functionality can be extended \ 19 with Python and plugins. Other file compatibility includes OASIS ODF, \ 20 Quattro Pro, Psion 5, Paradox DB, and more (see homepage). GDA \ 21 database support is available with the +database variant. 19 22 20 23 homepage http://projects.gnome.org/gnumeric/ 21 24 master_sites gnome:sources/${name}/${branch}/ 22 25 use_xz yes 23 26 24 checksums sha256 5 62e17d8b56f4587e33f54adff89a65ede6e6e0c57bcd561589453d8edae80bd\25 rmd160 e3540631bdc8827edfa7ecec6a62fd8bcf06399f27 checksums sha256 5de9cca87efb2ea190bcddf57bd83a34e7f9580f5b7c92c6757707d1164748ef \ 28 rmd160 c59ab9c79bf152afe54705a82fdde3c247c49667 26 29 27 30 depends_build port:gnome-doc-utils \ 28 31 port:intltool \ 29 32 port:pkgconfig 30 33 31 depends_lib port:goffice 34 depends_lib port:goffice \ 35 port:psiconv \ 36 port:pxlib 32 37 33 38 configure.args --disable-schemas-compile \ 34 --without-gda \ 35 --without-paradox \ 36 --without-psiconv \ 37 --enable-introspection 39 --enable-introspection \ 40 --without-gda 38 41 39 42 40 variant python25 conflicts python26 python27 description {Use python 2.5 - obsolete} { 41 # marked as obsolete on 7/28/2013. Consider removing variant after sufficient time. 42 43 pre-fetch { 44 ui_error "Gnumeric 1.12.x must have at least python26. Please consider upgrading." 45 return -code error 46 } 43 variant database description {builds with support for GDA database} { 44 depends_lib-append port:libgda5 45 configure.args-replace --without-gda --with-gda 47 46 } 48 47 49 variant python26 conflicts python2 5 python27 description {Use python 2.6} {48 variant python26 conflicts python27 description {Use python 2.6} { 50 49 configure.python ${prefix}/bin/python2.6 51 50 depends_lib-append port:py26-gobject3 52 51 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 53 52 configure.pkg_config_path ${python_framework}/lib/pkgconfig 54 53 } 55 54 56 variant python27 conflicts python2 5 python26 description {Use python 2.7} {55 variant python27 conflicts python26 description {Use python 2.7} { 57 56 configure.python ${prefix}/bin/python2.7 58 57 depends_lib-append port:py27-gobject3 59 58 set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 60 59 configure.pkg_config_path ${python_framework}/lib/pkgconfig 61 60 } 62 61 63 if {![variant_isset python2 5] && ![variant_isset python26]} {62 if {![variant_isset python26]} { 64 63 default_variants +python27 65 64 } 66 65 66 if {[variant_isset python25]} { 67 # variant +python25 was declared obsolete on 7/28/2013 68 ui_error "Gnumeric python needs python 2.6 or 2.7, please consider reinstalling." 69 return -code error 70 } 67 71 68 72 post-activate { 69 73 catch {system "${prefix}/bin/scrollkeeper-update"} … … 74 78 75 79 livecheck.type gnome 76 80 81 # yelp is currently not available in a +quartz environment due to dependency issues, 82 # see #39898 #40282 #40116 77 83 notes \ 78 84 "Recommended supplementary ports: 79 85 gnome-themes-standard provides the default Gnome Adwaita theme