# -*- 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 3.22.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 https://wiki.gnome.org/Apps/Devhelp master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 da82679c7d850c1cb886df69d6196d677a915b3f \ sha256 59cae02e12d238cc5fc3f049d779895ba89701426d9173f5b534d4ab90c5ffb0 depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 depends_run port:gnome-themes-standard configure.cmd ./autogen.sh # use system python for build, requires python2 >= 2.3 configure.python /usr/bin/python configure.args --disable-silent-rules \ --disable-schemas-compile post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { version 3.8.2 revision 5 checksums rmd160 8d855f485742a0bdc766591d36af09bdbea61801 \ sha256 a245b53824c6f2ff89245ff807bb2140bde74951ea6f1d759a0fd0c6959ca9f7 depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0 patchfiles patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh-3.8.2 ${worksrcpath}/autogen.sh copy ${worksrcpath}/libgd/libgd.m4 ${worksrcpath}/m4 } configure.args-append --with-webkit2=no livecheck.type none } else { depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.args-append --enable-compile-warnings=minimum livecheck.type gnome } }