freebsd-ports/games/asylum/Makefile
Dmitry Marakasov 8035720be8 - Add games/asylum
SDL Asylum is a C port of the computer game Asylum, which was
written by Andy Southgate in 1994 for the Acorn Archimedes and is
now public domain.

"Young Sigmund has a few problems. To help him resolve his mental
instability you must enter the surreal world of his inner mind and
shut down the malfunctioning brain cells which are causing him these
problems." -- Instructions file from original game

WWW: http://sdl-asylum.sourceforge.net/
2016-11-21 15:24:34 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= asylum
PORTVERSION= 0.3.2
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= gmake
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>