freebsd-ports/games/asylum/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= asylum
PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/sdl-${PORTNAME}/Asylum/${PORTVERSION}/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Surreal platform shooting game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gl gmake sdl
USE_SDL= sdl mixer
ALL_TARGET= build
USE_GL= gl glu
PORTDOCS= Instruct README
PORTDATA= *
MAKE_ARGS= INSTALLRESOURCEPATH="${DATADIR}" \
INSTALLHISCORES="/var/games/${PORTNAME}"
OPTIONS_DEFINE= DOCS
post-extract:
@${RM} ${WRKSRC}/${PORTNAME}
@cd ${WRKSRC} && for f in *.c; do \
${MV} $${f} $${f}pp; \
done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}/var/games/${PORTNAME}
.for f in Ego Psyche Id Extended
${TOUCH} ${STAGEDIR}/var/games/${PORTNAME}/${f}HighScores.sample
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>