aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2017-01-03 07:04:41 +0800
committerglewis <glewis@FreeBSD.org>2017-01-03 07:04:41 +0800
commit892093e67bfb3b65a28eee0aea3265d83e263e28 (patch)
tree385296620ddaa3efdef89a973a431783cfc1f46b
parentcab5d02e73bfc6ce8a23c2c1364da44041c7d341 (diff)
downloadfreebsd-ports-gnome-892093e67bfb3b65a28eee0aea3265d83e263e28.tar.gz
freebsd-ports-gnome-892093e67bfb3b65a28eee0aea3265d83e263e28.tar.zst
freebsd-ports-gnome-892093e67bfb3b65a28eee0aea3265d83e263e28.zip
. Add support for powerpc64.
PR: 215417 Submitted by: Curtis Hamilton Approved by: Maintainer timeout
-rw-r--r--java/bootstrap-openjdk/Makefile15
-rw-r--r--java/bootstrap-openjdk/distinfo.powerpc643
2 files changed, 15 insertions, 3 deletions
diff --git a/java/bootstrap-openjdk/Makefile b/java/bootstrap-openjdk/Makefile
index 6b692943057b..e1b2602b05b6 100644
--- a/java/bootstrap-openjdk/Makefile
+++ b/java/bootstrap-openjdk/Makefile
@@ -4,24 +4,25 @@ PORTNAME= ${JDK_NAME}
PORTVERSION= ${DISTVERSION_${JDK_ARCH}}
PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= LOCAL/jkim
+MASTER_SITES= ${JDK_MASTER_SITES}
PKGNAMEPREFIX= bootstrap-
DISTNAME= ${JDK_PORT}-${JDK_ARCH}-${PORTVERSION}
MAINTAINER= jkim@FreeBSD.org
-COMMENT= Oracle's Java 6 virtual machine release under the GPL v2
+COMMENT= Oracle\'s Java 6 virtual machine release under the GPL v2
LICENSE= GPLv2
RUN_DEPENDS= java-zoneinfo>0:java/java-zoneinfo
BUNDLE_LIBS= yes
-ONLY_FOR_ARCHS= amd64 armv6 armv6hf i386
+ONLY_FOR_ARCHS= amd64 armv6 armv6hf i386 powerpc64
DISTINFO_FILE= ${.CURDIR}/distinfo.${JDK_ARCH}
DISTVERSION_amd64= r351880
DISTVERSION_arm= r378760
DISTVERSION_i386= r351880
+DISTVERSION_powerpc64= r407937
JDK_ARCH= ${ARCH:C/armv6.*/arm/}
JDK_NAME= openjdk
@@ -43,6 +44,8 @@ PLIST_SUB+= LIBSTDCXX="@comment "
.include <bsd.port.pre.mk>
+JDK_MASTER_SITES= LOCAL/jkim
+
.if ${ARCH:Marmv6*}
JDK_PORT= openjdk7
.else
@@ -55,6 +58,12 @@ PLIST_SUB+= CLIENTVM=""
PLIST_SUB+= CLIENTVM="@comment "
.endif
+.if ${ARCH} == "powerpc64"
+JDK_PORT= openjdk7
+JDK_NAME= openjdk
+JDK_MASTER_SITES= LOCAL/glewis/bootstrap-openjdk
+.endif
+
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR} "${EXCLUDE_EXP}"
@cd ${WRKSRC} && ${COPYTREE_BIN} "bin jre/bin" ${INSTALLDIR}
diff --git a/java/bootstrap-openjdk/distinfo.powerpc64 b/java/bootstrap-openjdk/distinfo.powerpc64
new file mode 100644
index 000000000000..b36354faa14b
--- /dev/null
+++ b/java/bootstrap-openjdk/distinfo.powerpc64
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483398184
+SHA256 (openjdk7-powerpc64-r407937.tar.xz) = e0d547f1ed83738fd30bd8382603dbd076b329cd232588e159c4e7c6f728c4fd
+SIZE (openjdk7-powerpc64-r407937.tar.xz) = 32765212