summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-25 23:18:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-25 23:18:12 +0000
commit617523fea0051ba45c575a6d86832251a409c504 (patch)
tree7a13252fec960e098ff34322a146eb2b9d9ef890 /games
parente352e75cea2e302967eed21a1824c9f07e7d436a (diff)
Remove operations that "touch" scorefiles at install time.
Diffstat (limited to 'games')
-rw-r--r--games/atc/Makefile8
-rw-r--r--games/battlestar/Makefile10
-rw-r--r--games/snake/Makefile6
3 files changed, 3 insertions, 21 deletions
diff --git a/games/atc/Makefile b/games/atc/Makefile
index af3b02740cd..012bc161569 100644
--- a/games/atc/Makefile
+++ b/games/atc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2015/11/24 03:10:09 deraadt Exp $
+# $OpenBSD: Makefile,v 1.16 2015/11/25 23:18:11 deraadt Exp $
PROG= atc
CFLAGS+=-I${.CURDIR} -I.
@@ -23,11 +23,5 @@ beforeinstall:
(cd ${.CURDIR}/games; ${INSTALL} ${INSTALL_COPY} \
-o ${BINOWN} -g ${BINGRP} \
-m 444 ${GAMES} ${DESTDIR}/usr/share/games/atc)
- @if [ ! -f ${DESTDIR}/var/games/atc_score ]; then \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \
- /dev/null ${DESTDIR}/var/games/atc_score ; \
- else \
- true ; \
- fi
.include <bsd.prog.mk>
diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile
index 7fb643c1db2..d9e34dd0726 100644
--- a/games/battlestar/Makefile
+++ b/games/battlestar/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2015/11/24 03:10:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2015/11/25 23:18:11 deraadt Exp $
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
@@ -8,12 +8,4 @@ MAN= battlestar.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
-beforeinstall:
- @if [ ! -f ${DESTDIR}/var/games/battlestar.log ]; then \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \
- /dev/null ${DESTDIR}/var/games/battlestar.log ; \
- else \
- true ; \
- fi
-
.include <bsd.prog.mk>
diff --git a/games/snake/Makefile b/games/snake/Makefile
index f1bfff9bb4e..5e87044725d 100644
--- a/games/snake/Makefile
+++ b/games/snake/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2015/11/24 03:10:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.11 2015/11/25 23:18:11 deraadt Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= snake
@@ -7,8 +7,4 @@ MAN= snake.6
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
-beforeinstall:
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
- ${DESTDIR}/var/games/snakerawscores
-
.include <bsd.prog.mk>