<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/1a78bb36321c9e857e7a84ca7f6ed1bf5873c14f">https://github.com/macports/macports-ports/commit/1a78bb36321c9e857e7a84ca7f6ed1bf5873c14f</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 1a78bb36321 armagetronad: Use the right extract commands
</span>1a78bb36321 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1a78bb36321c9e857e7a84ca7f6ed1bf5873c14f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jan 14 14:58:24 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> armagetronad: Use the right extract commands
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Extract bzip2 files with bzip2; extract xz files with xz. Fixes extract
</span><span style='display:block; white-space:pre;color:#404040;'> failure on OS X 10.8 and earlier.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Specify tag for primary distfile's master_sites.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use debian fetch group.
</span>---
games/armagetronad/Portfile | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/armagetronad/Portfile b/games/armagetronad/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e59c16e3ad4..b9081da8ad3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/armagetronad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/armagetronad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup boost 1.0
</span>
github.setup ArmagetronAd armagetronad 0.2.9.1.0 v
github.tarball_from releases
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span> extract.suffix .tbz
set pretty_name "Armagetron Advanced"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,19 +45,28 @@ subport ${name}-dedicated {
</span> running the game.
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${distname}${extract.suffix}:${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums ${distfiles} \
</span> rmd160 76eed9dd9fe6d888eba0fae67696040ec1eccb7d \
sha256 59b6c7c01ce3f8cca5437e33f974a637529541a11aa4f52c1a5c17499e26f6a1 \
size 1943758
<span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.only ${distfiles}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${distfiles}:${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${master_sites}:${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {$subport ne "${name}-common"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- master_sites-append http://deb.debian.org/debian/pool/main/a/${name}:debian_pkg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles-append ${name}_${version}-2.debian.tar.xz:debian_pkg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums-append ${name}_${version}-2.debian.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites-append debian:a/${name}:debian_pkg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debfile ${name}_${version}-2.debian.tar.xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append ${debfile}:debian_pkg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append ${debfile} \
</span> rmd160 cc1151617b372d61b6b02b647adb699fdfba3ea0 \
sha256 28b778440ee2d7a8657fec2a8a468723017645a98259a7afac9fa67841a6c36f \
size 29852
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_extract-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin:xz:xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath} "xz -dc [shellescape ${distpath}/${debfile}] | ${portutil::autoconf::tar_command} -xf -"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
depends_build-append port:autoconf \
</pre><pre style='margin:0'>
</pre>