# $FreeBSD: head/games/robocode-naval/Makefile 414378 2016-05-01 04:37:16Z pi $ PORTNAME= robocode PORTVERSION= 0.9.2 DISTVERSIONSUFFIX= -setup CATEGORIES= games java MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME}/naval-robocode/${PORTVERSION} PKGNAMESUFFIX= -naval EXTRACT_SUFX= .jar DIST_SUBDIR= java MAINTAINER= dbaio@bsd.com.br COMMENT= Game for learning Java[tm] programming language LICENSE= EPL USES= dos2unix zip DOS2UNIX_GLOB= *.css *.team *.properties package-list MANIFEST.MF USE_JAVA= yes JAVA_VERSION= 1.6+ 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 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