1 | # -*- 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 |
---|
2 | # $Id: Portfile 107463 2013-06-30 02:27:05Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name yelp |
---|
7 | version 3.8.0 |
---|
8 | |
---|
9 | license GPL-2 |
---|
10 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
11 | description Help browser for GNOME. |
---|
12 | long_description \ |
---|
13 | Yelp is the default help browser for the \ |
---|
14 | GNOME desktop. Yelp provides a simple graphical \ |
---|
15 | interface for viewing DocBook, HTML, man, and info \ |
---|
16 | formatted documentation. |
---|
17 | maintainers devans openmaintainer |
---|
18 | categories gnome |
---|
19 | platforms darwin |
---|
20 | homepage http://www.gnome.org/ |
---|
21 | master_sites gnome:sources/${name}/${branch}/ |
---|
22 | |
---|
23 | use_xz yes |
---|
24 | |
---|
25 | checksums sha256 f4a02dad614bfc04b6a998440123633145f4011c3a1d35415492d2ff76c1707f |
---|
26 | |
---|
27 | depends_build port:pkgconfig |
---|
28 | |
---|
29 | depends_lib port:webkit-gtk3 \ |
---|
30 | port:yelp-xsl \ |
---|
31 | port:libxml2 |
---|
32 | |
---|
33 | configure.args --enable-schemas-compile \ |
---|
34 | --enable-introspection |
---|
35 | |
---|
36 | |
---|
37 | post-activate { |
---|
38 | catch {system "${prefix}/bin/scrollkeeper-update"} |
---|
39 | catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"} |
---|
40 | catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"} |
---|
41 | catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"} |
---|
42 | } |
---|
43 | |
---|
44 | livecheck.type gnome-with-unstable |
---|