freebsd-ports/games/robocode-naval/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

53 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= robocode
PORTVERSION= 0.9.2
PORTREVISION= 1
DISTVERSIONSUFFIX= -setup
CATEGORIES= games 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= dos2unix zip
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
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 <bsd.port.mk>