aboutsummaryrefslogtreecommitdiffstats
path: root/games/robocode
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-21 01:36:41 +0800
committersobomax <sobomax@FreeBSD.org>2003-02-21 01:36:41 +0800
commit9c875bb8c468da77a9fa3991be9c8fa56f919032 (patch)
tree0017e4b7688b5b5aa36fc27caee5cda0cd074a36 /games/robocode
parent49dd6d1eeb99dee12cbfbcd09c788eac1c897524 (diff)
downloadfreebsd-ports-graphics-9c875bb8c468da77a9fa3991be9c8fa56f919032.tar.gz
freebsd-ports-graphics-9c875bb8c468da77a9fa3991be9c8fa56f919032.tar.zst
freebsd-ports-graphics-9c875bb8c468da77a9fa3991be9c8fa56f919032.zip
Use USE_JAVA.
Diffstat (limited to 'games/robocode')
-rw-r--r--games/robocode/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/robocode/Makefile b/games/robocode/Makefile
index 0425d48dfd9..ea1218dd6fd 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