Date: Sun, 23 Mar 2014 15:16:06 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348860 - in head/games/robocode: . files Message-ID: <201403231516.s2NFG6h1052025@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sun Mar 23 15:16:06 2014 New Revision: 348860 URL: http://svnweb.freebsd.org/changeset/ports/348860 QAT: https://qat.redports.org/buildarchive/r348860/ Log: - Update to 1.9.1.0, announce message is here: http://sourceforge.net/projects/robocode/files/robocode/1.9.1.0/ - Change master sites, use supplied icons, i have wrote what is to change more in support-requests 22 - USES dos2unix instead of USE_DOS2UNIX, upstream have many fixed - Remove DOSC and Option, DOCS are used from within the game, so this is unconditional - Add files robocode-MeleeRumble, robocode-RoboRumble, robocode-Robocode, robocode-TeamRumble, robocode-TwinDuel, according to Upstream .sh files - Remove Desktop entry file, use supplied desktop files - Add pkg-deinstall - Change pkg-message, remove deinstallation information, add Warning Added: head/games/robocode/files/pkg-deinstall.in (contents, props changed) head/games/robocode/files/robocode-MeleeRumble.in (contents, props changed) head/games/robocode/files/robocode-RoboRumble.in (contents, props changed) head/games/robocode/files/robocode-Robocode.in (contents, props changed) head/games/robocode/files/robocode-TeamRumble.in (contents, props changed) head/games/robocode/files/robocode-TwinDuel.in (contents, props changed) Deleted: head/games/robocode/files/robocode-sh.in Modified: head/games/robocode/Makefile head/games/robocode/distinfo head/games/robocode/files/pkg-message.in head/games/robocode/pkg-plist Modified: head/games/robocode/Makefile ============================================================================== --- head/games/robocode/Makefile Sun Mar 23 15:09:50 2014 (r348859) +++ head/games/robocode/Makefile Sun Mar 23 15:16:06 2014 (r348860) @@ -2,58 +2,53 @@ # $FreeBSD$ PORTNAME= robocode -PORTVERSION= 1.8.3.0 +PORTVERSION= 1.9.1.0 CATEGORIES= games java -MASTER_SITES= SF \ - SF/nemysisfreebsdp/:icons -DISTFILES= ${PORTNAME}-${DISTVERSION}-setup.jar \ - ${PORTNAME}.png:icons +MASTER_SITES= SF +DISTFILES= ${PORTNAME}-${DISTVERSION}-setup.jar DIST_SUBDIR= java -EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-setup.jar MAINTAINER= nemysis@FreeBSD.org COMMENT= Game for learning Java[tm] programming language LICENSE= EPL -USES= zip +USES= dos2unix zip +DOS2UNIX_GLOB= *.html *.css *.team package-list USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_EXTRACT= yes JAVA_RUN= yes NO_WRKSUBDIR= yes NO_BUILD= yes -USE_DOS2UNIX= *.html *.MF *.battle *.java *.txt *.properties *.tpt -PORTDOCS= ReadMe.html ReadMe.txt versions.md DATADIR= ${JAVASHAREDIR}/${PORTNAME} PLIST_SUB= PORTVERSION=${PORTVERSION} -SUB_FILES= ${PORTNAME}-sh pkg-message - -DESKTOP_ENTRIES="Robocode" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;StrategyGame;" false - -OPTIONS_DEFINE= DOCS +SUB_FILES= ${PORTNAME}-MeleeRumble ${PORTNAME}-RoboRumble \ + ${PORTNAME}-Robocode ${PORTNAME}-TeamRumble \ + ${PORTNAME}-TwinDuel pkg-deinstall pkg-message do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-* \ + ${STAGEDIR}${PREFIX}/bin/ -.for d in battles compilers javadoc libs license roborumble robots templates +.for d in battles compilers javadoc libs license roborumble robots \ + templates theme @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor -.for d in *.ico *.sh versions.md - @(${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}) +.for f in *.ico *.sh ReadMe.* versions.md + @(${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}) .endfor - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${WRKSRC}/desktop/*.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/desktop/*.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + @${MKDIR} ${STAGEDIR}${DATADIR}/config @(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 775 config roborumble robots) @${CHMOD} +x ${STAGEDIR}${DATADIR}/*.sh - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - .include <bsd.port.mk> Modified: head/games/robocode/distinfo ============================================================================== --- head/games/robocode/distinfo Sun Mar 23 15:09:50 2014 (r348859) +++ head/games/robocode/distinfo Sun Mar 23 15:16:06 2014 (r348860) @@ -1,4 +1,2 @@ -SHA256 (java/robocode-1.8.3.0-setup.jar) = b6e6bdafec55f924e2b49edb37e85906773b7cf9fc900b837eac2cfcd4b7cd51 -SIZE (java/robocode-1.8.3.0-setup.jar) = 5317001 -SHA256 (java/robocode.png) = f828749aacde1f1ee58a0f838e1e0e60bf2950153e3891687ff8a1734d3fcfa7 -SIZE (java/robocode.png) = 1823 +SHA256 (java/robocode-1.9.1.0-setup.jar) = 0d342be7176cbd6d3f5fd79b4ce864194114018012a0b4b9a81099fb1bba6b61 +SIZE (java/robocode-1.9.1.0-setup.jar) = 5432274 Added: head/games/robocode/files/pkg-deinstall.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/pkg-deinstall.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,18 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +if [ "$2" = "POST-DEINSTALL" ]; then + echo "" + echo "" + echo "===============================================================================" + echo "" + echo "After deinstallation, some files may stay in %%DATADIR%%," + echo "you can delete them with" + echo "" + echo " /bin/rm -fr %%DATADIR%%" + echo "" + echo "===============================================================================" + echo "" +fi Modified: head/games/robocode/files/pkg-message.in ============================================================================== --- head/games/robocode/files/pkg-message.in Sun Mar 23 15:09:50 2014 (r348859) +++ head/games/robocode/files/pkg-message.in Sun Mar 23 15:16:06 2014 (r348860) @@ -10,9 +10,8 @@ You can override this in the Robocode co Robot -> Editor -> Compiler -> Options -> Preferences -After deinstallation, some files may stay in %%DATADIR%%, -you can delete them with +Attention not all with Rumble games works, this is work in Progress. - /bin/rm -fr %%DATADIR%% +Have fun! ============================================================================== Added: head/games/robocode/files/robocode-MeleeRumble.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-MeleeRumble.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx1024M \ +-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \ +roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt "${@}" Added: head/games/robocode/files/robocode-RoboRumble.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-RoboRumble.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \ +-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \ +roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt "${@}" Added: head/games/robocode/files/robocode-Robocode.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-Robocode.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,9 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \ +-cp "libs/robocode.jar" robocode.Robocode "${@}" Added: head/games/robocode/files/robocode-TeamRumble.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-TeamRumble.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \ +-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \ +roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt "${@}" Added: head/games/robocode/files/robocode-TwinDuel.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robocode/files/robocode-TwinDuel.in Sun Mar 23 15:16:06 2014 (r348860) @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +export JAVA_VERSION="%%JAVA_VERSION%%" + +cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" -Xmx512M \ +-cp "libs/robocode.jar:libs/roborumble.jar:libs/codesize-1.1.jar" \ +roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt "${@}" Modified: head/games/robocode/pkg-plist ============================================================================== --- head/games/robocode/pkg-plist Sun Mar 23 15:09:50 2014 (r348859) +++ head/games/robocode/pkg-plist Sun Mar 23 15:16:06 2014 (r348860) @@ -1,4 +1,15 @@ -bin/robocode +bin/robocode-MeleeRumble +bin/robocode-RoboRumble +bin/robocode-Robocode +bin/robocode-TeamRumble +bin/robocode-TwinDuel +share/applications/robocodeMeleeRumble.desktop +share/applications/robocodeRoboRumble.desktop +share/applications/robocodeRobocode.desktop +share/applications/robocodeTeamRumble.desktop +share/applications/robocodeTwinDuel.desktop +%%DATADIR%%/ReadMe.html +%%DATADIR%%/ReadMe.txt %%DATADIR%%/battles/intro.battle %%DATADIR%%/battles/sample.battle %%DATADIR%%/compilers/CompilerTest.java @@ -19,6 +30,7 @@ bin/robocode %%DATADIR%%/javadoc/robocode/BattleEndedEvent.html %%DATADIR%%/javadoc/robocode/BattleResults.html %%DATADIR%%/javadoc/robocode/BattleRules.html +%%DATADIR%%/javadoc/robocode/BorderSentry.html %%DATADIR%%/javadoc/robocode/Bullet.html %%DATADIR%%/javadoc/robocode/BulletHitBulletEvent.html %%DATADIR%%/javadoc/robocode/BulletHitEvent.html @@ -181,6 +193,7 @@ bin/robocode %%DATADIR%%/robots/sample/Interactive_v2$Direction.class %%DATADIR%%/robots/sample/Interactive_v2.class %%DATADIR%%/robots/sample/Interactive_v2.java +%%DATADIR%%/robots/sample/Interactive_v2.properties %%DATADIR%%/robots/sample/MyFirstJuniorRobot.class %%DATADIR%%/robots/sample/MyFirstJuniorRobot.java %%DATADIR%%/robots/sample/MyFirstJuniorRobot.properties @@ -234,6 +247,10 @@ bin/robocode %%DATADIR%%/robots/sampleex/RegullarMonk.java %%DATADIR%%/robots/sampleex/Slave.class %%DATADIR%%/robots/sampleex/Slave.java +%%DATADIR%%/robots/samplesentry/BorderGuard$RobotData.class +%%DATADIR%%/robots/samplesentry/BorderGuard.class +%%DATADIR%%/robots/samplesentry/BorderGuard.java +%%DATADIR%%/robots/samplesentry/BorderGuard.properties %%DATADIR%%/robots/sampleteam/MyFirstDroid.class %%DATADIR%%/robots/sampleteam/MyFirstDroid.java %%DATADIR%%/robots/sampleteam/MyFirstLeader.class @@ -247,11 +264,17 @@ bin/robocode %%DATADIR%%/templates/newjavafile.tpt %%DATADIR%%/templates/newjuniorrobot.tpt %%DATADIR%%/templates/newrobot.tpt +%%DATADIR%%/theme/editor/Robocode Black Theme.properties +%%DATADIR%%/theme/editor/Robocode White Theme.properties %%DATADIR%%/twinduel.sh %%DATADIR%%/versions.md share/pixmaps/robocode.png +share/pixmaps/roborumble.png +@dirrm %%DATADIR%%/theme/editor +@dirrm %%DATADIR%%/theme @dirrm %%DATADIR%%/templates @dirrm %%DATADIR%%/robots/sampleteam +@dirrm %%DATADIR%%/robots/samplesentry @dirrm %%DATADIR%%/robots/sampleex @dirrmtry %%DATADIR%%/robots/sample @dirrmtry %%DATADIR%%/robots
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403231516.s2NFG6h1052025>