summaryrefslogtreecommitdiffstats
path: root/games/battlestar
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 03:43:30 +0000
committerache <ache@FreeBSD.org>1997-09-24 03:43:30 +0000
commit3cb287c6300af8309da7e61b4d231849e8076b18 (patch)
treeab22d2d1299e1747197ff6c2d6a4c1e35f258b9e /games/battlestar
parent88bcce4b0769b47cf4361d6b4490d8ced3c0ceac (diff)
downloadFreeBSD-src-3cb287c6300af8309da7e61b4d231849e8076b18.zip
FreeBSD-src-3cb287c6300af8309da7e61b4d231849e8076b18.tar.gz
Beforeinstall scorefile to prevent it owned by first who run the game
Diffstat (limited to 'games/battlestar')
-rw-r--r--games/battlestar/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile
index 005e9e9..96e26bb 100644
--- a/games/battlestar/Makefile
+++ b/games/battlestar/Makefile
@@ -10,4 +10,8 @@ LDADD= -lcurses -ltermcap -lcompat
HIDEGAME=hidegame
#CFLAGS+= -Wall -W
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
+ ${DESTDIR}/var/games/battlestar.log
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud