Ticket #27055: patch-glabels-2.2.8.diff

File patch-glabels-2.2.8.diff, 2.1 KB (added by dbevans (David B. Evans), 13 years ago)

Proposed patch for Portfile

  • Portfile

     
    44PortSystem 1.0
    55
    66name                glabels
    7 version             2.2.2
     7version             2.2.8
     8set branch          [join [lrange [split ${version} .] 0 1] .]
    89categories          gnome
    910platforms           darwin
    1011maintainers         gmail.com:craig.cottingham
     
    1314                    for the GNOME desktop environment.
    1415homepage            http://glabels.sourceforge.net/
    1516
    16 master_sites        sourceforge
    17 checksums           md5 ee9f8687904b070715dac59efe7a7dc5 \
    18                     sha1 1792e4b5f6142dc3022dcb455d53fa5b3a31b319 \
    19                     rmd160 65aee5f9837b104c123a6559ea9d3db63841c4e1
     17master_sites        gnome:sources/${name}/${branch}/
     18use_bzip2           yes
    2019
     20checksums           md5     8e0ac4b19de68d55e33aef6a5544f0e5 \
     21                    sha1    65884fde0744fe6b8aaf5bb39deee427d292dce3 \
     22                    rmd160  072aac5328efd548c5a0a994523eba9753158d3d
     23
     24depends_build       port:pkgconfig
     25
    2126depends_lib         port:gtk2 \
    2227                    port:libgnomeui \
    2328                    port:libxml2 \
     
    2530
    2631patchfiles          patch-iec16022-0.2.1-iec116022ecc200.c.diff
    2732
    28 configure.args      --mandir=${prefix}/share/man \
    29                                         --disable-update-mimedb \
    30                                         --disable-update-desktopdb
     33configure.args      --without-libebook \
     34                    --disable-update-mimedb \
     35                    --disable-update-desktopdb
    3136
    3237post-activate {
    3338        system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"
    3439        system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
    3540}
     41
     42variant eds description {Build with Evolution Data Server support} {
     43        depends_lib-append    port:evolution-data-server
     44        configure.args-delete --without-libebook
     45}
     46
     47#
     48# evolution-data-server -> nss is not universal
     49#
     50
     51if { [variant_isset eds] } {
     52    universal_variant no
     53}
     54
     55livecheck.type      regex
     56livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
     57livecheck.regex     {LATEST-IS-(\d+(?:\.\d+)*)}