summaryrefslogtreecommitdiff
path: root/games/robocode/files/robocode.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/robocode/files/robocode.sh')
-rw-r--r--games/robocode/files/robocode.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/robocode/files/robocode.sh b/games/robocode/files/robocode.sh
new file mode 100644
index 000000000000..25633e71bc8d
--- /dev/null
+++ b/games/robocode/files/robocode.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# $FreeBSD$
+CLASSPATH=${CLASSPATH}:robocode.jar:tools.jar:.
+export CLASSPATH
+
+cd %%PREFIX%%/share/java/robocode
+exec %%JAVAVM%% robocode.Robocode "$@"