summaryrefslogtreecommitdiff
path: root/games/robocode/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2003-02-20 17:36:41 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2003-02-20 17:36:41 +0000
commit05f58c7e8993902c688ae79b2bb8cd67dedf0395 (patch)
tree424276c490f4b8468272239ebadc14a1180acc2f /games/robocode/Makefile
parentUse tk83 instead of tk82. (diff)
Use USE_JAVA.
Diffstat (limited to '')
-rw-r--r--games/robocode/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/robocode/Makefile b/games/robocode/Makefile
index 0425d48dfd90..ea1218dd6fd2 100644
--- a/games/robocode/Makefile
+++ b/games/robocode/Makefile
@@ -14,12 +14,10 @@ EXTRACT_SUFX= .jar
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk13
-RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk13
+USE_JAVA= 1.3+
-JDK13DIR?= ${LOCALBASE}/linux-sun-jdk1.3.1
-JAVAVM= ${JDK13DIR}/bin/java
-JAVAJAR= ${JDK13DIR}/bin/jar
+JAVAVM= ${JAVA_HOME}/bin/java
+JAVAJAR= ${JAVA_HOME}/bin/jar
USE_ZIP= yes
USE_XLIB= yes