blob: 9196320d2d5b5c9a47785776b7165dc585ee1878 (
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
|
# $NetBSD: Makefile,v 1.6 2020/09/15 20:09:00 ryoon Exp $
DISTNAME= openjdk-15_linux-x64_bin
PKGNAME= ${DISTNAME:S/_linux-x64_bin//:S/openjdk-/openjdk-bin-/}
CATEGORIES= lang
MASTER_SITES= https://download.java.net/java/GA/jdk15/779bf45e88a44cbd9ea6621d33e33db1/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 java javac javadoc javah javap jcmd jhat jmap jps jstack \
keytool orbd policytool rmid rmiregistry servertool tnameserv
do-install:
cd ${WRKSRC} && pax -rwp ma . ${DESTDIR}${JAVA_HOME}
.include "../../mk/java-env.mk"
.include "../../mk/bsd.pkg.mk"
|