diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-08-22 08:56:02 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-08-22 08:56:02 +0000 |
commit | 6910826c1b27cf6a9d4cb8400743d571d3c9a27b (patch) | |
tree | 9562c830236235b683790903daad5db093658719 /games/rogue/Makefile | |
parent | 92cf145f2c1e59139400da3a8db7b06cc24b7b54 (diff) |
More largely NetBSD-inspired code cleanup
Diffstat (limited to 'games/rogue/Makefile')
-rw-r--r-- | games/rogue/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/games/rogue/Makefile b/games/rogue/Makefile index 36a1f52fcd3..8b007e4e65e 100644 --- a/games/rogue/Makefile +++ b/games/rogue/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 1998/07/24 00:10:40 millert Exp $ +# $OpenBSD: Makefile,v 1.5 1998/08/22 08:55:24 pjanzen Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= rogue @@ -6,8 +6,8 @@ CFLAGS+=-DUNIX -fwritable-strings SRCS= curses.c hit.c init.c inventory.c level.c machdep.c main.c \ message.c monster.c move.c object.c pack.c play.c random.c ring.c \ room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c -DPADD= ${LIBCURSES} ${LIBCOMPAT} -LDADD= -lcurses -lcompat +DPADD= ${LIBCURSES} +LDADD= -lcurses HIDEGAME=hidegame MAN= rogue.6 @@ -15,4 +15,12 @@ MAN= rogue.6 SUBDIR+= USD.doc .endif +beforeinstall: + @if [ ! -f ${DESTDIR}/var/games/rogue.scores ]; then \ + ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 \ + /dev/null ${DESTDIR}/var/games/rogue.scores ; \ + else \ + true ; \ + fi + .include <bsd.prog.mk> |