aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2014-04-10 13:15:56 +0800
committerglewis <glewis@FreeBSD.org>2014-04-10 13:15:56 +0800
commitf442d33acfb376cb4f290a2aee0e874ae6fa0dcb (patch)
tree1f15c70f59e9f7038ad244a94d48c10caf4edf49 /java
parent886c4d278ca8e0f255e1b140de11ad9a94679373 (diff)
downloadfreebsd-ports-gnome-f442d33acfb376cb4f290a2aee0e874ae6fa0dcb.tar.gz
freebsd-ports-gnome-f442d33acfb376cb4f290a2aee0e874ae6fa0dcb.tar.zst
freebsd-ports-gnome-f442d33acfb376cb4f290a2aee0e874ae6fa0dcb.zip
. Replace hardcoding of "8" with ${JRE_VERSION}
Diffstat (limited to 'java')
-rw-r--r--java/linux-oracle-jre18/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/linux-oracle-jre18/Makefile b/java/linux-oracle-jre18/Makefile
index d02aa67d0fb3..e6abf49a9ec2 100644
--- a/java/linux-oracle-jre18/Makefile
+++ b/java/linux-oracle-jre18/Makefile
@@ -14,7 +14,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
NO_CDROM= License does not allow distribution with fee
RESTRICTED= Redistribution of repackaged binaries not permitted
-PKGNAMESUFFIX= 18
+PKGNAMESUFFIX= 1${JRE_VERSION}
WRKSRC= ${WRKDIR}/jre${DL_JRE_VERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
@@ -26,7 +26,7 @@ USES= shebangfix
ONLY_FOR_ARCHS= i386 amd64
JRE_VERSION= 8
-JRE_INTERNAL_VERSION= 1.8.0
+JRE_INTERNAL_VERSION= 1.${JRE_VERSION}.0
JRE_UPDATE_VERSION= 0
DL_JRE_VERSION= ${JRE_INTERNAL_VERSION}
DOWNLOAD_URL= http://www.oracle.com/technetwork/java/javase/downloads/index.html