summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsimonb <simonb>2002-08-21 06:25:10 +0000
committersimonb <simonb>2002-08-21 06:25:10 +0000
commitb062e384aabe451c074e8a37cd18eecd4d15f6ff (patch)
tree870f73fd828a16e1276ea88a8481b52b1d755b98 /games
parent513b3fb9e9f7310f1c7cdaa4323e90f507a37869 (diff)
downloadpkgsrc-b062e384aabe451c074e8a37cd18eecd4d15f6ff.tar.gz
Install the man page and other miscellaneous documention.
Diffstat (limited to 'games')
-rw-r--r--games/moria/PLIST15
-rw-r--r--games/moria/distinfo5
-rw-r--r--games/moria/patches/patch-aa14
3 files changed, 26 insertions, 8 deletions
diff --git a/games/moria/PLIST b/games/moria/PLIST
index 9dd6f21b66f..7e9c068fc93 100644
--- a/games/moria/PLIST
+++ b/games/moria/PLIST
@@ -1,5 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:54:12 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/08/21 06:25:10 simonb Exp $
bin/moria
+man/man6/moria.6
+share/doc/moria/ERRORS
+share/doc/moria/FEATURES.NEW
+share/doc/moria/dragon.inf
+share/doc/moria/exp.doc
+share/doc/moria/faq
+share/doc/moria/history
+share/doc/moria/moria.ms
+share/doc/moria/moria.txt
+share/doc/moria/pronounc
+share/doc/moria/spells.doc
+share/doc/moria/where.inf
share/games/moria/hours
share/games/moria/news
share/games/moria/origcmds.hlp
@@ -11,3 +23,4 @@ share/games/moria/version.hlp
share/games/moria/welcome.hlp
@exec if [ ! -f /var/games/moria.scores ]; then cp -p %D/share/games/moria/scores.dist /var/games/moria.scores; fi
@dirrm share/games/moria
+@dirrm share/doc/moria
diff --git a/games/moria/distinfo b/games/moria/distinfo
index 0c4a5ea3121..acfc1f1c751 100644
--- a/games/moria/distinfo
+++ b/games/moria/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:30 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/08/21 06:25:10 simonb Exp $
SHA1 (um5.5.2.tar.Z) = 69c7a7bf4e2c5be123ee7a82f5ad12ad5d0f5b08
Size (um5.5.2.tar.Z) = 910536 bytes
-SHA1 (patch-aa) = d7d9ad7ee393990126ac13d2dec32e51ec113e65
+SHA1 (patch-aa) = 90dd341c52e322ce7a9cacc706e9f0db49c9253b
SHA1 (patch-ab) = b06d9f1b8445865823fc01e2345be48b4f6eb999
SHA1 (patch-ac) = 471ecd0bdaf53044f4e35e4be17db33aa0b07446
SHA1 (patch-ad) = cba23f2ab9e6bfe8d665475fa30342486997f57c
@@ -13,3 +13,4 @@ SHA1 (patch-ah) = e5eb295222a007a83600d9ed17ef0a0e0fd24875
SHA1 (patch-ai) = ab8de35dad1870edb8549966aca60d0f5bdf2187
SHA1 (patch-aj) = f0ac2b33ce021f3c2757bb37e9a5749842901556
SHA1 (patch-ak) = 3b39f9bd883cae5cd0a8a2561fcb1bcdbfa0bc1b
+SHA1 (patch-al) = da8992fc3b7a57fdf78d5656a8a8f01b8628c8fd
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