source: trunk/dports/gnome/gtk-doc/Portfile

Last change on this file was 151925, checked in by devans@…, 15 months ago

gtk-doc: use perl5.24 (#52081).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
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 151925 2016-08-24 05:25:16Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gtk-doc
7version             1.25
8revision            1
9categories          gnome devel
10license             GPL-2+
11installs_libs       no
12platforms           darwin freebsd linux
13supported_archs     noarch
14installs_libs       no
15maintainers         devans openmaintainer
16description         GTK+/GNOME API documentation generator
17
18long_description    GTK-Doc generates API documentation from comments added to C code. \
19                    It is typically used to document the public API of GTK+  and GNOME \
20                    libraries, but it can also be used to document application code.
21
22homepage            http://www.gtk.org/gtk-doc/
23master_sites        gnome:sources/${name}/${version}/
24
25use_xz              yes
26
27checksums           rmd160  40baa3ac70f4b6bf45422f8ea8255e9014ae5b7a \
28                    sha256  1ea46ed400e6501f975acaafea31479cea8f32f911dca4dff036f59e6464fd42
29
30# set 'pbranch' to the desired perl version to use
31# currently 5.24 (#52081)
32
33set pbranch         5.24
34
35depends_build       port:pkgconfig \
36                    path:lib/pkgconfig/glib-2.0.pc:glib2
37
38depends_lib         port:libxml2 \
39                    port:libxslt \
40                    port:perl${pbranch} \
41                    port:openjade \
42                    port:fop \
43                    port:docbook-xml \
44                    port:docbook-xsl \
45                    port:itstool \
46                    port:source-highlight
47
48configure.perl      ${prefix}/bin/perl${pbranch}
49# gtk-doc supports python2 versions back to 2.3 so OSX system python should be sufficient
50# for the one python script provided (gtkdoc-depscan).
51configure.python    /usr/bin/python
52configure.env-append XSLTPROC=${prefix}/bin/xsltproc
53configure.args      --with-xml-catalog=${prefix}/etc/xml/catalog \
54                    --with-highlight=source-highlight \
55                    --disable-silent-rules
56
57test.run            yes
58test.dir            ${worksrcpath}/tests
59test.target         check
60
61livecheck.type      gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.