<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/84f4e54fa84258b73adf5727e2446e244dec4d2c">https://github.com/macports/macports-ports/commit/84f4e54fa84258b73adf5727e2446e244dec4d2c</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 84f4e54fa84 openjdk20-zulu: obsolete, replaced by openjdk21-zulu
</span>84f4e54fa84 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 84f4e54fa84258b73adf5727e2446e244dec4d2c
</span>Author: Nils Breunese <nils@breun.nl>
AuthorDate: Wed Oct 18 11:58:00 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> openjdk20-zulu: obsolete, replaced by openjdk21-zulu
</span>---
java/openjdk20-zulu/Portfile | 105 ++++---------------------------------------
1 file changed, 9 insertions(+), 96 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk20-zulu/Portfile b/java/openjdk20-zulu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7f90ecfc0bc..84f11001234 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk20-zulu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk20-zulu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,98 +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-zulu
</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://www.azul.com/downloads/?version=java-20-sts&os=macos&package=jdk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20.32.11
</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;'>-set openjdk_version 20.0.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Azul Zulu Community OpenJDK 20 (Short Term Support)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description AzulĀ® ZuluĀ® is a Java Development Kit (JDK), and a compliant implementation of the Java Standard Edition (SE)\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- specification that contains all the Java components needed to build and run Java SE applications. Zulu has been\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- verified by passing all tests of the OpenJDK Community Technology Compatibility Kit (TCK) as available for each\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- respective Java SE version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://cdn.azul.com/zulu/bin/
</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 zulu${version}-ca-jdk${openjdk_version}-macosx_x64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 232cec730f1bfb0d53fc23a3cb866792e46f5f1c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 12ff4a1ba0efb819ec66b3a0b8bb0ed4a433b9d1c205c24dc0a878e489e99dfa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 205278797
</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 zulu${version}-ca-jdk${openjdk_version}-macosx_aarch64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 c9978c8d529386e4420402ae6e5511d0fdc673c9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d79b8d67ab8c7d2012577414daada803f8c19363c21ce7d28e7d4663bffba886 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 202801603
</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 ${distname}/zulu-20.jdk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.azul.com/downloads/
</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://cdn.azul.com/zulu/bin/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex zulu(20\.\[0-9\.\]+)-ca-jdk\[0-9\.\]+-macosx_.*\.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-azul-zulu.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-zulu
</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.32.11
</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-zulu
</span></pre><pre style='margin:0'>
</pre>