Ticket #27015: Portfile-glade3-devel.diff

File Portfile-glade3-devel.diff, 2.2 KB (added by joe@…, 14 years ago)

Patch to bring glade3-devel to 3.7.1

  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name            glade3-devel
    7 version         3.5.7
     7version         3.7.1
    88set branch      [join [lrange [split ${version} .] 0 1] .]
    99description     Glade is a free user interface builder for GTK+ and GNOME.
    1010long_description    Glade is a free user interface builder for GTK+ \
     
    1717master_sites    gnome:sources/glade3/${branch}/
    1818distname        glade3-${version}
    1919use_bzip2       yes
    20 checksums       md5     381e290d4a6ae7d6a41fe16b06f15bb3 \
    21                 sha1    2e2c6fcef18ed9a0e6be694cf98aa871dc8fd62f \
    22                 rmd160  4371ee091b1ead10846765e3d39c78ad4d32f84f
     20checksums       md5     35dca20dd51aa1a1fd461d723abba95b \
     21                sha1    eda613fa67c930818080cb96fb25d1f28de66514 \
     22                rmd160  28d007c5d47feb665d412d1914cd504bde3960cd
    2323
    2424depends_build   port:pkgconfig \
    25                 port:gettext \
     25                port:intltool \
     26                port:gnome-doc-utils \
     27                port:gtk-doc
    2628
    2729depends_lib     port:gtk2 \
    28                 port:libiconv \
    2930                port:libgnomeui \
    30                 port:py25-gtk \
    3131                port:libxml2 \
    32                 port:rarian
    3332
    3433depends_run     port:hicolor-icon-theme \
    3534                port:devhelp
     
    4544        depends_lib-delete port:libgnomeui
    4645}
    4746
     47variant quartz {
     48         depends_lib-append port:ige-mac-integration
     49         depends_run-delete port:devhelp
     50}
     51
     52variant python25 conflicts python26 description {Use Python 2.5} {
     53        depends_lib-append port:py25-gtk
     54        configure.python ${prefix}/bin/python2.5
     55}
     56
     57variant python26 conflicts python25 description {Use Python 2.6} {
     58        depends_lib-append port:py26-gtk
     59        configure.python ${prefix}/bin/python2.6
     60}
     61
     62if {![variant_isset python25]} {
     63    default_variants +python26
     64}
     65
     66post-activate {
     67        system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     68}
     69
    4870livecheck.type  regex
    4971livecheck.url   http://ftp.gnome.org/pub/gnome/sources/glade3/${branch}/
    5072livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}