blob: caccd54c7cc0d65233a60e26432a29111a3b24c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.7 2021/04/10 18:21:44 ryoon Exp $
DISTNAME= openjdk-16_linux-x64_bin
PKGNAME= ${DISTNAME:S/_linux-x64_bin//:S/openjdk-/openjdk-bin-/}
CATEGORIES= lang
MASTER_SITES= https://download.java.net/java/GA/jdk16/7863447f0ab643c585b9bdebf67c69db/36/GPL/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://jdk.java.net/
COMMENT= Official OpenJDK Java binary distribution
LICENSE= gnu-gpl-v2 # with classpath exception
WRKSRC= ${WRKDIR}/jdk-${PKGVERSION_NOREV}
BUILD_DIRS= # empty; instead of NO_BUILD=yes to create wrappers
# Contains pre-built binaries
CHECK_RELRO_SUPPORTED= no
CHECK_SHLIBS_SUPPORTED= no
CHECK_SSP_SUPPORTED= no
CTF_SUPPORTED= no
EMUL_PLATFORMS= linux-x86_64
EMUL_MODULES.linux= compat locale x11
USE_TOOLS+= pax
USE_LANGUAGES= # none
JAVA_NAME= openjdk-bin
JAVA_HOME= ${PREFIX}/java/${JAVA_NAME}
INSTALLATION_DIRS+= ${JAVA_HOME}
JAVA_WRAPPERS= jar jarsigner java javac javadoc javap jcmd jconsole jdb \
jdeprscan jdeps jfr jimage jinfo jlink jmap jmod jps \
jrunscript jshell jstack jstat jstatd keytool rmid \
rmiregistry serialver
do-install:
cd ${WRKSRC} && pax -rwp ma . ${DESTDIR}${JAVA_HOME}
.include "../../mk/java-env.mk"
.include "../../mk/bsd.pkg.mk"
|