summaryrefslogtreecommitdiff
path: root/games/phantasia
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-23 22:46:14 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-06-23 22:46:14 +0000
commit6df0b771ebcb3566414373edef220a0f6a17efbf (patch)
tree060687da02a3942a5d62fad96ed7361473923eca /games/phantasia
parent3aaf059f30fb2abae9da3dd76d1cdde748e7fed7 (diff)
switch to installing source manuals (base part)
discussed with lots of people, tested by naddy@, "move fast" deraadt@
Diffstat (limited to 'games/phantasia')
-rw-r--r--games/phantasia/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index 07d101e80c3..79bd63ef282 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2004/11/11 16:39:00 jolan Exp $
+# $OpenBSD: Makefile,v 1.17 2011/06/23 22:46:12 schwarze Exp $
PROG= phantasia
SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
@@ -7,7 +7,7 @@ DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
BINMODE=2555
MAN= phantasia.6
-CLEANFILES+=map setup setup.o phantglobs.o.bld
+CLEANFILES+=map setup setup.o phantglobs.o.bld phantasia.6
all: setup phantasia
@@ -21,6 +21,9 @@ setup: phantglobs.o.bld setup.o monsters.asc ${DPADD}
${HOSTCC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} \
phantglobs.o.bld setup.o ${LDADD}
+phantasia.6: phantasia.6tbl
+ cp ${.ALLSRC} ${.TARGET}
+
beforeinstall:
./setup -m ${.CURDIR}/monsters.asc
chown root:games ${DESTDIR}/var/games/phantasia/*