# -*- 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.11 revision 1 categories gnome devel platforms darwin freebsd linux 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_bzip2 yes checksums md5 b5e268c71fa90aad890cf53715664d0a \ sha1 685823e269cc08fdef50828b0a68697222877b1c \ rmd160 802c61e4e2072f5e91fe65d6f40587313b7bd23b depends_build port:rarian \ port:gnome-doc-utils \ port:pkgconfig \ port:docbook-xml \ port:docbook-xsl depends_lib port:libxml2 \ path:bin/perl:perl5 # Default to python 2.6, the current production version of python configure.python ${prefix}/bin/python2.6 configure.perl ${prefix}/bin/perl configure.args --with-xml-catalog=${prefix}/etc/xml/catalog # TODO Enable test support. post-activate { ui_debug "Updating scrollkeeper database..." system "${prefix}/bin/scrollkeeper-update" } variant python25 description {Configure to use python 2.5 instead of default 2.6} { depends_lib-delete port:python26 depends_lib-append port:python25 depends_run-delete port:py26-libxml2 depends_run-append port:py25-libxml2 configure.python ${prefix}/bin/python2.5 } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/?C=M&O=D livecheck.regex {(\d+(?:\.\d+)*)/}