Skip to content
Permalink
Browse files

openjdk10: Add openjdk11 sub-port

 - Use https for homepage
  • Loading branch information
mf2k committed Oct 1, 2018
1 parent 88eb463 commit a073ac39075702065bb824be9c9341ca8af3d3c4
Showing with 34 additions and 13 deletions.
  1. +34 −13 java/openjdk10/Portfile
@@ -4,29 +4,48 @@ PortSystem 1.0

name openjdk10
version 10.0.2
set openjdk_version 10

subport openjdk11 {
version 11
set openjdk_version 11
set build 28
}

categories java devel
maintainers {breun.nl:nils @breun} openmaintainer
platforms darwin
license GPL-2
supported_archs x86_64

description Open Java Development Kit 10
description Open Java Development Kit ${openjdk_version}

long_description Production-ready, free and open-source build of the Java \
Development Kit, an implementation of the Java Standard \
Edition (SE) 10 Platform. OpenJDK is the official reference \
Edition (SE) ${openjdk_version} Platform. OpenJDK is the official reference \
implementation of Java SE. Included components are the \
HotSpot virtual machine, the Java class library and the Java \
compiler.
compiler.

homepage https://jdk.java.net/${openjdk_version}/

homepage http://jdk.java.net/10/
master_sites https://download.java.net/java/GA/jdk10/${version}/19aef61b38124481863b1413dce1855f/13/
distname openjdk-${version}_osx-x64_bin
if {${subport} eq ${name}} {
# openjdk10
master_sites https://download.java.net/java/GA/jdk10/${version}/19aef61b38124481863b1413dce1855f/13/
distname openjdk-${version}_osx-x64_bin

checksums rmd160 d29498411adc487bf8191adbc4276c72602022cf \
sha256 77ea7675ee29b85aa7df138014790f91047bfdafbc997cb41a1030a0417356d7 \
size 200916897
checksums rmd160 d29498411adc487bf8191adbc4276c72602022cf \
sha256 77ea7675ee29b85aa7df138014790f91047bfdafbc997cb41a1030a0417356d7 \
size 200916897
} else {
# openjdk11
master_sites https://download.java.net/java/GA/jdk${version}/${build}/GPL/
distname openjdk-${version}+${build}_osx-x64_bin

checksums rmd160 c914d38c78b2943c7b47ff2da4e8da89438f96cd \
sha256 6b969d2df6a9758d9458f5ba47939250e848dfba8b49e41c935cf210606b6d38 \
size 182717049
}

worksrcdir jdk-${version}.jdk

@@ -43,10 +62,12 @@ destroot {
copy ${worksrcpath} ${target}
}

notes "
Warning: Support for OpenJDK 10.x has reached end of life and there will be no more updates.
Please consider upgrading to a supported OpenJDK version.
"
if {${subport} eq ${name}} {
notes "
Warning: Support for OpenJDK 10.x has reached end of life and there will be no more updates.
Please consider upgrading to a supported OpenJDK version.
"
}

livecheck.type regex
livecheck.url ${homepage}

0 comments on commit a073ac3

Please sign in to comment.
You can’t perform that action at this time.