# -*- 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 gnome-doc-utils version 0.16.1 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description GNOME document utils. long_description \ gnome-doc-utils is a collection of documentation utilities \ for the Gnomeproject. Notably, it contains utilities for building \ documentation andall auxiliary files in your source tree, and it \ contains the DocBookXSLT stylesheets that were once distributed \ with Yelp. maintainers devans openmaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ checksums md5 85d4bba44773f6162de72e81e8bd0ab0 \ sha1 b2f8623de2d0989ad2b6b8147cd8dba62895faa9 \ rmd160 6a588c1cc4748a0ab8d2cf1db456ee3b085a7974 use_bzip2 yes depends_build \ port:pkgconfig \ port:p5-xml-parser depends_lib \ port:gettext \ port:libxslt \ port:python26 depends_run \ port:docbook-xml \ port:docbook-xsl \ port:rarian \ port:iso-codes \ port:py26-libxml2 configure.env-append INTLTOOL_PERL=${prefix}/bin/perl configure.args --disable-scrollkeeper \ --mandir=${prefix}/share/man # Default to 2.6 since 2.5 fails universal on Leopard... Ticket #17501 configure.python ${prefix}/bin/python2.6 post-activate { 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 } universal_variant no livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}