aboutsummaryrefslogtreecommitdiff
path: root/java/gj/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-08-11 14:56:52 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-08-11 14:56:52 +0000
commitc059d83ae5b914e508c0f4503da6f6ef95a522a1 (patch)
treeae42ceba973a6646e16973a5eeb86c1da946f92b /java/gj/Makefile
parent52cb522a6ee3dcae84486a9aeb5abdb5c5715c3b (diff)
downloadports-c059d83ae5b914e508c0f4503da6f6ef95a522a1.tar.gz
ports-c059d83ae5b914e508c0f4503da6f6ef95a522a1.zip
Notes
Diffstat (limited to 'java/gj/Makefile')
-rw-r--r--java/gj/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/gj/Makefile b/java/gj/Makefile
index 7f779d08811b..10593ae0043c 100644
--- a/java/gj/Makefile
+++ b/java/gj/Makefile
@@ -5,10 +5,11 @@
# $FreeBSD$
#
-PORTNAME= gj-${JDKSUBDIR}
+PORTNAME= gj
PORTVERSION= 0.6m
CATEGORIES= java
MASTER_SITES= http://www.cis.unisa.edu.au/~pizza/gj/Distribution/
+PKGNAMESUFFIX= -${JDKSUBDIR}
DISTNAME= gjdist${GJDIST}
MAINTAINER= vs@FreeBSD.org
@@ -17,18 +18,20 @@ COMMENT= Extension of the Java programming language that supports generic types
WRKSRC= ${WRKDIR}/gj
NO_BUILD= YES
+USE_JAVA= yes
.if defined(GJ_WITH_JDK11)
GJDIST= 1.1
-USE_JAVA= 1.1
BINSUFX= 11
+JAVA_VERSION= 1.1
.else
GJDIST= 1.2
-USE_JAVA= 1.2+
+JAVA_VERSION= 1.2+
.endif
JDKSUBDIR= jdk${GJDIST}
PLIST_SUB+= JDKSUBDIR=${JDKSUBDIR}
+PLIST_FILES?= bin/gjc bin/gjcr bin/gj
do-install:
${MKDIR} ${PREFIX}/lib/gj/${JDKSUBDIR}