summaryrefslogtreecommitdiff
path: root/games/moria/patches
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2002-08-21 06:25:10 +0000
committersimonb <simonb@pkgsrc.org>2002-08-21 06:25:10 +0000
commit91bd8ef15f3de80013d8631c34be95f40eea88df (patch)
tree870f73fd828a16e1276ea88a8481b52b1d755b98 /games/moria/patches
parentbb99ed43c4a21e6dec5067a4fab8696be85014e3 (diff)
downloadpkgsrc-91bd8ef15f3de80013d8631c34be95f40eea88df.tar.gz
Install the man page and other miscellaneous documention.
Diffstat (limited to 'games/moria/patches')
-rw-r--r--games/moria/patches/patch-aa14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/moria/patches/patch-aa b/games/moria/patches/patch-aa
index 777f5b99749..2efd5d16529 100644
--- a/games/moria/patches/patch-aa
+++ b/games/moria/patches/patch-aa
@@ -1,7 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/01/23 17:00:15 simonb Exp $
+$NetBSD: patch-aa,v 1.2 2002/08/21 06:25:11 simonb Exp $
+
--- unix/Makefile.orig Fri Jul 22 08:37:08 1994
-+++ unix/Makefile Sun Jan 24 03:28:57 1999
-@@ -3,15 +3,17 @@
++++ unix/Makefile
+@@ -3,15 +3,18 @@
# LIBDIR must be the same directory defined in config.h
# OWNER is who you want the game to be chown to.
# GROUP is who you wnat the game to be chgrp to.
@@ -11,6 +12,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/01/23 17:00:15 simonb Exp $
-GROUP = grad
+BINDIR = ${PREFIX}/bin
+LIBDIR = ${PREFIX}/share/games/moria
++MANDIR = ${PREFIX}/man/man6
+SCOREFILE = /var/games/moria.scores
+
+GROUP = games
@@ -24,7 +26,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/01/23 17:00:15 simonb Exp $
# For BSD Systems
CURSES = -lcurses -ltermcap
-@@ -45,6 +47,8 @@
+@@ -45,6 +48,8 @@
LIBFILES = hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp \
version.hlp welcome.hlp
@@ -33,7 +35,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/01/23 17:00:15 simonb Exp $
moria : $(OBJS)
$(CC) -o moria $(CFLAGS) $(OBJS) $(CURSES) $(LFLAGS)
-@@ -57,22 +61,19 @@
+@@ -57,22 +62,21 @@
TAGS : $(SRCS)
ctags -x $(SRCS) > TAGS
@@ -60,11 +62,13 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/01/23 17:00:15 simonb Exp $
+ ${BSD_INSTALL_PROGRAM} moria ${BINDIR}
+ ${CHGRP} ${GROUP} ${BINDIR}/moria
+ ${CHMOD} g+s ${BINDIR}/moria
++ ${BSD_INSTALL_MAN} doc/moria.6 ${MANDIR}
+ ${BSD_INSTALL_DATA_DIR} ${LIBDIR}
+ ( cd files; ${BSD_INSTALL_DATA} ${LIBFILES} ${LIBDIR} )
+ ${TOUCH} ${LIBDIR}/scores.dist
+ ${CHMOD} 664 ${LIBDIR}/scores.dist
+ ${CHGRP} ${GROUP} ${LIBDIR}/scores.dist
++ ( cd doc ; ${MAKE} install )
clean:
rm -r *.o