aboutsummaryrefslogtreecommitdiffstats
path: root/games/robocode/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-03-05 22:46:44 +0800
committersobomax <sobomax@FreeBSD.org>2002-03-05 22:46:44 +0800
commitae8caf4a5c343d127ef6810a6cbc9aa86aa4f072 (patch)
treeb06bb315087a34182c13a6ffbdf1c11cabc7b7b6 /games/robocode/Makefile
parent030476e405d090b00d4a6b08f83ed439433e6680 (diff)
downloadfreebsd-ports-gnome-ae8caf4a5c343d127ef6810a6cbc9aa86aa4f072.tar.gz
freebsd-ports-gnome-ae8caf4a5c343d127ef6810a6cbc9aa86aa4f072.tar.zst
freebsd-ports-gnome-ae8caf4a5c343d127ef6810a6cbc9aa86aa4f072.zip
Update to 0.98.3.
Diffstat (limited to 'games/robocode/Makefile')
-rw-r--r--games/robocode/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/games/robocode/Makefile b/games/robocode/Makefile
index cbf607b8d3ff..15513571b4cb 100644
--- a/games/robocode/Makefile
+++ b/games/robocode/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= robocode
-PORTVERSION= 0.97.3
+PORTVERSION= 0.98.3
CATEGORIES= games java
MASTER_SITES= ftp://dragon.adtech.internet.ibm.com/pub/robocode/
-DISTNAME= setup
+DISTNAME= robocode-setup
EXTRACT_SUFX= .jar
MAINTAINER= sobomax@FreeBSD.org
@@ -27,6 +27,9 @@ RESTRICTED= "Redistribution isn't permitted - see license for details"
NO_WRKSUBDIR= yes
NO_BUILD= yes
+INSTFILES= battles compilers javadoc license.html robocode.ico \
+ robocode.jar robots templates versions.txt
+
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally redistribute package"
.endif
@@ -39,9 +42,9 @@ do-configure:
${FILESDIR}/robocode.sh > ${WRKDIR}/robocode.sh
do-install:
- @${MKDIR} ${PREFIX}/share/java
- @cd ${WRKSRC} && ${TAR} -c -f - robocode | \
- ${TAR} --unlink -x -f - -C ${PREFIX}/share/java
+ @${MKDIR} ${PREFIX}/share/java/robocode
+ @cd ${WRKSRC} && ${TAR} -c -f - ${INSTFILES} | \
+ ${TAR} --unlink -x -f - -C ${PREFIX}/share/java/robocode
@${INSTALL_SCRIPT} ${WRKDIR}/robocode.sh ${PREFIX}/bin/robocode
post-install: