diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-05-12 00:23:49 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-05-12 00:23:49 +0000 |
commit | 3caeca09641aca83d31dc0426e3a7b6fcf0e1522 (patch) | |
tree | 104667e764b48d26009c00245dcdf656a7f01156 /games/abuse | |
parent | 67bf7490b532fe53e56ed10e58d9ca420ed5d501 (diff) | |
download | ports-3caeca09641aca83d31dc0426e3a7b6fcf0e1522.tar.gz ports-3caeca09641aca83d31dc0426e3a7b6fcf0e1522.zip |
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.
Notes
Notes:
svn path=/head/; revision=58947
Diffstat (limited to 'games/abuse')
-rw-r--r-- | games/abuse/Makefile | 3 | ||||
-rw-r--r-- | games/abuse/files/abuse.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/games/abuse/Makefile b/games/abuse/Makefile index 764723122895..294cce7d490a 100644 --- a/games/abuse/Makefile +++ b/games/abuse/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: abuse_data +# New ports collection makefile for: abuse # Date created: 11 May 2002 # Whom: des # @@ -7,6 +7,7 @@ PORTNAME= abuse PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.labyrinth.net.au/~trandor/abuse/files/ DISTFILES= abuse_datafiles.tar.gz diff --git a/games/abuse/files/abuse.sh b/games/abuse/files/abuse.sh index 48da73d9acc8..692ba0ee5fc3 100644 --- a/games/abuse/files/abuse.sh +++ b/games/abuse/files/abuse.sh @@ -1,2 +1,4 @@ #!/bin/sh +# $FreeBSD$ +rm -f ~/.abuse/sd_cache.tmp exec abuse.sdl -datadir "%%DATADIR%%" "$@" |