mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-14 04:21:18 +02:00
added firefox78, openjdk17, llvm13; updated libnss, libnspr, rustc
This commit is contained in:
48
java/bootstrap-openjdk17/Makefile
Normal file
48
java/bootstrap-openjdk17/Makefile
Normal file
@@ -0,0 +1,48 @@
|
||||
PORTNAME= openjdk17
|
||||
PORTVERSION= 17.0.1.12.1
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= LOCAL/glewis/bootstrap-openjdk17 \
|
||||
LOCAL/pkubaj/bootstrap-openjdk17
|
||||
PKGNAMEPREFIX= bootstrap-
|
||||
DISTNAME= ${JDK_PORT}-${JDK_ARCH}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= java@FreeBSD.org
|
||||
COMMENT= Java Development Kit 17
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
|
||||
|
||||
USES= tar:xz
|
||||
|
||||
NO_BUILD= yes
|
||||
PLIST_SUB= JDK_ROOT=${JDK_ROOT}
|
||||
WRKSRC= ${WRKDIR}/${JDK_ROOT}
|
||||
|
||||
JDK_PORT= ${PKGNAMEPREFIX}${PORTNAME}
|
||||
JDK_ROOT= ${PKGNAMEPREFIX}${PORTNAME}
|
||||
JDK_ARCH= ${ARCH:C/armv.*/arm/}${JDK_ARCH_SUFFIX_${ARCH}}
|
||||
JDK_ARCH_SUFFIX_powerpc64= -${PPC_ABI:tl}
|
||||
|
||||
INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH:Mpowerpc64*}
|
||||
PLIST_SUB+= NOT_PPC64="@comment "
|
||||
.else
|
||||
PLIST_SUB+= NOT_PPC64=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == i386
|
||||
PLIST_SUB+= NOT_I386="@comment "
|
||||
.else
|
||||
PLIST_SUB+= NOT_I386=""
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_BIN} bin ${INSTALLDIR}
|
||||
@${CHMOD} a+x ${INSTALLDIR}/lib/jspawnhelper
|
||||
|
||||
.include <bsd.port.mk>
|
||||
Reference in New Issue
Block a user