Ticket #22515: gucharmap.diff

File gucharmap.diff, 2.6 KB (added by nerdling (Jeremy Lavergne), 14 years ago)
  • Portfile

     
    33
    44PortSystem 1.0
    55
    6 name            gucharmap
    7 version         2.26.3.1
     6name            gucharmap
     7version         2.29.1
    88set branch      [join [lrange [split ${version} .] 0 1] .]
    99description     gucharmap is a featureful unicode character map.
    1010long_description ${description}
    1111maintainers     devans openmaintainer
    1212categories      gnome
    1313platforms       darwin
    14 homepage        http://www.gnome.org/
     14homepage        http://live.gnome.org/Gucharmap
    1515master_sites    gnome:sources/${name}/${branch}/
    1616
    17 checksums       md5     3d13ad452860b1facc9765713bc96d33 \
    18                 sha1    ba31edb66224791f183c9e4e1827b6a1216b9d60 \
    19                 rmd160  c63615a6cea8fcccc24ae3df84bb2ee367edbd94
     17checksums           md5     4d517d0507712899cc4502882c3bb6fc \
     18                    sha1    bce097592b56ddf560128a297ecf8bc9ca8eefdb \
     19                    rmd160  820114580d9b236e982b741328bcd6d255a1a216
    2020
    2121depends_build   port:pkgconfig \
    2222                port:intltool \
    2323                port:p5-xml-parser \
    24                 port:gnome-doc-utils \
    25                 port:gtk-doc
     24                port:gnome-doc-utils
    2625
    27 depends_lib     port:gconf \
    28                 port:py25-gtk
     26depends_lib     port:gtk2 \
     27                port:gconf \
     28                port:py26-gtk
    2929
    3030use_bzip2       yes
    3131
    32 configure.args  --disable-gtk-immodules \
    33                 --disable-schemas-install \
     32configure.args  --disable-schemas-install \
    3433                --disable-scrollkeeper \
    3534                --enable-python-bindings
    3635
    37 configure.python ${prefix}/bin/python2.5
    38 
    3936post-activate   {
    40     system "${prefix}/bin/scrollkeeper-update"
    4137    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    42     system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
     38    if {![variant_isset no_gconf]} {
     39        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
    4340        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
     41    }
    4442}
    4543
     44variant no_pybindings description {Remove python bindings} {
     45    depends_lib-delete      port:py26-gtk
     46    configure.args-delete   --enable-python-bindings
     47}
     48
     49variant no_gconf description {Disables gconf integration} {
     50    depends_lib-delete      port:gconf
     51    configure.args-append   --disable-gconf
     52}
     53
     54
     55
    4656livecheck.type  regex
    4757livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
    4858livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}