Ticket #40419: Portfile-gnumeric.diff

File Portfile-gnumeric.diff, 1.1 KB (added by c.herbig@…, 11 years ago)
  • Portfile

    old new  
    22# $Id: Portfile 110546 2013-09-01 23:08:29Z macsforever2000@macports.org $
    33
    44PortSystem          1.0
     5PortGroup           active_variants 1.0
    56
    67name                gnumeric
    78version             1.12.7
     9revision            1
    810set branch          [join [lrange [split ${version} .] 0 1] .]
    911
    1012license             GPL-2+
     
    6365    default_variants +python27
    6466}
    6567
    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
     68variant quartz description {build with gtk-osx-application support} {
     69    require_active_variants gtk3 quartz
     70    require_active_variants gtk-osx-application gtk3
     71
     72    depends_lib-append  port:gtk-osx-application
     73   
     74    patchfiles-append   patch_quartz-src-wbc-gtk.c.diff \
     75                        patch_quartz-src-GNOME_Gnumeric-gtk.xml.in.diff
    7076}
    7177
    7278post-activate {