Ticket #22515: gucharmap.diff
File gucharmap.diff, 2.6 KB (added by nerdling (Jeremy Lavergne), 15 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 6 name 7 version 2.2 6.3.16 name gucharmap 7 version 2.29.1 8 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 9 description gucharmap is a featureful unicode character map. 10 10 long_description ${description} 11 11 maintainers devans openmaintainer 12 12 categories gnome 13 13 platforms darwin 14 homepage http:// www.gnome.org/14 homepage http://live.gnome.org/Gucharmap 15 15 master_sites gnome:sources/${name}/${branch}/ 16 16 17 checksums md5 3d13ad452860b1facc9765713bc96d33\18 sha1 ba31edb66224791f183c9e4e1827b6a1216b9d60\19 rmd160 c63615a6cea8fcccc24ae3df84bb2ee367edbd9417 checksums md5 4d517d0507712899cc4502882c3bb6fc \ 18 sha1 bce097592b56ddf560128a297ecf8bc9ca8eefdb \ 19 rmd160 820114580d9b236e982b741328bcd6d255a1a216 20 20 21 21 depends_build port:pkgconfig \ 22 22 port:intltool \ 23 23 port:p5-xml-parser \ 24 port:gnome-doc-utils \ 25 port:gtk-doc 24 port:gnome-doc-utils 26 25 27 depends_lib port:gconf \ 28 port:py25-gtk 26 depends_lib port:gtk2 \ 27 port:gconf \ 28 port:py26-gtk 29 29 30 30 use_bzip2 yes 31 31 32 configure.args --disable-gtk-immodules \ 33 --disable-schemas-install \ 32 configure.args --disable-schemas-install \ 34 33 --disable-scrollkeeper \ 35 34 --enable-python-bindings 36 35 37 configure.python ${prefix}/bin/python2.538 39 36 post-activate { 40 system "${prefix}/bin/scrollkeeper-update"41 37 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` && \ 43 40 gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" 41 } 44 42 } 45 43 44 variant no_pybindings description {Remove python bindings} { 45 depends_lib-delete port:py26-gtk 46 configure.args-delete --enable-python-bindings 47 } 48 49 variant no_gconf description {Disables gconf integration} { 50 depends_lib-delete port:gconf 51 configure.args-append --disable-gconf 52 } 53 54 55 46 56 livecheck.type regex 47 57 livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ 48 58 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}