aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk11/Makefile')
-rw-r--r--java/jdk11/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index c68310cc06a2..b5d7c167aef5 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -3,10 +3,10 @@
# Date created: Feb, 8, 1998
# Whom: Nate Williams <nate@FreeBSD.org>
#
-# $Id: Makefile,v 1.19 1999/04/16 19:53:30 nate Exp $
+# $Id: Makefile,v 1.20 1999/06/08 16:15:19 nate Exp $
#
-DISTNAME= jdk-1.1.8
+DISTNAME= jdk-${JDK_VERSION}
CATEGORIES= lang devel
#MASTER_SITES= ftp://ftp.nuxi.com/pub/FreeBSD/JDK/ \
MASTER_SITES= http://www.freebsd.org/java/
@@ -15,20 +15,23 @@ MAINTAINER= nate@freebsd.org
NO_CDROM= "License doesn't allow distribution with fee"
-WRKSRC= ${WRKDIR}/jdk1.1.8
+JDK_VERSION= 1.1.8
+PLIST_SUB+= JDK_VERSION=${JDK_VERSION}
+
+WRKSRC= ${WRKDIR}/jdk${JDK_VERSION}
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
-DISTFILES= jdk1.1.8_AOUT.V99-6-3.tar.gz
+DISTFILES= jdk${JDK_VERSION}_AOUT.V99-6-3.tar.gz
.else
-DISTFILES= jdk1.1.8_ELF.V99-6-3.tar.gz
+DISTFILES= jdk${JDK_VERSION}_ELF.V99-6-3.tar.gz
.endif
do-install:
- ${MKDIR} ${PREFIX}/jdk1.1.8
+ ${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
(cd ${WRKSRC} && tar -c -f - .) \
- | (cd ${PREFIX}/jdk1.1.8 && tar fx -)
+ | (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)
.include <bsd.port.post.mk>