# -*- 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 PortSystem 1.0 set gname gimp-help set lingua en name ${gname}-${lingua} version 2.10.34 revision 0 categories graphics license GFDL-1.2 maintainers {mascguy @mascguy} openmaintainer platforms any supported_archs noarch 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/ master_sites gimp:gimp/help use_bzip2 yes checksums rmd160 3c77d4fa48a0b3902f5a33c90df55e2da75bb062 \ sha256 cae0adea6ffe47776f42dfc3a38f35d28e31893004e01812117af6f7fc897dc8 \ size 165540436 distname ${gname}-${version} dist_subdir ${gname} set pyver 3.11 set pyver_nodot [string map {. {}} ${pyver}] depends_build-append \ port:pkgconfig \ path:libexec/coreutils/libstdbuf.so:coreutils \ port:docbook-xml \ port:docbook-xsl-nons \ port:gawk \ port:gsed \ port:libxslt \ port:libxml2 \ port:gettext \ port:pngcrush \ port:py${pyver_nodot}-libxml2 configure.env ALL_LINGUAS=${lingua} configure.python ${prefix}/bin/python${pyver} post-patch { reinplace "s|#!/usr/bin/env python|#!${configure.python}|" \ ${worksrcpath}/tools/xml2po.py } configure.args-append \ --without-gimp livecheck.type regex livecheck.url http://download.gimp.org/pub/gimp/help/ livecheck.regex ${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}