# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 127494 2014-10-28 23:24:19Z devans@macports.org $ PortSystem 1.0 name yelp version 3.14.1 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description Help browser for GNOME. long_description Yelp is the default help browser for the \ GNOME desktop. Yelp provides a simple graphical \ interface for viewing DocBook, HTML, man, and info \ formatted documentation. maintainers devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/Yelp master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 2799875fb4760877f0f7fb4c3fa85850fc6fda8b \ sha256 1df24b0afa000fd7b003b43448be5227d72757e95e678a7be1832ebea685f072 depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:gnome-common depends_lib port:desktop-file-utils \ port:gtk3 \ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \ port:sqlite3 \ port:xz \ port:bzip2 \ port:yelp-xsl # # if yelp is invoked without a URI argument # it defaults to help:user-guide # depends_run port:gnome-user-docs \ port:gnome-getting-started-docs \ port:gnome-settings-daemon # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-schemas-compile \ --disable-silent-rules \ --enable-debug post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0 } } livecheck.type gnome