1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/games/abuse/Makefile
Dag-Erling Smørgrav 3caeca0964 Remove the data cache before running the game; it might be left over from
a session played with different data files, and the engine isn't smart
enough to notice the cache doesn't match the on-disk files.
2002-05-12 00:23:49 +00:00

34 lines
680 B
Makefile

# New ports collection makefile for: abuse
# Date created: 11 May 2002
# Whom: des
#
# $FreeBSD$
#
PORTNAME= abuse
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.labyrinth.net.au/~trandor/abuse/files/
DISTFILES= abuse_datafiles.tar.gz
EXTRACT_ONLY= # empty
MAINTAINER= des@freebsd.org
RUN_DEPENDS= abuse.sdl:${PORTSDIR}/games/abuse_sdl
NO_BUILD= YES
do-configure:
${SED} -e 's,%%DATADIR%%,${DATADIR},' \
${FILESDIR}/abuse.sh >${WRKDIR}/abuse
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/abuse ${PREFIX}/bin
${MKDIR} ${DATADIR}
.for DISTFILE in ${DISTFILES}
${TAR} zxf ${DISTDIR}/${DISTFILE} -C ${DATADIR}
.endfor
.include <bsd.port.mk>