<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3a24c0f5cc8ec98b1ecab564698739d4ceb6f0c7">https://github.com/macports/macports-ports/commit/3a24c0f5cc8ec98b1ecab564698739d4ceb6f0c7</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 3a24c0f5cc8 openjdk20-sap: obsolete, replaced by openjdk21-sap
</span>3a24c0f5cc8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3a24c0f5cc8ec98b1ecab564698739d4ceb6f0c7
</span>Author: Nils Breunese <nils@breun.nl>
AuthorDate: Wed Oct 18 11:55:16 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> openjdk20-sap: obsolete, replaced by openjdk21-sap
</span>---
java/openjdk20-sap/Portfile | 100 ++++----------------------------------------
1 file changed, 9 insertions(+), 91 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk20-sap/Portfile b/java/openjdk20-sap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2715179a26e..e16ca873ce3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk20-sap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk20-sap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,93 +1,11 @@
</span> # -*- 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 style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name openjdk20-sap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories java devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {breun.nl:nils @breun} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms {darwin any}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This port uses prebuilt binaries; 'NoMirror' makes sure MacPorts doesn't mirror/distribute these third-party binaries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2 NoMirror
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This port uses prebuilt binaries for a particular architecture; they are not universal binaries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64 arm64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://sap.github.io/SapMachine/latest/20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description SAP Machine 20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description An OpenJDK 20 release maintained and supported by SAP
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://github.com/SAP/SapMachine/releases/download/sapmachine-${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${configure.build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distname sapmachine-jdk-${version}_macos-x64_bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 38f2ac23deaa728a7cfbbdca9dbfc071d4d98221 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3565914dffecafbccb31c7768b8efd804ee47144cff8a593685d06f6945ece94 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 189349299
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distname sapmachine-jdk-${version}_macos-aarch64_bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 ce87c75024c6d0ac396374b9e2263825775b6f19 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5cedd9a935ed094df5f6ccecbb937f1c65b0db11ede2ca3e1a41de92084c42c6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 187089134
</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;'>-worksrcdir sapmachine-jdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://sap.github.io/SapMachine/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url https://github.com/SAP/SapMachine/releases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex sapmachine-jdk-(20\.\[0-9\.\]+)_macos-.*_bin\.tar\.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant Applets \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description { Advertise the JVM capability "Applets".} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant BundledApp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description { Advertise the JVM capability "BundledApp". This is required by some java-based app bundles to recognize and use the JVM.} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant JNI \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description { Advertise the JVM capability "JNI". This is required by some java-based app bundles to recognize and use the JVM.} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant WebStart \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description { Advertise the JVM capability "WebStart".} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach var { Applets BundledApp JNI WebStart } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset ${var}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s|^(\[\[:space:\]\]*<string>)CommandLine(</string>)|\\1${var}\\2\\\n\\1CommandLine\\2|" ${worksrcpath}/Contents/Info.plist
</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><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.cmd Contents/Home/bin/java
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.args -version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, which is not under ${prefix}.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set jvms /Library/Java/JavaVirtualMachines
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set jdk ${jvms}/jdk-20-sapmachine.jdk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}${jdk}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/Contents ${destroot}${prefix}${jdk}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, so let's create a symlink there
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${jvms}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}${jdk} ${destroot}${jdk}
</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;'>-notes "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you have more than one JDK installed you can make ${name} the default\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-by adding the following line to your shell profile:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- export JAVA_HOME=${jdk}/Contents/Home
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Remove after 2024-04-18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name openjdk20-sap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories java devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by openjdk21-sap
</span></pre><pre style='margin:0'>
</pre>