<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/384c290eed3728d0222939c18ba6610d0a4fb970">https://github.com/macports/macports-ports/commit/384c290eed3728d0222939c18ba6610d0a4fb970</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 384c290eed3 cliclick: Use MacPorts PHP on macOS 12 and later
</span>384c290eed3 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 384c290eed3728d0222939c18ba6610d0a4fb970
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Nov 27 21:56:08 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    cliclick: Use MacPorts PHP on macOS 12 and later
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/64074
</span>---
 sysutils/cliclick/Portfile | 10 ++++++++++
 1 file changed, 10 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cliclick/Portfile b/sysutils/cliclick/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 003dab696bb..37ac0ffc0fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/cliclick/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cliclick/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +28,16 @@ if {${os.platform} ne "darwin" || ${os.major} >= 19} {
</span>                             sha256  798fb8b26f6a42b5002ca58e018b91f7677162c4f035b38aee8d905829db64a7 \
                             size    36195
     github.tarball_from     archive
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.platform} eq "darwin" && ${os.major} >= 21} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # There is no /usr/bin/php anymore.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set php             php81
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:${php}
</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/php|#!${prefix}/bin/${php} --no-php-ini|" ${worksrcpath}/generate-characterinfo.php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> } else {
     github.setup            BlueM cliclick 4.0.1
     revision                1
</pre><pre style='margin:0'>

</pre>