summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/blackjackclient/Makefile2
-rw-r--r--games/blackjackclient/files/BlackjackClient.sh.in2
-rw-r--r--games/castlevox/Makefile3
-rw-r--r--games/castlevox/files/CastleVox.in2
-rw-r--r--games/dmjava/Makefile1
-rw-r--r--games/domination/Makefile2
-rw-r--r--games/domination/files/domination-FlashGUI.in2
-rw-r--r--games/domination/files/domination-Increment1GUI.in2
-rw-r--r--games/domination/files/domination-SimpleGUI.in2
-rw-r--r--games/domination/files/domination-SwingGUI.in2
-rw-r--r--games/freecol/Makefile1
-rw-r--r--games/java-games-suite/Makefile2
-rw-r--r--games/java-games-suite/files/java-games-suite.sh.in12
-rw-r--r--games/jchessboard/Makefile3
-rw-r--r--games/jchessboard/files/jchessboard.in2
-rw-r--r--games/jin/Makefile5
-rw-r--r--games/jin/files/jin.in1
-rw-r--r--games/jinput/Makefile1
-rw-r--r--games/jtans/Makefile3
-rw-r--r--games/jtans/files/jtans.sh.in2
-rw-r--r--games/jutils/Makefile2
-rw-r--r--games/lwjgl/Makefile1
-rw-r--r--games/moagg/Makefile1
-rw-r--r--games/pcgen/Makefile2
-rw-r--r--games/pcgen/files/pcgen.sh.in2
-rw-r--r--games/rescue/Makefile2
-rw-r--r--games/rescue/files/rescue.in2
-rw-r--r--games/robocode-naval/Makefile2
-rw-r--r--games/robocode-naval/files/robocode-NavalRobocode.in2
-rw-r--r--games/robocode/Makefile2
-rw-r--r--games/robocode/files/robocode-MeleeRumble.in2
-rw-r--r--games/robocode/files/robocode-RoboRumble.in2
-rw-r--r--games/robocode/files/robocode-Robocode.in2
-rw-r--r--games/robocode/files/robocode-TeamRumble.in2
-rw-r--r--games/robocode/files/robocode-TwinDuel.in2
-rw-r--r--games/spicetrade/Makefile3
-rw-r--r--games/spicetrade/files/spicetrade.in3
-rw-r--r--games/stendhal/Makefile1
38 files changed, 25 insertions, 62 deletions
diff --git a/games/blackjackclient/Makefile b/games/blackjackclient/Makefile
index c85ef501c2bc..302e85d1d8e1 100644
--- a/games/blackjackclient/Makefile
+++ b/games/blackjackclient/Makefile
@@ -3,6 +3,7 @@
PORTNAME= BlackjackClient
PORTVERSION= 0.1
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF/t-blackjack/
DISTNAME= t-blackjack-beta
@@ -14,7 +15,6 @@ LICENSE= GPLv2
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.7+
PLIST_FILES= bin/${PORTNAME} \
${JAVAJARDIR}/${PORTNAME}.jar
SUB_FILES= ${PORTNAME}.sh
diff --git a/games/blackjackclient/files/BlackjackClient.sh.in b/games/blackjackclient/files/BlackjackClient.sh.in
index 03fbe19cc410..e8290e473b1f 100644
--- a/games/blackjackclient/files/BlackjackClient.sh.in
+++ b/games/blackjackclient/files/BlackjackClient.sh.in
@@ -1,3 +1,3 @@
#!/bin/sh
-JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/BlackjackClient.jar"
+"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/BlackjackClient.jar"
diff --git a/games/castlevox/Makefile b/games/castlevox/Makefile
index 8590c4374d29..43cf94949fdf 100644
--- a/games/castlevox/Makefile
+++ b/games/castlevox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= CastleVox
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games java
MASTER_SITES= http://sillysoft.net/download/
DISTNAME= ${PORTNAME}-linux
@@ -14,7 +14,6 @@ COMMENT= Fast world domination game
BROKEN= unfetchable
USE_JAVA= yes
-JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_ARCH= yes
diff --git a/games/castlevox/files/CastleVox.in b/games/castlevox/files/CastleVox.in
index b172a695b295..212854bfe301 100644
--- a/games/castlevox/files/CastleVox.in
+++ b/games/castlevox/files/CastleVox.in
@@ -2,7 +2,5 @@
#
# $FreeBSD$
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/VoxCore.jar" "${@}"
diff --git a/games/dmjava/Makefile b/games/dmjava/Makefile
index 3d39c1933580..e7d768eb84be 100644
--- a/games/dmjava/Makefile
+++ b/games/dmjava/Makefile
@@ -16,7 +16,6 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.6+
NO_BUILD= yes
do-install:
diff --git a/games/domination/Makefile b/games/domination/Makefile
index 51f331987c89..57435e327d87 100644
--- a/games/domination/Makefile
+++ b/games/domination/Makefile
@@ -3,6 +3,7 @@
PORTNAME= domination
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/d/D/}/${PORTVERSION}/:game \
http://domination.sourceforge.net/maps/
@@ -19,7 +20,6 @@ LICENSE= GPLv3
USES= dos2unix zip:infozip
DOS2UNIX_GLOB= *.txt *.ini *.htm *.cards *.map
USE_JAVA= yes
-JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:S/d/D/}
diff --git a/games/domination/files/domination-FlashGUI.in b/games/domination/files/domination-FlashGUI.in
index a08e233b672f..f096ce30f941 100644
--- a/games/domination/files/domination-FlashGUI.in
+++ b/games/domination/files/domination-FlashGUI.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-cp Domination.jar net.yura.domination.ui.flashgui.MainMenu "${@}"
diff --git a/games/domination/files/domination-Increment1GUI.in b/games/domination/files/domination-Increment1GUI.in
index ecdb1a119abc..273a09f655e5 100644
--- a/games/domination/files/domination-Increment1GUI.in
+++ b/games/domination/files/domination-Increment1GUI.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-cp Domination.jar net.yura.domination.ui.increment1gui.Increment1Frame "${@}"
diff --git a/games/domination/files/domination-SimpleGUI.in b/games/domination/files/domination-SimpleGUI.in
index 94da64833d50..f2475d8283f2 100644
--- a/games/domination/files/domination-SimpleGUI.in
+++ b/games/domination/files/domination-SimpleGUI.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-cp Domination.jar net.yura.domination.ui.simplegui.RiskGUI "${@}"
diff --git a/games/domination/files/domination-SwingGUI.in b/games/domination/files/domination-SwingGUI.in
index 93893d3ae09d..aa457f202589 100644
--- a/games/domination/files/domination-SwingGUI.in
+++ b/games/domination/files/domination-SwingGUI.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-cp Domination.jar net.yura.domination.ui.swinggui.SwingGUIFrame "${@}"
diff --git a/games/freecol/Makefile b/games/freecol/Makefile
index 18cce9d9e138..343ac77174b0 100644
--- a/games/freecol/Makefile
+++ b/games/freecol/Makefile
@@ -17,7 +17,6 @@ USES= zip
NO_BUILD= yes
SUB_FILES= freecol
USE_JAVA= yes
-JAVA_VERSION= 1.6+
PLIST_FILES= bin/freecol \
${DESKTOPDIR:S,^${PREFIX}/,,}/freecol.desktop
diff --git a/games/java-games-suite/Makefile b/games/java-games-suite/Makefile
index 5b3755f5fa5d..668ce0768ab6 100644
--- a/games/java-games-suite/Makefile
+++ b/games/java-games-suite/Makefile
@@ -3,6 +3,7 @@
PORTNAME= java-games-suite
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF/javagamessuite
@@ -13,7 +14,6 @@ USE_JAVA= yes
NO_ARCH= yes
-JAVA_VERSION= 1.6+
PLIST_FILES= bin/java-games-suite \
${JAVAJARDIR}/MM.jar \
${JAVAJARDIR}/reversi.jar \
diff --git a/games/java-games-suite/files/java-games-suite.sh.in b/games/java-games-suite/files/java-games-suite.sh.in
index b40581e68a3a..05338b6205ce 100644
--- a/games/java-games-suite/files/java-games-suite.sh.in
+++ b/games/java-games-suite/files/java-games-suite.sh.in
@@ -2,22 +2,22 @@
case "$1" in
mastermind)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/MM.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/MM.jar"
;;
reversi)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/reversi.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/reversi.jar"
;;
mine)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Mine.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Mine.jar"
;;
tetris)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Tetris.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Tetris.jar"
;;
rt)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/RT.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/RT.jar"
;;
number)
- JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Number.jar"
+ "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Number.jar"
;;
*)
echo $"Usage: $0 {mastermind|reversi|mine|tetris|rt|number}"
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
index 48358d06ac11..7029b7909e48 100644
--- a/games/jchessboard/Makefile
+++ b/games/jchessboard/Makefile
@@ -3,7 +3,7 @@
PORTNAME= jchessboard
PORTVERSION= 1.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= JChessBoard-${PORTVERSION}
@@ -16,7 +16,6 @@ LICENSE= GPLv2
USES= tar:tgz
USE_ANT= yes
USE_JAVA= yes
-JAVA_VERSION= 1.6+
USE_LOCALE= en_US.ISO8859-1
NO_ARCH= yes
diff --git a/games/jchessboard/files/jchessboard.in b/games/jchessboard/files/jchessboard.in
index 9e8df1122d8f..479e3eb53304 100644
--- a/games/jchessboard/files/jchessboard.in
+++ b/games/jchessboard/files/jchessboard.in
@@ -1,3 +1,3 @@
#!/bin/sh
-JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVASHAREDIR%%/%%PORTNAME%%/%%JARFILE%%"
+"%%LOCALBASE%%/bin/java" -jar "%%JAVASHAREDIR%%/%%PORTNAME%%/%%JARFILE%%"
diff --git a/games/jin/Makefile b/games/jin/Makefile
index 81dd71d454b2..feacc9f5bdd0 100644
--- a/games/jin/Makefile
+++ b/games/jin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= jin
PORTVERSION= 2.14.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -25,8 +25,7 @@ USE_ANT= yes
MAKE_ARGS+= -lib ${JAVAJARDIR}/bsh.jar
SUB_FILES= ${PORTNAME}
-SUB_LIST= JINJAR=${JINJAR:Q} \
- JAVA_VERSION=${JAVA_PORT_VERSION:R:C/^([^1])/1.\1/}
+SUB_LIST= JINJAR=${JINJAR:Q}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
diff --git a/games/jin/files/jin.in b/games/jin/files/jin.in
index 34a379b72b3d..de3c80167274 100644
--- a/games/jin/files/jin.in
+++ b/games/jin/files/jin.in
@@ -1,5 +1,4 @@
#!/bin/sh
# $FreeBSD$
cd %%DATADIR%%
-export JAVA_VERSION="%%JAVA_VERSION%%+"
exec "%%LOCALBASE%%/bin/java" -cp %%JAVAJARDIR%%/bsh.jar:%%JINJAR%% free.jin.JinApplication "$@"
diff --git a/games/jinput/Makefile b/games/jinput/Makefile
index f221db1f9554..8360011aeefd 100644
--- a/games/jinput/Makefile
+++ b/games/jinput/Makefile
@@ -17,7 +17,6 @@ BROKEN_armv7= fails to compile: build.xml: compilation failed
USES= tar:bzip2
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_OS= native
JAVA_VENDOR= openjdk
USE_ANT= yes
diff --git a/games/jtans/Makefile b/games/jtans/Makefile
index cd83510d5aa3..ef1f1ffaa718 100644
--- a/games/jtans/Makefile
+++ b/games/jtans/Makefile
@@ -3,7 +3,7 @@
PORTNAME= jtans
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_appli-${PORTVERSION}
@@ -19,7 +19,6 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
USE_JAVA= yes
-JAVA_VERSION= 1.6+
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 54b5eb612bf0..294749152922 100644
--- a/games/jtans/files/jtans.sh.in
+++ b/games/jtans/files/jtans.sh.in
@@ -2,4 +2,4 @@
#
# $FreeBSD$
-JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/jtans_appli-1.0.jar"
+"%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/jtans_appli-1.0.jar"
diff --git a/games/jutils/Makefile b/games/jutils/Makefile
index 95daac4e90b2..32a19e63654e 100644
--- a/games/jutils/Makefile
+++ b/games/jutils/Makefile
@@ -18,7 +18,7 @@ USE_GITLAB= yes
GL_ACCOUNT= voidanix
GL_COMMIT= 3b2f176fdb76126c831a695b579267cf351624f5
-USE_JAVA= 6+
+USE_JAVA= yes
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
PLIST_DIRS= ${JAVAJARDIR}/${PORTNAME}
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile
index 0eebd2276865..3e7fee9059f0 100644
--- a/games/lwjgl/Makefile
+++ b/games/lwjgl/Makefile
@@ -29,7 +29,6 @@ USES= dos2unix zip xorg
DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
USE_JAVA= yes
USE_LDCONFIG= yes
-JAVA_VERSION= 1.7+
JAVA_OS= native
JAVA_VENDOR= openjdk
USE_ANT= yes
diff --git a/games/moagg/Makefile b/games/moagg/Makefile
index 61402187c848..b7f2b06b4d09 100644
--- a/games/moagg/Makefile
+++ b/games/moagg/Makefile
@@ -22,7 +22,6 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.6+
NO_BUILD= yes
PORTDOCS= AUTHORS README.txt
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 8a2e7e09c4aa..50ffdfc3e955 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -2,6 +2,7 @@
PORTNAME= pcgen
PORTVERSION= 6.06.01
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= https://github.com/PCGen/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME= pcgen-${PORTVERSION}-full
@@ -14,7 +15,6 @@ LICENSE= LGPL21
USES= zip
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_JAVA= yes
-JAVA_VERSION= 1.7+
NO_BUILD= yes
NO_ARCH= yes
diff --git a/games/pcgen/files/pcgen.sh.in b/games/pcgen/files/pcgen.sh.in
index cb626c00b07c..705dc40e29e8 100644
--- a/games/pcgen/files/pcgen.sh.in
+++ b/games/pcgen/files/pcgen.sh.in
@@ -4,4 +4,4 @@
[ \! -d "${HOME}/.pcgen" ] && mkdir "${HOME}/.pcgen"
cd "%%DATADIR%%"
-JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" ${PCGEN_OPTS} -jar ./pcgen.jar "$@"
+exec "%%LOCALBASE%%/bin/java" ${PCGEN_OPTS} -jar ./pcgen.jar "$@"
diff --git a/games/rescue/Makefile b/games/rescue/Makefile
index 0e1aa7e6a2c0..adecb8ff99c9 100644
--- a/games/rescue/Makefile
+++ b/games/rescue/Makefile
@@ -3,6 +3,7 @@
PORTNAME= rescue
PORTVERSION= 1.0.0.3
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/r/R/}%21%20Max/${PORTVERSION}/
DISTNAME= ${PORTNAME:S/r/R/}_${PORTVERSION}
@@ -17,7 +18,6 @@ LICENSE_FILE= ${WRKSRC}/gpl.txt
USES= dos2unix zip:infozip
DOS2UNIX_GLOB= *.txt *.htm *.css *.ini *.xml
USE_JAVA= yes
-JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:S/r/R/}
diff --git a/games/rescue/files/rescue.in b/games/rescue/files/rescue.in
index 205c080273a3..200eb591d3ed 100644
--- a/games/rescue/files/rescue.in
+++ b/games/rescue/files/rescue.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
-jar "%%DATADIR%%/Rescue.jar" "${@}"
diff --git a/games/robocode-naval/Makefile b/games/robocode-naval/Makefile
index f8e17575a917..25ab345b264a 100644
--- a/games/robocode-naval/Makefile
+++ b/games/robocode-naval/Makefile
@@ -2,6 +2,7 @@
PORTNAME= robocode
PORTVERSION= 0.9.2
+PORTREVISION= 1
DISTVERSIONSUFFIX= -setup
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/naval-robocode/${PORTVERSION}
@@ -19,7 +20,6 @@ PORTSCOUT= limit:^\d+\.\d+\.\d+$$
USES= dos2unix zip
DOS2UNIX_GLOB= *.css *.team *.properties package-list MANIFEST.MF
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_EXTRACT= yes
JAVA_RUN= yes
NO_WRKSUBDIR= yes
diff --git a/games/robocode-naval/files/robocode-NavalRobocode.in b/games/robocode-naval/files/robocode-NavalRobocode.in
index 485455ab88ed..419eae5818a7 100644
--- a/games/robocode-naval/files/robocode-NavalRobocode.in
+++ b/games/robocode-naval/files/robocode-NavalRobocode.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \
-cp "libs/robocode.jar" robocode.NavalRobocode "${@}"
diff --git a/games/robocode/Makefile b/games/robocode/Makefile
index e87d3327bbb9..a2902eba382a 100644
--- a/games/robocode/Makefile
+++ b/games/robocode/Makefile
@@ -3,6 +3,7 @@
PORTNAME= robocode
PORTVERSION= 1.9.3.7
+PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${DISTVERSION}-setup.jar
@@ -18,7 +19,6 @@ LICENSE_FILE= ${WRKSRC}/license/epl-v10.html
USES= dos2unix zip:infozip
DOS2UNIX_GLOB= *.css *.team *.properties package-list MANIFEST.MF
USE_JAVA= yes
-JAVA_VERSION= 1.6+
JAVA_EXTRACT= yes
JAVA_RUN= yes
NO_WRKSUBDIR= yes
diff --git a/games/robocode/files/robocode-MeleeRumble.in b/games/robocode/files/robocode-MeleeRumble.in
index aaf841419c3e..68195f06821f 100644
--- a/games/robocode/files/robocode-MeleeRumble.in
+++ b/games/robocode/files/robocode-MeleeRumble.in
@@ -3,8 +3,6 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx1024M \
-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \
roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt "${@}"
diff --git a/games/robocode/files/robocode-RoboRumble.in b/games/robocode/files/robocode-RoboRumble.in
index f435b4f37728..7198612eda04 100644
--- a/games/robocode/files/robocode-RoboRumble.in
+++ b/games/robocode/files/robocode-RoboRumble.in
@@ -3,8 +3,6 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \
-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \
roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt "${@}"
diff --git a/games/robocode/files/robocode-Robocode.in b/games/robocode/files/robocode-Robocode.in
index ba2645a19fd4..d4546cbfb6e2 100644
--- a/games/robocode/files/robocode-Robocode.in
+++ b/games/robocode/files/robocode-Robocode.in
@@ -3,7 +3,5 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \
-cp "libs/robocode.jar" robocode.Robocode "${@}"
diff --git a/games/robocode/files/robocode-TeamRumble.in b/games/robocode/files/robocode-TeamRumble.in
index f435b4f37728..7198612eda04 100644
--- a/games/robocode/files/robocode-TeamRumble.in
+++ b/games/robocode/files/robocode-TeamRumble.in
@@ -3,8 +3,6 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \
-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \
roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt "${@}"
diff --git a/games/robocode/files/robocode-TwinDuel.in b/games/robocode/files/robocode-TwinDuel.in
index 910a136ca357..d2f2b3163941 100644
--- a/games/robocode/files/robocode-TwinDuel.in
+++ b/games/robocode/files/robocode-TwinDuel.in
@@ -3,8 +3,6 @@
# $FreeBSD$
#
-export JAVA_VERSION="%%JAVA_VERSION%%"
-
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \
-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \
roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt "${@}"
diff --git a/games/spicetrade/Makefile b/games/spicetrade/Makefile
index 725694ba7ebe..a916d9429b40 100644
--- a/games/spicetrade/Makefile
+++ b/games/spicetrade/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spicetrade
PORTVERSION= 1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Spice%20Trade%20v${PORTVERSION}
DISTNAME= Spicetrade-${PORTVERSION}
@@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Colourful 14th century Arab spice trading game
USE_JAVA= yes
-JAVA_VERSION= 1.6+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
diff --git a/games/spicetrade/files/spicetrade.in b/games/spicetrade/files/spicetrade.in
index 4d14a4d8b01c..613dc8b5af84 100644
--- a/games/spicetrade/files/spicetrade.in
+++ b/games/spicetrade/files/spicetrade.in
@@ -2,5 +2,4 @@
#
# $FreeBSD$
-JAVA_VERSION="%%JAVA_VERSION%%" \
- exec "%%LOCALBASE%%/bin/java" -jar "%%JARFILE%%" "$@"
+exec "%%LOCALBASE%%/bin/java" -jar "%%JARFILE%%" "$@"
diff --git a/games/stendhal/Makefile b/games/stendhal/Makefile
index d991e28fadf5..fe8fc5ce7b27 100644
--- a/games/stendhal/Makefile
+++ b/games/stendhal/Makefile
@@ -16,7 +16,6 @@ LICENSE_COMB= multi
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_JAVA= yes
-JAVA_VERSION= 1.6+
USE_ANT= yes
USES= shebangfix