<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b5941d8a21f00164b357b5e16f2460ee917490c5">https://github.com/macports/macports-ports/commit/b5941d8a21f00164b357b5e16f2460ee917490c5</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 b5941d8a21f dart-sdk: update to 2.17.0, add arm64 support
</span>b5941d8a21f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b5941d8a21f00164b357b5e16f2460ee917490c5
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Thu May 12 09:33:43 2022 +0900
<span style='display:block; white-space:pre;color:#404040;'> dart-sdk: update to 2.17.0, add arm64 support
</span>---
lang/dart-sdk/Portfile | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/dart-sdk/Portfile b/lang/dart-sdk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 91c3004c607..f301f431d09 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/dart-sdk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/dart-sdk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name dart-sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.16.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.17.0
</span> categories lang
license BSD
maintainers {amake @amake} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ long_description Dart is an open-source, scalable programming language, \
</span> server, and mobile apps.
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64 arm64
</span>
homepage https://dart.dev/
master_sites https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,28 +23,27 @@ use_zip yes
</span> dist_subdir ${name}/${version}
worksrcdir ${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1a45a3450157c153a81debc0c52aaea8fa73e350 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 018bc1a063dccd5a1f7c86bf06ce4660aad6a7dc441c10d8271eab1afa48746d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 196873312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname dartsdk-macos-x64-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 fb907b40063153dc5b1b52cb00b0cc4b60a26c6e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3f06b15101c852145608ecb7215746b51c8ff4bb6c72aa1424f3997debcdef1b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 193401093
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname dartsdk-macos-arm64-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7568722bcbdb67cefaa132630ffeae89f6b036da \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5977f449d4841cc68945f54580acdbf526382c18dfd713b93a48bf77328c10c6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 177849597
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
use_configure no
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix permissions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse dir ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file isdirectory ${dir}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file attributes ${dir} -permissions 0755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> destroot {
set libexecdir ${prefix}/libexec/${name}
copy ${worksrcpath} ${destroot}${libexecdir}
ln -s ${libexecdir}/bin/dart ${destroot}${prefix}/bin
foreach bin [glob -tails -directory ${destroot}${libexecdir}/bin pub dart?*] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${filespath}/shim.in ${destroot}${prefix}/bin/${bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${filespath}/shim.in ${destroot}${prefix}/bin/${bin}
</span> reinplace "s|@@BIN@@|${libexecdir}/bin/${bin}|g" ${destroot}${prefix}/bin/${bin}
}
}
</pre><pre style='margin:0'>
</pre>