summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/atc/Makefile3
-rw-r--r--games/battlestar/Makefile3
-rw-r--r--games/canfield/canfield/Makefile3
-rw-r--r--games/canfield/cfscores/Makefile3
-rw-r--r--games/cribbage/Makefile3
-rw-r--r--games/hack/Makefile3
-rw-r--r--games/larn/Makefile3
-rw-r--r--games/robots/Makefile3
-rw-r--r--games/rogue/Makefile3
-rw-r--r--games/sail/Makefile3
-rw-r--r--games/snake/Makefile3
-rw-r--r--games/tetris/Makefile3
12 files changed, 24 insertions, 12 deletions
diff --git a/games/atc/Makefile b/games/atc/Makefile
index e349d40567a..16b1bd00b89 100644
--- a/games/atc/Makefile
+++ b/games/atc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.12 2002/05/31 03:46:32 pjanzen Exp $
PROG= atc
CFLAGS+=-I${.CURDIR} -I.
@@ -11,6 +11,7 @@ GAMES= Game_List Killer crossover default easy game_2 \
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
game_4 novice two-corners
CLEANFILES=grammar.c y.tab.h lex.c
+BINMODE=2555
beforeinstall:
@if [ ! -d ${DESTDIR}/usr/share/games/atc ]; then \
diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile
index 2a520890f6f..25a926df29e 100644
--- a/games/battlestar/Makefile
+++ b/games/battlestar/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
@@ -8,6 +8,7 @@ MAN= battlestar.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
BINGRP= games
+BINMODE=2555
beforeinstall:
@if [ ! -f ${DESTDIR}/var/games/battlestar.log ]; then \
diff --git a/games/canfield/canfield/Makefile b/games/canfield/canfield/Makefile
index fd4bc915d38..c848cb39caa 100644
--- a/games/canfield/canfield/Makefile
+++ b/games/canfield/canfield/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= canfield
@@ -6,6 +6,7 @@ MAN= canfield.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
MLINKS= canfield.6 cfscores.6
+BINMODE=2555
beforeinstall:
@if [ ! -f ${DESTDIR}/var/games/cfscores ]; then \
diff --git a/games/canfield/cfscores/Makefile b/games/canfield/cfscores/Makefile
index b1fb8674b71..cc4ea4406d1 100644
--- a/games/canfield/cfscores/Makefile
+++ b/games/canfield/cfscores/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2002/05/31 03:46:35 pjanzen Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= cfscores
CFLAGS+=-I${.CURDIR}/../canfield
NOMAN= noman
+BINMODE=2555
.include "../../Makefile.inc"
.include <bsd.prog.mk>
diff --git a/games/cribbage/Makefile b/games/cribbage/Makefile
index 2b934fa43fe..ad5dd2872fc 100644
--- a/games/cribbage/Makefile
+++ b/games/cribbage/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
PROG= cribbage
DPADD= ${LIBCURSES}
LDADD= -lcurses
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
MAN= cribbage.6
+BINMODE=2555
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
diff --git a/games/hack/Makefile b/games/hack/Makefile
index 384275e0a92..3d3a0ce619b 100644
--- a/games/hack/Makefile
+++ b/games/hack/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.13 2002/05/31 03:46:35 pjanzen Exp $
PROG= hack
CFLAGS+=-I.
@@ -18,6 +18,7 @@ MAN= hack.6
DPADD+= ${LIBCURSES}
LDADD+= -lcurses
CLEANFILES+=hack.onames.h makedefs
+BINMODE=2555
${PROG}: hack.onames.h
diff --git a/games/larn/Makefile b/games/larn/Makefile
index 04deffe50a0..6713a2de28a 100644
--- a/games/larn/Makefile
+++ b/games/larn/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2002/05/31 03:46:35 pjanzen Exp $
# EXTRA
# Incorporates code to gather additional performance statistics
@@ -48,6 +48,7 @@ SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \
signal.c moreobj.c movem.c regen.c fortune.c savelev.c
DPADD= ${LIBCURSES}
LDADD= -lcurses
+BINMODE=2555
beforeinstall:
(cd ${.CURDIR}/datfiles; ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
diff --git a/games/robots/Makefile b/games/robots/Makefile
index a182f098b70..3875f6fa983 100644
--- a/games/robots/Makefile
+++ b/games/robots/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2002/05/31 03:46:35 pjanzen Exp $
PROG= robots
CFLAGS+=-DMAX_PER_UID=5
@@ -7,6 +7,7 @@ SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \
MAN= robots.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
+BINMODE=2555
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
diff --git a/games/rogue/Makefile b/games/rogue/Makefile
index 8a6b9a88440..ed40d2d061b 100644
--- a/games/rogue/Makefile
+++ b/games/rogue/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
@@ -9,6 +9,7 @@ SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
DPADD= ${LIBCURSES}
LDADD= -lcurses
MAN= rogue.6
+BINMODE=2555
.if make(install)
SUBDIR+= USD.doc
diff --git a/games/sail/Makefile b/games/sail/Makefile
index ed27e0fc978..dfdf9d2279d 100644
--- a/games/sail/Makefile
+++ b/games/sail/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2002/05/31 03:46:35 pjanzen Exp $
PROG= sail
SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
@@ -7,5 +7,6 @@ SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
MAN= sail.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
+BINMODE=2555
.include <bsd.prog.mk>
diff --git a/games/snake/Makefile b/games/snake/Makefile
index 0a6c6f96187..d6475e8e500 100644
--- a/games/snake/Makefile
+++ b/games/snake/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/24 07:59:51 wilfried Exp $
+# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= snake
@@ -7,6 +7,7 @@ MAN= snake.6
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
MLINKS=snake.6 snscore.6
+BINMODE=2555
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
diff --git a/games/tetris/Makefile b/games/tetris/Makefile
index 793793913c4..32190972828 100644
--- a/games/tetris/Makefile
+++ b/games/tetris/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.6 2002/05/23 18:43:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2002/05/31 03:46:35 pjanzen Exp $
PROG= tetris
SRCS= input.c screen.c shapes.c scores.c tetris.c
MAN= tetris.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
+BINMODE=2555
beforeinstall:
@if [ ! -f ${DESTDIR}/var/games/tetris.scores ]; then \