summaryrefslogtreecommitdiff
path: root/games/battalion
diff options
context:
space:
mode:
authorgarbled <garbled>1998-09-13 23:05:16 +0000
committergarbled <garbled>1998-09-13 23:05:16 +0000
commite965892f42e799d948ec6c6e18b4b84c4fcb0baf (patch)
treebb7cfbc4242a34b69ddd6b2ce47d39712e0d6777 /games/battalion
parent6ec72ad2a491ff3bbe5136d01dcfaa427e5e772f (diff)
downloadpkgsrc-e965892f42e799d948ec6c6e18b4b84c4fcb0baf.tar.gz
Rethink this. Use cat >> instead of install to avoid wiping out the old
scorefile (if it exists)
Diffstat (limited to 'games/battalion')
-rw-r--r--games/battalion/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile
index 03944600944..4537a2309af 100644
--- a/games/battalion/Makefile
+++ b/games/battalion/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/09/13 20:24:28 garbled Exp $
+# $NetBSD: Makefile,v 1.7 1998/09/13 23:05:16 garbled Exp $
#
DISTNAME= battalion
@@ -31,7 +31,9 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho ${PREFIX}/share/battalion/battalion.data
${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${PREFIX}/man/man6/battalion.6
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/* ${PREFIX}/share/battalion/HELP
- ${INSTALL} -c -o root -g games -m 0664 /dev/null /var/games//battalion_hiscore
+ @cat /dev/null >>/var/games/battalion_hiscore
+ chown bin:games /var/games/battalion_hiscore
+ chmod 664 /var/games/battalion_hiscore
pre-clean:
@${RM} -rf ${WRKDIR}/battalionSUN4