# -*- 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$ PortSystem 1.0 name yelp version 3.16.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 bbd6876189f69bda6842f338d8037234f7422038 \ sha256 60810b8ddf5d2bf525a70a80a982af5053db061e0d823ed883d3671d9a5267ca depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool \ port:gtk-doc 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 patchfiles patch-m4-ax_compiler_flags_ldflags.m4.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --enable-compile-warnings=minimum \ --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