# -*- 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.22.0 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 3377943e821c64f35cc5d4c3863ae7277b1ac0e6 \ sha256 8616b77c239aaa731312609f192c9b2c71d54b2cae42ff23efa23b5b3188778e depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:autoconf \ port:automake \ port:libtool \ port:gtk-doc depends_lib port:desktop-file-utils \ port: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-themes-standard 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 --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++"} { # version 3.17.3+ requires webkit2gtk-4.0 >= 2.7.1 version 3.17.2 checksums rmd160 38ef9ea1773b01a4407808be798cc9752457b9ff \ sha256 0626f7a954d7969e058474a9d5e05977eb886703c76aaba7a48cb7cd236fcd27 depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0 livecheck.type none } else { depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk livecheck.type gnome } }