<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d24415f8b6db07b7ad843e886bd8e7cac3a7c260">https://github.com/macports/macports-ports/commit/d24415f8b6db07b7ad843e886bd8e7cac3a7c260</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 d24415f8b6d warzone2100: new port
</span>d24415f8b6d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d24415f8b6db07b7ad843e886bd8e7cac3a7c260
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Sat Dec 25 12:33:46 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> warzone2100: new port
</span>---
games/warzone2100/Portfile | 310 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 310 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/warzone2100/Portfile b/games/warzone2100/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..00759aedc3d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/warzone2100/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,310 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name warzone2100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pretty_name "Warzone 2100"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers @jasonliu--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://wz2100.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description 3-D real-time strategy game
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-music {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description music soundtrack files for $pretty_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-videos {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description in-game cinematic sequences for $pretty_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description In $pretty_name, you take on the role of a member \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of a group named \"The Project\", in a battle to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rebuild the world after mankind has nearly been \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroyed by nuclear missiles. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n\nThe game offers campaign, tutorial, and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ single- and multi-player skirmish modes. An \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extensive tech tree with over 400 different \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ technologies, combined with the unit design \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system, allows for a wide variety of possible \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ units and tactics.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq ${name} || $subport eq "${name}-music"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup github 1.0
</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 {$subport eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup Warzone2100 ${name} 4.2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${name}_src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 d7da2987f506b6d01acac759c7e286eb8fee9945 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9e61e5fd093c2a7724f640c5f1cb8f533394c4d371d1593f835356fc7f36be8d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 338584212
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:asciidoctor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:miniupnpc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext-runtime \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlite3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sqlitecpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:re2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libfmt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openal-soft \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libogg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libvorbis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtheora \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsodium \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libutf8proc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:physfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-music \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-videos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prevent the upstream source from trying to compile these as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # internal libraries, since we have made them available as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # dependencies through MacPorts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dep [list utf8proc fmt SQLiteCpp] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/add_subdirectory.$dep/,/set_property.*$dep/d" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/3rdparty/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/target_link_lib.*fmt/i\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ target_link_libraries(${name} utf8proc)\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ find_package(fmt REQUIRED)\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|(#include.*)utf8proc/utf8proc|\1utf8proc|} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/framework/wzstring.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {/SET.RE2_BUILD_TESTING/,/set_property.*re2.*XCODE_ATTRIBUTE_WARNING_CFLAGS/d} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/3rdparty/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s/re2::re2/re2/} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/CMakeLists.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/netplay/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {/include_directories.*glm/d} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The following method to create a conditional to test for an
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Apple Clang version number was taken from the mpiutil 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # PortGroup.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.compiler} eq "clang"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set compiler_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [compiler.command_line_tools_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${configure.compiler}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp $compiler_version 900.0.37] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The '-Wunguarded-availability' flag was introduced in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xcode 9, so if we are compiling using an older Xcode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # we need to remove this #pragma line.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {/Wunguarded-availability/d} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/framework/cocoa_wrapper.mm
</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 {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {/pragma.*push/,/pragma.*pop/d} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/framework/cocoa_wrapper.mm
</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;'>+ # Compile Objective-C files with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Automatic Reference Counting turned on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/cocoa_wrapper.mm/i\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \\ add_compile_options(\"-fobjc-arc\")\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/framework/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/cocoa_wz_menus.mm/i\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \\ add_compile_options(\"-fobjc-arc\")\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/sdl/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove the "Check for a newer version" button
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {/Check for a newer version/d} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/frontend.cpp
</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 -DWZ_DISTRIBUTOR=MacPorts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWZ_ENABLE_WARNINGS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWZ_ENABLE_BACKEND_VULKAN=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ^
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Unfortunately, we have to disable compiling with Vulkan support,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # because currently the vulkan ports are only at version 1.1.112,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and warzone requires one that is newer.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {exec grep MACOSX_BUNDLE_BUNDLE_NAME \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/CMakeLists.txt} result]} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp {MACOSX_BUNDLE_BUNDLE_NAME "(.*)"} $result match \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ executable_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {exec grep MACOSX_BUNDLE_GUI_IDENTIFIER \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/CMakeLists.txt} result]} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp {MACOSX_BUNDLE_GUI_IDENTIFIER "(.*)"} $result match \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bundle_identifier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach re [list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s/\$(EXECUTABLE_NAME)/$executable_name/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s/\$(PRODUCT_BUNDLE_IDENTIFIER)/$bundle_identifier/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s/\$(MACOSX_DEPLOYMENT_TARGET)/${macosx_deployment_target}/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace $re ${build.dir}/src/Warzone-Info.plist
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move "${destroot}${prefix}/$pretty_name.app" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set app_contents "${applications_dir}/$pretty_name.app/Contents"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete -force ${destroot}$app_contents/Resources/data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/share/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}$app_contents/Resources/data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete -force ${destroot}$app_contents/Resources/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/share/doc/${name} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}$app_contents/Resources/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/.portable \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}$app_contents/MacOS/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s "$app_contents/MacOS/$pretty_name" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete -force ${destroot}${prefix}/share/${name}/music
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For whatever unknown reason, the upstream source code doesn't
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # overwrite the CMake-generated Info.plist file, after going to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the trouble of generating one themselves. So we do it manually
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # here.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${build.dir}/src/Warzone-Info.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}$app_contents/Info.plist
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "${name}-music"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup Warzone2100 data-music \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 68e157c79f6db989120aad9e0b7ad6251c0bf721
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 0.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n\nThis package ($subport) contains the music \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ soundtrack files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 1c76033dc721c8e049d6effe02d95d823d9ab212 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 40cb829187464f361bdb2c0a9e36207b2e7bd19507454be60c89054f3e3b47b9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 141931427
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set music_dir ${prefix}/share/${name}/music
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}$music_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/menu.ogg ${destroot}$music_dir/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/albums ${destroot}$music_dir/
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "${name}-videos"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 0.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n\nThis package ($subport) contains the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in-game video sequences. All videos were made \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from the original 320x160 source material. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* The high quality videos are just upscaled \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and filtered. Do not expect miracles. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* The standard quality videos are pretty \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close to the original videos, plus some \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ filtering. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* The low quality videos use a much lower \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bitrate.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname sequences
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Note: A .wz file is just a .zip with a custom file extension
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.suffix .wz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sf_vids_subdir project/${name}/${name}/Videos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant high conflicts standard low \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Install high quality videos} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidquality high-quality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidlang en
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites sourceforge:$sf_vids_subdir/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir ${name}/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant standard conflicts high low \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Install standard quality videos} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidquality standard-quality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset de]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidlang de
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidlang en
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites sourceforge:$sf_vids_subdir/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir ${name}/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant low conflicts high standard \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Install low quality videos} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidquality low-quality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set vidlang en
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites sourceforge:$sf_vids_subdir/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist_subdir ${name}/$vidquality-$vidlang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant de requires standard conflicts high low \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Installieren Sie die Videosequenzen mit den deutschsprachigen Audiodaten} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +high
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset high]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 ac26f1e00849b84cc5b761a3e5471e733d8d3ef1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 90ff552ca4a70e2537e027e22c5098ea4ed1bc11bb7fc94138c6c941a73d29fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 964260204
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset standard]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset de]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 1a5e557507b057dde28859da628cffe8317b6768 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d285c85ffa57a5663ac11073ef954afb97097089306877860e8e9d9119116fd8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 499187492
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7350fa47b0dc0db631ad22763039e29bf420a847 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 571937134
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[variant_isset low]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 88ea130925e4a886f0063dc923c794aef068519a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4a1939a1e401f3b0f68736ff19689abed5e1e9d3dfe4fc07b04953c0dfaf7ad6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 169607304
</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;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset high] && ![variant_isset standard] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset low]} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "You must install this port with one of the video quality variants selected!"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "No video quality variant selected"
</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;'>+ extract {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${distpath}/${distfiles} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/${name}/
</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>