<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/14cde4416f7b6906cb51bbd58a56db6b0a6539c7">https://github.com/macports/macports-ports/commit/14cde4416f7b6906cb51bbd58a56db6b0a6539c7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 14cde4416f7b6906cb51bbd58a56db6b0a6539c7
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon Apr 17 18:39:29 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gimp-help-en: portfile cleanup
</span>---
graphics/gimp-help-en/Portfile | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gimp-help-en/Portfile b/graphics/gimp-help-en/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b436c302d6..f2cf76221da 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/gimp-help-en/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gimp-help-en/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,27 +1,27 @@
</span> # -*- 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
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span>
set gname gimp-help
set lingua en
name ${gname}-${lingua}
version 2.10.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GFDL-1.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories graphics
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license GFDL-1.2
</span> maintainers {mascguy @mascguy} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description The GIMP HTML help pages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+description The GIMP HTML help pages
</span> long_description \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {*}${description} are intended to be used with the built-in \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GIMP Help Browser, but can be viewed in any other browser as well.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}${description} are intended to be used with the built-in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GIMP Help Browser, but can be viewed in any other browser as well.
</span> homepage http://docs.gimp.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms any
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span>
master_sites gimp:gimp/help
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_bzip2 yes
checksums rmd160 c79fe9415d9c3fca9c182e8776d29b4da757f5f4 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,10 @@ checksums rmd160 c79fe9415d9c3fca9c182e8776d29b4da757f5f4 \
</span> distname ${gname}-${version}
dist_subdir ${gname}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_ver 2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span> path:libexec/coreutils/libstdbuf.so:coreutils \
port:docbook-xml \
port:docbook-xsl-nons \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,17 +44,18 @@ depends_build port:pkgconfig \
</span> port:libxml2 \
port:gettext \
port:pngcrush \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py27-libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py311-libxml2
</span>
post-patch {
reinplace "s|#!/usr/bin/env python|#!${configure.python}|" \
${worksrcpath}/tools/xml2po.py
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --without-gimp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-gimp
</span>
configure.env ALL_LINGUAS=${lingua}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python${python_ver}
</span>
livecheck.type regex
livecheck.url http://download.gimp.org/pub/gimp/help/
</pre><pre style='margin:0'>
</pre>