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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dcf7e2539f77bd84ebe8450c1db47aec76b54624">https://github.com/macports/macports-ports/commit/dcf7e2539f77bd84ebe8450c1db47aec76b54624</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 dcf7e2539f7 nottetris2: Let keypad Enter key be used as Return
</span>dcf7e2539f7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit dcf7e2539f77bd84ebe8450c1db47aec76b54624
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue Aug 13 10:56:02 2024 -0500

<span style='display:block; white-space:pre;color:#404040;'>    nottetris2: Let keypad Enter key be used as Return
</span>---
 games/nottetris2/Portfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/nottetris2/Portfile b/games/nottetris2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 76a84443057..fbda0616923 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/nottetris2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/nottetris2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           github 1.0
</span> PortGroup           love 1.0
 
 github.setup        Stabyourself nottetris2 2.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            2
</span> checksums           rmd160  933a9ff2ca6a56869b660704f1850a113bc35abf \
                     sha256  e2b8737e1e761174bbb0cdea403a2b7558732b682f5a1e32ea3ee956192ea88c \
                     size    2774048
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,7 @@ long_description    Not Tetris 2 is the spiritual successor of the classic \
</span> homepage            https://stabyourself.net/nottetris2/
 # A fully-working version is not on GitHub, only in the downloads on the web
 # site. The code on GitHub appears to be a work in progress for migrating to
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# love 0.8.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# love 0.8. https://github.com/Stabyourself/nottetris2/issues/8
</span> master_sites        https://stabyourself.net/dl.php?file=${name}/${name}-linux.zip&dummy=
 distname            ${name}-linux-${version}
 use_zip             yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,6 +52,12 @@ post-extract {
</span>     reinplace "s|\r||g" {*}[glob ${love.dir}/*.lua]
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Allow keypad enter key to be used in place of return key.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/Stabyourself/nottetris2/commit/62c05953341b74f601d7f0003529fab9764a166b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -E {s/(key == "return")/\1 or key == "kpenter"/g} ${love.dir}/main.lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-build {
     # -9° slant matches application icons introduced in OS X Yosemite.
     system -W ${workpath} \
</pre><pre style='margin:0'>

</pre>