<pre style='margin:0'>
Vadym-Valdis Yudaiev (judaew) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/06eedd50894593a4cf2294b6375c3bb5dbc7e568">https://github.com/macports/macports-ports/commit/06eedd50894593a4cf2294b6375c3bb5dbc7e568</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 06eedd50894593a4cf2294b6375c3bb5dbc7e568
</span>Author: Vadym-Valdis Yudaiev <judaew@outlook.de>
AuthorDate: Thu Feb 23 22:31:23 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> dotnet-runtime-7: New port (version 7.0.3)
</span>---
dotnet/dotnet-runtime-7/Portfile | 64 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/dotnet/dotnet-runtime-7/Portfile b/dotnet/dotnet-runtime-7/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e195a63b7b9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/dotnet/dotnet-runtime-7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,64 @@
</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 dotnet-runtime-7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 7.0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories dotnet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@tsabirgaliev gmail.com:tair.sabirgaliev} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {@judaew judaew} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description .NET is a free, cross-platform, open source developer platform \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for building many different types of applications. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ With .NET, you can use multiple languages, editors, and libraries \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to build for web, mobile, desktop, games, and IoT.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://dotnet.microsoft.com/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64 arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+switch ${build_arch} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname dotnet-runtime-${version}-osx-x64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 8cb9736ac693d02ff8a47c178a73d2c2269755cf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 befd6a557ee8a468f768f5223beb709b41f68a5488fbb0b62ff6b2cedd8fcd93 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 30834606
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ arm64 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname dotnet-runtime-${version}-osx-arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 b114134441984d1dfbd0fd1f400cc038722e74cf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e1d4a2c1931ca98bd1728a965b974cd40610c2b63f3c22021fc520d7e1b516fb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 29156526
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} @ ${version} only supported for architectures ${supported_archs}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "Unsupported architecture: ${build_arch}"
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://dotnetcli.azureedge.net/dotnet/Runtime/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.mkdir yes
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:dotnet-cli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</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;'>+ set dotnet_home ${prefix}/share/dotnet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set runtime_dir /shared/Microsoft.NETCore.App
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${dotnet_home}${runtime_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>