Commits

Nils Breunese authored and Frank Schima committed c5d3fea5bd5
openjdk8: replace graalvm with openjdk*-graalvm subports
No tags

java/graalvm/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 +PortGroup obsolete 1.0
4 5
5 6 name graalvm
7 +replaced_by openjdk8-graalvm
6 8 version 19.3.0
7 -revision 0
8 -
9 -categories java devel
10 -maintainers {breun.nl:nils @breun} {@hcarvalhoalves gmail.com:hcarvalhoalves} openmaintainer
11 -platforms darwin
12 -license GPL-2
13 -supported_archs x86_64
14 -
15 -description GraalVM Community Edition
16 -
17 -long_description GraalVM is a universal virtual machine for running applications written in \
18 - JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Clojure, \
19 - Kotlin, and LLVM-based languages such as C and C++.
20 -homepage https://www.graalvm.org/
21 -
22 -master_sites https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${version}/
23 -
24 -checksums rmd160 0d6e88a4a9227ab7a515d84409b4f279d4a6a016 \
25 - sha256 6c43063148368dc537a58706fcbf332583371ebb32dfdb78017e6a80e139658b \
26 - size 356582812
27 -
28 -distname ${name}-ce-java8-darwin-amd64-${version}
29 -worksrcdir ${name}-ce-java8-${version}
30 -
31 -use_configure no
32 -
33 -build {}
34 -
35 -# macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, which is not under ${prefix}.
36 -destroot.violate_mtree yes
37 -
38 -configure.cxx_stdlib libstdc++
39 -
40 -set target /Library/Java/JavaVirtualMachines/${name}
41 -set destroot_target ${destroot}${target}
42 -
43 -destroot {
44 - xinstall -m 755 -d ${destroot_target}
45 - copy ${worksrcpath}/Contents ${destroot_target}
46 -}
47 -
48 -notes "
49 -If you have more than one JDK installed you can make GraalVM the default\
50 -by adding the following line to your Bash shell profile (~/.bash_profile):
51 -
52 - export JAVA_HOME=${target}/Contents/Home
53 -"
9 +revision 1
10 +categories java devel

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut