<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2b0bf25141d0ba212a0a3a9c0cb0575988ee6fc7">https://github.com/macports/macports-ports/commit/2b0bf25141d0ba212a0a3a9c0cb0575988ee6fc7</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 2b0bf25141d openjdk: rename to openjdk-distributions
</span>2b0bf25141d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2b0bf25141d0ba212a0a3a9c0cb0575988ee6fc7
</span>Author: Nils Breunese <nils@breun.nl>
AuthorDate: Mon Mar 7 16:17:55 2022 +0100
<span style='display:block; white-space:pre;color:#404040;'> openjdk: rename to openjdk-distributions
</span>---
java/{openjdk => openjdk-distributions}/Portfile | 43 +++++++++++++++++++-----
1 file changed, 34 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk/Portfile b/java/openjdk-distributions/Portfile
</span>similarity index 96%
rename from java/openjdk/Portfile
rename to java/openjdk-distributions/Portfile
<span style='display:block; white-space:pre;color:#808080;'>index 1121b5affba..7a63967941f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk-distributions/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name openjdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name openjdk-distributions
</span> categories java devel
maintainers {breun.nl:nils @breun} openmaintainer
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,8 +11,9 @@ license GPL-2 NoMirror
</span> # These ports use prebuilt binaries for a particular architecture, they are not universal binaries
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Latest Long Term Support (LTS) major version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Note: This is the version/revision for the parent stub only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
set long_description_corretto \
"No-cost, multiplatform, production-ready distribution of OpenJDK."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,8 +41,8 @@ set long_description_zulu \
</span> verified by passing all tests of the OpenJDK Community Technology Compatibility Kit (TCK) as available for each\
respective Java SE version."
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Dummy default values for the obsoleted openjdk port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set build 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Dummy default values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set build 0
</span> set openj9_version 0
set obsoleted_ports {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,11 +61,35 @@ set obsoleted_ports {
</span> if {${subport} in ${obsoleted_ports}} {
PortGroup obsolete 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by openjdk-distributions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} eq "openjdk"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # The openjdk port is not installable, but recommends users to install the latest Long Term Support (LTS) subport
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- replaced_by openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set meta true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Meta port encompassing binary OpenJDK releases"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "echo $subport is a stub port > ${docdir}/README"
</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;'>+ notes {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The openjdk-distributions port is not installable, but recommends users to install\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the latest Long Term Support (LTS) subport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
subport openjdk7-zulu {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -799,7 +824,7 @@ livecheck.type none
</span> use_configure no
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![info exists meta]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {!(${subport} in ${obsoleted_ports}) && ![info exists meta]} {
</span> if {![string match *-temurin ${subport}]} {
variant BundledApp \
description { Advertise the JVM capability "BundledApp". This is required by some java-based app bundles to recognize and use the JVM.} {}
</pre><pre style='margin:0'>
</pre>