Commits
Nils Breunese authored and Perry E. Metzger committed f1727c0aa4c
1 + | # -*- 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 |
2 + | |
3 + | PortSystem 1.0 |
4 + | |
5 + | name openjdk10 |
6 + | version 10.0.1 |
7 + | |
8 + | categories java devel |
9 + | maintainers {@breun breun.nl:nils} openmaintainer |
10 + | platforms darwin |
11 + | license GPL-2 |
12 + | supported_archs x86_64 |
13 + | |
14 + | description Open Java Development Kit 10 |
15 + | |
16 + | long_description Production-ready, free and open-source build of the Java \ |
17 + | Development Kit, an implementation of the Java Standard \ |
18 + | Edition (SE) 10 Platform. OpenJDK is the official reference \ |
19 + | implementation of Java SE. Included components are the \ |
20 + | HotSpot virtual machine, the Java class library and the Java \ |
21 + | compiler. |
22 + | |
23 + | homepage http://jdk.java.net/10/ |
24 + | master_sites https://download.java.net/java/GA/jdk10/${version}/fb4372174a714e6b8c52526dc134031e/10/ |
25 + | distname openjdk-${version}_osx-x64_bin |
26 + | |
27 + | checksums rmd160 00a1a8a0e63901ecdea7d013f8307ea601e83a55 \ |
28 + | sha256 650e06c203a9d2752d686dc62206580afdc909af924b7ea8573b1c671e182ab0 \ |
29 + | size 200863681 |
30 + | |
31 + | worksrcdir jdk-${version}.jdk |
32 + | |
33 + | use_configure no |
34 + | |
35 + | build {} |
36 + | |
37 + | # macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, which is not under ${prefix}. |
38 + | destroot.violate_mtree yes |
39 + | |
40 + | destroot { |
41 + | set target ${destroot}/Library/Java/JavaVirtualMachines |
42 + | xinstall -m 755 -d ${target} |
43 + | copy ${worksrcpath} ${target} |
44 + | } |
45 + | |
46 + | livecheck.type regex |
47 + | livecheck.url ${homepage} |
48 + | livecheck.regex "Java Development Kit, version (\\d+(?:\\.\\d+)*(?:-\\d+)?)" |