Ticket #40263: Portfile-goffice.3.diff

File Portfile-goffice.3.diff, 1.5 KB (added by c.herbig@…, 11 years ago)
  • Portfile

    old new  
    22# $Id: Portfile 109234 2013-08-10 22:21:52Z cal@macports.org $
    33
    44PortSystem              1.0
     5PortGroup               active_variants 1.1
    56
    67name                    goffice
    78epoch                   1
    8 version                 0.10.4
    9 revision                1
     9version                 0.10.6
    1010
    1111set branch              [join [lrange [split ${version} .] 0 1] .]
    1212description             GOffice is a library of document-centric objects and utilities.
     
    2222master_sites            gnome:sources/${name}/${branch}/
    2323use_xz                  yes
    2424
    25 checksums               rmd160  c81ab86f437f7c959e8d94583884c2cd579cc799 \
    26                         sha256  30cb91693abff241e1b14b741ac23bc588f428b4524b12e3fecd1ea3f0bc67ba
     25checksums               rmd160  8992dee40632cbe814265f7b54a13682d830864b \
     26                        sha256  a72e65018c0670ed2c52d00361ea874625575cdde7cf091e89914cfd8128cf07
    2727
    2828depends_build           port:intltool \
    2929                        port:pkgconfig
     
    3535
    3636configure.args-append   --enable-introspection
    3737
     38variant quartz description {Build with gtk-osx-application} {
     39    depends_lib-append  port:gtk-osx-application
     40   
     41    patchfiles-append   patch_quartz-goffice-goffice.c.diff
     42}
     43
     44if {[variant_isset quartz]} {
     45    require_active_variants gtk3 quartz
     46    require_active_variants gtk-osx-application gtk3
     47}
     48
    3849livecheck.type          gnome
    3950
    4051