Files
Vadym-Valdis Yudaiev f44db94c88 dotnet*: update maintainers (add BjarneDMat, remove tsabirgaliev)
Add Bjarne (@BjarneDMat) as a maintainer actively maintaining these
ports recently.

The Tair (@tsabirgaliev) has previously stated several times that he
does not use .NET, and it can be removed from maintainers, for example:
See https://github.com/macports/macports-ports/pull/29353#issuecomment-3301862653
2025-10-21 01:27:33 +03:00

71 lines
2.5 KiB
Tcl

# -*- 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
PortSystem 1.0
name dotnet-runtime-6
version 6.0.36
revision 0
categories dotnet
license MIT
maintainers {@judaew judaew} openmaintainer
description .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
long_description .NET is a free, cross-platform, open source developer platform \
for building many different types of applications. \
\
With .NET, you can use multiple languages, editors, and libraries \
to build for web, mobile, desktop, games, and IoT.
homepage https://dotnet.microsoft.com/
platforms {darwin any} {darwin >= 19}
supported_archs x86_64 arm64
switch ${build_arch} {
x86_64 {
distname dotnet-runtime-${version}-osx-x64
checksums rmd160 cb77ad40b66afd26fbd2f30b5458935dedebb47e \
sha256 4aa499f1e10e941bde250e1493bb4156791186790a34fb89c219e7765a9b97cd \
size 30108326
}
arm64 {
distname dotnet-runtime-${version}-osx-arm64
checksums rmd160 4e28c6c0d594aa4cb07cd717220650a9b4a843f1 \
sha256 c4ea0b90326de8d90ee7d821f722add96a2f7c35f02c67f3ae0b697764290a4e \
size 28255302
}
default {
known_fail yes
pre-fetch {
ui_error "${subport} @ ${version} only supported for architectures ${supported_archs}"
return -code error "Unsupported architecture: ${build_arch}"
}
}
}
master_sites https://builds.dotnet.microsoft.com/dotnet/Runtime/${version}/
worksrcdir ${name}-${version}
extract.mkdir yes
use_configure no
depends_run port:dotnet-cli
build {}
destroot {
set dotnet_home ${prefix}/share/dotnet
set hostfxr_dir /host/fxr
set runtime_dir /shared/Microsoft.NETCore.App
xinstall -d ${destroot}${dotnet_home}${hostfxr_dir}
xinstall -d ${destroot}${dotnet_home}${runtime_dir}
move ${worksrcpath}${hostfxr_dir}/${version} ${destroot}${dotnet_home}${hostfxr_dir}
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/download/dotnet/6.0
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"