<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/ef9e7833d03955b482df3db688a2698630259b36">https://github.com/macports/macports-ports/commit/ef9e7833d03955b482df3db688a2698630259b36</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ef9e7833d03955b482df3db688a2698630259b36
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Apr 25 04:02:21 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> Maelstrom: New port, version 3.0.7
</span>---
games/Maelstrom/Portfile | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/Maelstrom/Portfile b/games/Maelstrom/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0d31b56adf0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/Maelstrom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,66 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup app 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name Maelstrom
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.0.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f6eb516ead50e03e02d0a10f075ff7b1652cda15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 93680322f4b04d4727ea8e0b461f259b604dc69e7465cb91d2b9aad378a9a036 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1971558
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ryandesign @ryandesign} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Ambrosia Software's 1992 Macintosh video game \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Maelstrom by Andrew Welch based on Asteroids and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Blasteroids by Atari
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description You pilot your ship through the dreaded \"Maelstrom\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ asteroid belt. Suddenly your best friend thrusts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ towards you and fires, directly at your cockpit. You \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ raise your shields just in time, and the battle is \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ joined. The deadliest stretch of space known to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mankind has just gotten deadlier. Everywhere \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ massive asteroids jostle for a chance to crush your \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ship, and deadly shinobi fighter patrols pursue you \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ across the asteroid belt. But the deadliest of them \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all is your sister ship, assigned to you on patrol. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The pilot, trained by your own Navy, battle hardened \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ by months in the Maelstrom, is equipped with a twin of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ your own ship and intimate knowledge of your tactics. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The lovely Stratocaster R&R facility never sounded so \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ good, but as you fire full thrusters to dodge the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ latest barrage you begin to think you'll never get \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ home...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.libsdl.org/projects/Maelstrom/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}src/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:libsdl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2_net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.executable ${build.dir}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.icon icon.bmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.identifier org.libsdl.${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set ac ${applications_dir}/${app.name}.app/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set docdir ${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The project distributes a Mac app on a disk image, and I'm trying to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reproduce that here as closely as possible (minus bundling libsdl2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# but the project's build system does not appear to contain a way to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# create the app. I've asked the developer about this.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The app portgroup installs the actual executable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The app supports various command line switches so put a symlink in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # bin to make this more discoverable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${ac}/MacOS/${name} ${destroot}${prefix}/bin/[string tolower ${name}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${build.dir} "${build.cmd} install_gamedata \"target=${destroot}${ac}/Resources\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${build.dir} "${build.cmd} install_gamedocs \"target=${destroot}${prefix}/share/doc/${name}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>