# -*- 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
platforms darwin freebsd linux
maintainers {devans @dbevans} 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}/
checksums rmd160 bd2d0b2da5ba0bf14a4ee80cdf905a7e2be77c85 \
sha256 a51687956d0377ac70904d03fdc73c9e116589b4a01453fa92162442b3657011 \
depends_build port:pkgconfig \
path:lib/pkgconfig/glib-2.0.pc:glib2
depends_lib port:libxml2 \
port:perl${perl5.major} \
variant pdf description {Build with PDF output support} {
if {![variant_isset pdf]} {
# use default MacPorts perl branch
configure.perl ${perl5.bin}
configure.env-append XSLTPROC=${prefix}/bin/xsltproc
configure.args --with-xml-catalog=${prefix}/etc/xml/catalog \
variant python36 conflicts python37 description {Build using Python 3.6} {