# -*- 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 set gname gimp-help set lingua en name ${gname}-${lingua} version 2.8.0 license GFDL-1.2 categories graphics maintainers devans openmaintainer description The GIMP HTML help pages long_description \ ${description} are intended to be used with the built-in \ GIMP Help Browser, but can be viewed in any other browser as well. homepage http://docs.gimp.org/ platforms darwin supported_archs noarch master_sites gimp:gimp/help use_bzip2 yes checksums sha1 c76209660dedc4b969115f6a9e16f4c600dc1d6a \ rmd160 0bee8864b86889e800a3870fe5eb0cf92db3ef2c distname ${gname}-${version} dist_subdir ${gname} depends_build port:pkgconfig \ port:coreutils \ port:docbook-xsl \ port:gawk \ port:gsed \ port:libxslt \ port:libxml2 \ port:gettext \ port:pngcrush post-patch { reinplace "s|#!/usr/bin/env python|#!${configure.python}|" \ ${worksrcpath}/tools/xml2po.py } configure.args --without-gimp configure.env ALL_LINGUAS='${lingua}' variant python25 conflicts python26 python27 description {Use python 2.5} { depends_build-append port:py25-libxml2 configure.python ${prefix}/bin/python2.5 } variant python26 conflicts python25 python27 description {Use python 2.6} { depends_build-append port:py26-libxml2 configure.python ${prefix}/bin/python2.6 } variant python27 conflicts python25 python26 description {Use python 2.7} { depends_build-append port:py27-libxml2 configure.python ${prefix}/bin/python2.7 } if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} { default_variants +python27 } livecheck.type regex livecheck.url http://gimp.cp-dev.com/gimp/help/ livecheck.regex ${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}