aboutsummaryrefslogtreecommitdiff
path: root/games/jtans
diff options
context:
space:
mode:
Diffstat (limited to 'games/jtans')
-rw-r--r--games/jtans/Makefile2
-rw-r--r--games/jtans/files/jtans.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/jtans/Makefile b/games/jtans/Makefile
index 2091275d9542..590605654396 100644
--- a/games/jtans/Makefile
+++ b/games/jtans/Makefile
@@ -24,7 +24,7 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
USE_JAVA= yes
-JAVA_VERSION= 1.3+
+JAVA_VERSION= 1.5+
NO_BUILD= yes
SUB_FILES= jtans.sh
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
diff --git a/games/jtans/files/jtans.sh.in b/games/jtans/files/jtans.sh.in
index 195a4bf9de64..54b5eb612bf0 100644
--- a/games/jtans/files/jtans.sh.in
+++ b/games/jtans/files/jtans.sh.in
@@ -2,4 +2,4 @@
#
# $FreeBSD$
-JAVA_VERSION="1.3+" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/jtans_appli-1.0.jar"
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/jtans_appli-1.0.jar"