# -*- 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 gtk-doc version 1.20 revision 2 categories gnome devel license GPL-2+ installs_libs no platforms darwin freebsd linux supported_archs noarch installs_libs no maintainers devans openmaintainer description GTK+/GNOME API documentation generator long_description \ GTK-Doc generates API documentation from comments added to C code. \ It is typically used to document the public API of GTK+ and GNOME \ libraries, but it can also be used to document application code. homepage http://www.gtk.org/gtk-doc/ master_sites gnome:sources/${name}/${version}/ use_xz yes checksums rmd160 0d8932b1a1e8560a1d5a1ecefc0a7a0ab25d412c \ sha256 3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011 depends_build port:pkgconfig \ path:lib/pkgconfig/glib-2.0.pc:glib2 depends_lib port:libxml2 \ port:libxslt \ path:bin/perl:perl5 \ port:openjade \ port:fop \ port:docbook-xml \ port:docbook-xsl \ port:itstool patchfiles patch-gtkdoc-mkdb.in.diff configure.perl ${prefix}/bin/perl configure.env-append XSLTPROC=${prefix}/bin/xsltproc configure.args --with-xml-catalog=${prefix}/etc/xml/catalog # TODO Enable test support. variant python25 conflicts python26 python27 description {Use python 2.5} { depends_lib-append port:python25 depends_run-append port:py25-libxml2 configure.python ${prefix}/bin/python2.5 } variant python26 conflicts python25 python27 description {Use python 2.6} { depends_lib-append port:python26 depends_run-append port:py26-libxml2 configure.python ${prefix}/bin/python2.6 } variant python27 conflicts python25 python26 description {Use python 2.7} { depends_lib-append port:python27 depends_run-append port:py27-libxml2 configure.python ${prefix}/bin/python2.7 } # Default to python 2.7 if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } livecheck.type gnome