<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/b609289bc8b74eafab050b2f3e2491ec46fe6583">https://github.com/macports/macports-ports/commit/b609289bc8b74eafab050b2f3e2491ec46fe6583</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 b609289bc8b create-dmg-js: add nodejs version fallbacks
</span>b609289bc8b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b609289bc8b74eafab050b2f3e2491ec46fe6583
</span>Author: i0ntempest <i0ntempest@i0ntempest.com>
AuthorDate: Mon Mar 24 00:27:18 2025 +1100
<span style='display:block; white-space:pre;color:#404040;'> create-dmg-js: add nodejs version fallbacks
</span>---
sysutils/create-dmg-js/Portfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/create-dmg-js/Portfile b/sysutils/create-dmg-js/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7c45b3f1aa2..d3092dbab9d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/create-dmg-js/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/create-dmg-js/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,3 +33,16 @@ variant dmg_icon description {Enable custom DMG icon based on the app icon} {
</span> port:ImageMagick \
port:GraphicsMagick
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} <= 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 10.13-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ npm.nodejs_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ npm.version 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${os.major} <= 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 11.0-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ npm.nodejs_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>