Ticket #40116: Portfile.2

File Portfile.2, 1.5 KB (added by c.herbig@…, 11 years ago)

yelp @3.8.0

Line 
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
4PortSystem      1.0
5
6name            yelp
7version         3.8.0
8
9license         GPL-2
10set branch      [join [lrange [split ${version} .] 0 1] .]
11description     Help browser for GNOME.
12long_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.
17maintainers     devans openmaintainer
18categories      gnome
19platforms       darwin
20homepage        http://www.gnome.org/
21master_sites    gnome:sources/${name}/${branch}/
22
23use_xz          yes
24
25checksums       sha256  f4a02dad614bfc04b6a998440123633145f4011c3a1d35415492d2ff76c1707f
26
27depends_build   port:pkgconfig
28
29depends_lib     port:webkit-gtk3 \
30                port:yelp-xsl \
31                port:libxml2
32
33configure.args  --enable-schemas-compile \
34                --enable-introspection
35
36
37post-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
44livecheck.type  gnome-with-unstable