# -*- 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.18.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 c98ca796f3f2938a1fced7476e65351e \ sha1 40b1a812345474db8c15a5f8233ea4842c4f0cc6 \ rmd160 b43bbfd7dd84a09b5aed998e0cea84bf679965f3 use_bzip2 yes # http://trac.macports.org/ticket/23954 use_parallel_build no 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 \ am_cv_python_pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages/ # 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 configure.args-delete am_cv_python_pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages/ } if {[info exists supported_archs]} { supported_archs noarch } else { universal_variant no } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}