2012-11-05 17:12:25 +01:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2001-09-10 11:57:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= robocode
|
2014-09-05 18:28:11 +02:00
|
|
|
PORTVERSION= 1.9.2.2
|
2001-09-10 11:57:46 +02:00
|
|
|
CATEGORIES= games java
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}-setup.jar
|
2013-03-21 21:42:46 +01:00
|
|
|
DIST_SUBDIR= java
|
2001-09-10 11:57:46 +02:00
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-21 21:42:46 +01:00
|
|
|
COMMENT= Game for learning Java[tm] programming language
|
2001-09-10 11:57:46 +02:00
|
|
|
|
2010-09-14 22:55:58 +02:00
|
|
|
LICENSE= EPL
|
|
|
|
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
USES= dos2unix zip
|
2014-09-05 18:28:11 +02:00
|
|
|
DOS2UNIX_GLOB= *.css *.team *.properties package-list MANIFEST.MF
|
2004-08-20 21:07:59 +02:00
|
|
|
USE_JAVA= yes
|
2013-03-21 22:02:11 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2004-08-20 21:07:59 +02:00
|
|
|
JAVA_EXTRACT= yes
|
|
|
|
JAVA_RUN= yes
|
2001-09-10 11:57:46 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2013-03-21 21:42:46 +01:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
2010-11-10 17:05:01 +01:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2002-03-05 15:46:44 +01:00
|
|
|
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
SUB_FILES= ${PORTNAME}-MeleeRumble ${PORTNAME}-RoboRumble \
|
|
|
|
${PORTNAME}-Robocode ${PORTNAME}-TeamRumble \
|
|
|
|
${PORTNAME}-TwinDuel pkg-deinstall pkg-message
|
2001-09-10 11:57:46 +02:00
|
|
|
|
|
|
|
do-install:
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-* \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/
|
2013-03-21 21:42:46 +01:00
|
|
|
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
.for d in battles compilers javadoc libs license roborumble robots \
|
|
|
|
templates theme
|
2013-10-10 14:10:24 +02:00
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
2013-03-21 21:42:46 +01:00
|
|
|
.endfor
|
|
|
|
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
.for f in *.ico *.sh ReadMe.* versions.md
|
|
|
|
@(${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR})
|
2013-03-21 21:42:46 +01:00
|
|
|
.endfor
|
2001-09-10 11:57:46 +02:00
|
|
|
|
- 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
2014-03-23 16:16:06 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/desktop/*.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/desktop/*.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
|
2013-10-10 14:10:24 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/config
|
|
|
|
@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 775 config roborumble robots)
|
|
|
|
@${CHMOD} +x ${STAGEDIR}${DATADIR}/*.sh
|
2013-03-21 21:42:46 +01:00
|
|
|
|
2001-09-10 11:57:46 +02:00
|
|
|
.include <bsd.port.mk>
|