1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/rescue/Makefile

48 lines
1.1 KiB
Makefile

# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= rescue
PORTVERSION= 1.0.0.3
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/r/R/}%21%20Max/${PORTVERSION}/
DISTNAME= ${PORTNAME:S/r/R/}_${PORTVERSION}
DIST_SUBDIR= java
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Action adventure in space
LICENSE= GPLv3
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:S/r/R/}
PORTDOCS= ChangeLog.txt todo.txt
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Rescue! Max" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;StrategyGame;" false
NO_STAGE= yes
.include <bsd.port.options.mk>
post-extract:
@(cd ${WRKSRC} && ${UNZIP_CMD} -j Rescue.jar rescue/gui/logo.png)
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "help lib missions *.jar" ${DATADIR})
${INSTALL_DATA} ${WRKSRC}/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>