<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6c67c77106262a74ce71ff211f58eb8dbf26d70a">https://github.com/macports/macports-ports/commit/6c67c77106262a74ce71ff211f58eb8dbf26d70a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6c67c77106262a74ce71ff211f58eb8dbf26d70a
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Tue Apr 2 19:35:05 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    po4a: update to 0.73
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Patch files in patch phase
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/65233
</span>---
 textproc/po4a/Portfile | 34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/po4a/Portfile b/textproc/po4a/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a6fd1723aaf..57fe2bc68f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/po4a/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/po4a/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem          1.0
</span> PortGroup           github 1.0
 PortGroup           perl5 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        mquinson po4a 0.69 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        mquinson po4a 0.73 v
</span> revision            0
 
 # NOTE: Presently this port assumes core module Pod::Parser, which
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,13 +34,12 @@ long_description    The po4a (PO for anything) project goal is to ease \
</span> homepage            https://po4a.org/
 github.tarball_from releases
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  4414dcdbf920c8d2761d9952b2e63c4a60672e00 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  7cd4aff13661665ec2d9df478757ae407683d4ecb5c2627ccf8b46729bcb9496 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    4665710
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  3b78a27dc79390406a98d667b88b03b11d6f089e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  6f18f82d8cb2a377394137ea396cc3e8195d6cd6e454fe0218aa0f0e36038ea0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    5117198
</span> 
 # TODO: check and fix dependencies
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append  \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:p${perl5.major}-locale-gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append  port:p${perl5.major}-locale-gettext \
</span>                     port:p${perl5.major}-sgmlspm \
                     port:p${perl5.major}-sgml-parser-opensp \
                     port:p${perl5.major}-term-readkey \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,15 +71,18 @@ depends_build-append \
</span>                     port:p${perl5.major}-pathtools \
                     port:p${perl5.major}-text-parsewords
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args      "installdirs=core --config cc=\"${configure.cc}\" --config ld=\"${configure.cc}\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.use_module_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd       ${perl5.bin}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd           ${perl5.bin}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd        ${perl5.bin}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/Build.PL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|/usr/bin/env perl|${perl5.bin}|" ${worksrcpath}/scripts/msgsearch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|/usr/bin/env perl|${perl5.bin}|" ${worksrcpath}/lib/Locale/Po4a/Gemtext.pm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath}/lib/Locale/Po4a "s|/usr/bin/perl|${perl5.bin}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        {*}[glob -tails -directory ${worksrcpath}/lib/Locale/Po4a *.pm]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath}/lib/Locale/Po4a/InProgress "s|/usr/bin/perl|${perl5.bin}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        {*}[glob -tails -directory ${worksrcpath}/lib/Locale/Po4a/InProgress *.pm]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath}/t "s|/usr/bin/perl|${perl5.bin}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        {*}[glob -tails -directory ${worksrcpath}/t *.t]
</span>     # Make sure all binaries use the correct MacPorts-provided perl version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace -W ${destroot}${prefix}/bin "s|#! /usr/bin/env perl|#!${perl5.bin}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath} "s|/usr/bin/env perl|${perl5.bin}|" \
</span>         msguntypot \
         po4a \
         po4a-gettextize \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,3 +90,7 @@ post-destroot {
</span>         po4a-translate \
         po4a-updatepo
 }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args      "installdirs=core --config cc=\"${configure.cc}\" --config ld=\"${configure.cc}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.use_module_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cmd       ${perl5.bin}
</span></pre><pre style='margin:0'>

</pre>