diff --git a/games/robocode-naval/Makefile b/games/robocode-naval/Makefile index e00483e22b9d..74f826913135 100644 --- a/games/robocode-naval/Makefile +++ b/games/robocode-naval/Makefile @@ -1,52 +1,52 @@ PORTNAME= robocode PORTVERSION= 0.9.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -setup CATEGORIES= games education java MASTER_SITES= SF/${PORTNAME}/naval-robocode/${PORTVERSION} PKGNAMESUFFIX= -naval EXTRACT_SUFX= .jar DIST_SUBDIR= java MAINTAINER= dbaio@FreeBSD.org COMMENT= Game for learning Java[tm] programming language LICENSE= EPL PORTSCOUT= limit:^\d+\.\d+\.\d+$$ USES= cpe dos2unix zip CPE_VENDOR= ${PORTNAME}_project DOS2UNIX_GLOB= *.css *.team *.properties package-list MANIFEST.MF USE_JAVA= yes JAVA_EXTRACT= yes JAVA_RUN= yes NO_WRKSUBDIR= yes NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB= PORTVERSION=${PORTVERSION} -SUB_FILES= ${PORTNAME}-NavalRobocode pkg-deinstall pkg-message +SUB_FILES= ${PORTNAME}-NavalRobocode pkg-message do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-NavalRobocode \ ${STAGEDIR}${PREFIX}/bin/ .for d in battles compilers javadoc libs license roborumble robots \ templates theme @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor .for f in *.ico *.sh ReadMe.* naval-robocode-versions.md @(${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_DATA} ${WRKSRC}/desktop/robocodeRobocode.desktop \ ${STAGEDIR}${DESKTOPDIR}/robocodeNavalRobocode.desktop ${INSTALL_DATA} ${WRKSRC}/desktop/robocode.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/robocode-naval.png @${MKDIR} ${STAGEDIR}${DATADIR}/config .include diff --git a/games/robocode-naval/files/pkg-deinstall.in b/games/robocode-naval/files/pkg-deinstall.in deleted file mode 100644 index a3c5ddb86cd6..000000000000 --- a/games/robocode-naval/files/pkg-deinstall.in +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -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 diff --git a/games/robocode-naval/files/pkg-message.in b/games/robocode-naval/files/pkg-message.in index 8d19243f6475..6d3bf10b07da 100644 --- a/games/robocode-naval/files/pkg-message.in +++ b/games/robocode-naval/files/pkg-message.in @@ -1,18 +1,30 @@ [ { type: install message: < Editor -> Compiler -> Options -> Preferences Attention not all with Rumble games works, this is work in Progress. Have fun! EOM +}, +{ type: remove + message: < diff --git a/games/robocode/files/pkg-deinstall.in b/games/robocode/files/pkg-deinstall.in deleted file mode 100644 index a3c5ddb86cd6..000000000000 --- a/games/robocode/files/pkg-deinstall.in +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -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 diff --git a/games/robocode/files/pkg-message.in b/games/robocode/files/pkg-message.in index 2e2deb1b920c..134496daba38 100644 --- a/games/robocode/files/pkg-message.in +++ b/games/robocode/files/pkg-message.in @@ -1,19 +1,31 @@ [ { type: install message: < Editor -> Compiler -> Options -> Preferences Attention not all with Rumble games works, this is work in Progress. Have fun! EOM +}, +{ type: remove + message: <