<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/1eb72912b0420bdd52a298f5059c686ef32c32d1">https://github.com/macports/macports-ports/commit/1eb72912b0420bdd52a298f5059c686ef32c32d1</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 1eb72912b04 VVVVVV: submission
</span>1eb72912b04 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1eb72912b0420bdd52a298f5059c686ef32c32d1
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Jan 11 04:17:15 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> VVVVVV: submission
</span>---
games/VVVVVV/Portfile | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/VVVVVV/Portfile b/games/VVVVVV/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..25263afd8f4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/VVVVVV/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,71 @@
</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: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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup app 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup TerryCavanagh VVVVVV 2.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {i0ntempest @i0ntempest} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Restrictive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set data_file data.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set main_distfile ${distfiles}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites-append https://thelettervsixtim.es/makeandplay/:data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles-append ${data_file}:data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The indie platformer game where you reversed gravity instead of jumping
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}. Developed by Terry Cavanagh, with music by Magnus PĂ„lsson
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:makeicns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:libsdl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tinyxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:physfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:FAudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.source_dir ${worksrcpath}/desktop_version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.build_type Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${cmake.source_dir} "wget https://thelettervsixtim.es/makeandplay/data.zip"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "git submodule update --init --recursive"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${cmake.source_dir} "/usr/bin/unzip -p data.zip VVVVVV.png > icon.png"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DOFFICIAL_BUILD=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUNDLE_DEPENDENCIES=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSTEAM=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGOG=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMAKEANDPLAY=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -I${prefix}/include/FAudio
</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 ${cmake.source_dir}/icon.png
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cmake.source_dir}/data.zip ${cmake.source_dir}/lang ${cmake.source_dir}/fonts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/${app.name}.app/Contents/Resources/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant campaign description {Game will include the main campaign} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMAKEANDPLAY=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMAKEANDPLAY=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset campaign]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ By default this port compiles the "Make and Play Edition" which does not include the main campaign.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ To play the main campaign, use +campaign variant which makes the game non-redistributable.
</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>