Ticket #22515: Portfile-gucharmap.diff

File Portfile-gucharmap.diff, 2.5 KB (added by pf_moll@…, 14 years ago)
  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name            gucharmap
    7 version         2.26.3.1
     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
    2928
    3029use_bzip2       yes
    3130
    32 configure.args  --disable-gtk-immodules \
    33                 --disable-schemas-install \
    34                 --disable-scrollkeeper \
    35                 --enable-python-bindings
    36 
    37 configure.python ${prefix}/bin/python2.5
     31configure.args  --disable-schemas-install \
     32                --disable-scrollkeeper
    3833
    3934post-activate   {
    40     system "${prefix}/bin/scrollkeeper-update"
    4135    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    42     system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
     36    if {![variant_isset no_gconf]} {
     37        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
    4338        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
     39    }
     40}
     41
     42variant pybindings description { Add python bindings } {
     43    depends_lib-append port:py26-gtk
     44    configure.args-append --enable-python-bindings
    4445}
    4546
     47variant no_gconf description { Disables gconf integration } {
     48    depends_lib-delete port:gconf
     49    configure.args-append --disable-gconf
     50}
     51
     52default_variants    +pybindings
     53
    4654livecheck.type  regex
    4755livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
    4856livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
     57 No newline at end of file