# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name devhelp version 2.32.0 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Devhelp is an API documentation browser for GTK+ and GNOME. long_description \ Devhelp is an API documentation browser for GTK+ and GNOME. It works \ natively with gtk-doc (the API reference framework developed for GTK+ \ and used throughout GNOME for API documentation). If you use gtk-doc \ with your project, you can use Devhelp to browse the documentation. maintainers devans openmaintainer categories gnome platforms darwin homepage http://live.gnome.org/${name} master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums rmd160 934697815ec13a5629db775bb3b8585c80c8c6f0 \ sha256 61b342cbaf27379be9baa5df1f34c9464916601ec4378fa7e1c76fcc686553e4 patchfiles patch-configure.diff \ patch-src-Makefile.in.diff depends_build port:pkgconfig \ port:intltool depends_lib port:desktop-file-utils \ port:webkit-gtk \ port:gconf \ port:icu \ port:jpeg \ port:libwnck \ port:libunique configure.args --disable-schemas-install variant python25 conflicts python26 python27 description {Build using Python 2.5} { configure.python ${prefix}/bin/python2.5 depends_build-append port:python25 } variant python26 conflicts python25 python27 description {Build using Python 2.6} { configure.python ${prefix}/bin/python2.6 depends_build-append port:python26 } variant python27 conflicts python25 python26 description {Build using Python 2.7} { configure.python ${prefix}/bin/python2.7 depends_build-append port:python27 } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } post-activate { system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome