aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-09 17:28:09 +0800
committermiwi <miwi@FreeBSD.org>2009-09-09 17:28:09 +0800
commitbbee3e5872f023057aec8d694eeddd59aa3fec4e (patch)
tree99717fea164ee635e3dcc211a060964c40163a5f /games
parent4cbcad043aa3869eaaa4e98fc41e4e5f56a9e42d (diff)
downloadfreebsd-ports-gnome-bbee3e5872f023057aec8d694eeddd59aa3fec4e.tar.gz
freebsd-ports-gnome-bbee3e5872f023057aec8d694eeddd59aa3fec4e.tar.zst
freebsd-ports-gnome-bbee3e5872f023057aec8d694eeddd59aa3fec4e.zip
- Update to 1.7.3.1
PR: 138556 Submitted by: Glen Barber <glen.j.barber@gmail.com> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/robocode/Makefile13
-rw-r--r--games/robocode/distinfo6
-rw-r--r--games/robocode/pkg-message10
-rw-r--r--games/robocode/pkg-plist29
4 files changed, 46 insertions, 12 deletions
diff --git a/games/robocode/Makefile b/games/robocode/Makefile
index 27853ed57f55..4e1615e8ae3c 100644
--- a/games/robocode/Makefile
+++ b/games/robocode/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= robocode
-PORTVERSION= 1.6.2
-PORTREVISION= 3
+PORTVERSION= 1.7.1.3
+PORTREVISION= 4
CATEGORIES= games java
MASTER_SITES= SF
-DISTNAME= ${PORTNAME}-setup-${PORTVERSION}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-setup
EXTRACT_SUFX= .jar
MAINTAINER= glen.j.barber@gmail.com
@@ -32,9 +32,6 @@ INSTFILES= battles javadoc license robocode.ico \
SUB_FILES= robocode.sh
-post-extract:
- @cd ${WRKSRC} && ${JAR} xf ${WRKSRC}/extract.jar
-
do-install:
@cd ${WRKSRC} && \
${FIND} ${INSTFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \;
@@ -42,4 +39,8 @@ do-install:
${FIND} ${INSTFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
@${INSTALL_SCRIPT} ${WRKDIR}/robocode.sh ${PREFIX}/bin/robocode
+post-install:
+ ${MKDIR} -m a+rwx ${DATADIR}/compilers ${DATADIR}/config
+ ${CAT} pkg-message
+
.include <bsd.port.mk>
diff --git a/games/robocode/distinfo b/games/robocode/distinfo
index 5257504d2554..adca4424e0d2 100644
--- a/games/robocode/distinfo
+++ b/games/robocode/distinfo
@@ -1,3 +1,3 @@
-MD5 (robocode-setup-1.6.2.jar) = 99c4555c183d231d73b563e4f2d1a32e
-SHA256 (robocode-setup-1.6.2.jar) = 37f3b47993b1e5f310a36717c3eec97131c60f0e4ef1bb0114fccc60f2c3ad1c
-SIZE (robocode-setup-1.6.2.jar) = 4312998
+MD5 (robocode-1.7.1.3-setup.jar) = 2668d765d2c4d64bc0cf49be0dff2acc
+SHA256 (robocode-1.7.1.3-setup.jar) = 0f186fdaba7eeb2c65f33dd0c228492ff8374b6b7fd499e0706486ce9f419297
+SIZE (robocode-1.7.1.3-setup.jar) = 4980342
diff --git a/games/robocode/pkg-message b/games/robocode/pkg-message
new file mode 100644
index 000000000000..7bd01d2ff8a6
--- /dev/null
+++ b/games/robocode/pkg-message
@@ -0,0 +1,10 @@
+
+ *****************************************************
+ This port requires a java compiler. By default,
+ robocode will look for the IBM Jikes compiler.
+
+ You can override this in the robocode compiler
+ preferences menu:
+
+ Robot -> Editor -> Compiler -> Options -> Preferences
+ *****************************************************
diff --git a/games/robocode/pkg-plist b/games/robocode/pkg-plist
index 623bcac43da8..7d8229c4b148 100644
--- a/games/robocode/pkg-plist
+++ b/games/robocode/pkg-plist
@@ -8,9 +8,11 @@ bin/robocode
%%DATADIR%%/javadoc/help-doc.html
%%DATADIR%%/javadoc/index-all.html
%%DATADIR%%/javadoc/index.html
+%%DATADIR%%/javadoc/options
%%DATADIR%%/javadoc/overview-frame.html
%%DATADIR%%/javadoc/overview-summary.html
%%DATADIR%%/javadoc/overview-tree.html
+%%DATADIR%%/javadoc/packages
%%DATADIR%%/javadoc/package-list
%%DATADIR%%/javadoc/resources/inherit.gif
%%DATADIR%%/javadoc/robocode/AdvancedRobot.html
@@ -48,6 +50,7 @@ bin/robocode
%%DATADIR%%/javadoc/robocode/MoveCompleteCondition.html
%%DATADIR%%/javadoc/robocode/PaintEvent.html
%%DATADIR%%/javadoc/robocode/RadarTurnCompleteCondition.html
+%%DATADIR%%/javadoc/robocode/RateControlRobot.html
%%DATADIR%%/javadoc/robocode/Robocode.html
%%DATADIR%%/javadoc/robocode/RobocodeFileOutputStream.html
%%DATADIR%%/javadoc/robocode/RobocodeFileWriter.html
@@ -63,6 +66,8 @@ bin/robocode
%%DATADIR%%/javadoc/robocode/WinEvent.html
%%DATADIR%%/javadoc/robocode/control/BattleSpecification.html
%%DATADIR%%/javadoc/robocode/control/BattlefieldSpecification.html
+%%DATADIR%%/javadoc/robocode/control/IRobocodeEngine.html
+%%DATADIR%%/javadoc/robocode/control/RandomFactory.html
%%DATADIR%%/javadoc/robocode/control/RobocodeEngine.html
%%DATADIR%%/javadoc/robocode/control/RobocodeListener.html
%%DATADIR%%/javadoc/robocode/control/RobotResults.html
@@ -129,9 +134,16 @@ bin/robocode
%%DATADIR%%/javadoc/robocode/util/package-tree.html
%%DATADIR%%/javadoc/serialized-form.html
%%DATADIR%%/javadoc/stylesheet.css
-%%DATADIR%%/libs/cachecleaner.jar
-%%DATADIR%%/libs/codesize.jar
+%%DATADIR%%/libs/codesize-1.1.jar
+%%DATADIR%%/libs/picocontainer-2.6.jar
%%DATADIR%%/libs/robocode.jar
+%%DATADIR%%/libs/robocode.battle-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.core-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.host-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.repository-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.sound-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.ui-1.7.1.3.jar
+%%DATADIR%%/libs/robocode.ui.editor-1.7.1.3.jar
%%DATADIR%%/libs/roborumble.jar
%%DATADIR%%/license/cpl-v10.html
%%DATADIR%%/robocode.ico
@@ -160,7 +172,8 @@ bin/robocode
%%DATADIR%%/robots/sample/RamFire.java
%%DATADIR%%/robots/sample/RamFire.properties
%%DATADIR%%/robots/sample/SittingDuck.class
-%%DATADIR%%/robots/sample/SittingDuck.html
+%%DATADIR%%/robots/sample/SittingDuck.data
+%%DATADIR%%/robots/sample/SittingDuck.data/count.dat
%%DATADIR%%/robots/sample/SittingDuck.java
%%DATADIR%%/robots/sample/SittingDuck.properties
%%DATADIR%%/robots/sample/SpinBot.class
@@ -176,6 +189,9 @@ bin/robocode
%%DATADIR%%/robots/sample/Tracker.class
%%DATADIR%%/robots/sample/Tracker.java
%%DATADIR%%/robots/sample/Tracker.properties
+%%DATADIR%%/robots/sample/VelociRobot.class
+%%DATADIR%%/robots/sample/VelociRobot.java
+%%DATADIR%%/robots/sample/VelociRobot.properties
%%DATADIR%%/robots/sample/Walls.class
%%DATADIR%%/robots/sample/Walls.java
%%DATADIR%%/robots/sample/Walls.properties
@@ -195,7 +211,9 @@ bin/robocode
%%DATADIR%%/robots/sampleex/ProxyOfGreyEminence.java
%%DATADIR%%/robots/sampleex/ProxyOfGreyEminence.properties
%%DATADIR%%/robots/sampleex/RegullarMonk.class
+%%DATADIR%%/robots/sampleex/RegullarMonk.java
%%DATADIR%%/robots/sampleex/Slave.class
+%%DATADIR%%/robots/sampleex/Slave.java
%%DATADIR%%/robots/sampleteam/MyFirstDroid.class
%%DATADIR%%/robots/sampleteam/MyFirstDroid.java
%%DATADIR%%/robots/sampleteam/MyFirstLeader.class
@@ -209,6 +227,7 @@ bin/robocode
%%DATADIR%%/templates/newrobot.tpt
%%DATADIR%%/versions.txt
@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%/robots/sample/SittingDuck.data
@dirrm %%DATADIR%%/robots/sampleteam
@dirrm %%DATADIR%%/robots/sampleex
@dirrm %%DATADIR%%/robots/sample
@@ -224,5 +243,9 @@ bin/robocode
@dirrm %%DATADIR%%/javadoc/robocode
@dirrm %%DATADIR%%/javadoc/resources
@dirrm %%DATADIR%%/javadoc
+@dirrm %%DATADIR%%/config
+@dirrm %%DATADIR%%/compilers
@dirrm %%DATADIR%%/battles
@dirrm %%DATADIR%%
+@exec mkdir -p %D/%%DATADIR%%/config
+@exec mkdir -p %D/%%DATADIR%%/compilers