1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/robocode/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: robocode
# Date created: 10 September 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= robocode
PORTVERSION= 1.2.6
PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=robocode
DISTNAME= ${PORTNAME}-setup-${PORTVERSION}A
EXTRACT_SUFX= .jar
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= A game for learning Java[tm] programming language
USE_JAVA= yes
JAVA_VERSION= 1.5+
JAVA_EXTRACT= yes
JAVA_RUN= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
USE_ZIP= yes
USE_XLIB= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
INSTFILES= battles javadoc license robocode.ico \
robocode.jar robots templates versions.txt
SUB_FILES= robocode.sh
post-extract:
@cd ${WRKSRC} && ${JAR} xf ${WRKSRC}/extract.jar
do-install:
@cd ${WRKSRC} && \
${FIND} ${INSTFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \;
@cd ${WRKSRC} && \
${FIND} ${INSTFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
@${INSTALL_SCRIPT} ${WRKDIR}/robocode.sh ${PREFIX}/bin/robocode
.include <bsd.port.mk>