- modify moria to use /var/games/moria/scores for its score file

- then, add pkg/INSTALL and DEINSTALL to manage the score file.
This commit is contained in:
lebel 2001-08-11 03:22:54 +00:00
parent bf2c4bc9d1
commit 2fd6a8a77d
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-source_config_h,v 1.1.1.1 2001/07/04 16:57:50 lebel Exp $
$OpenBSD: patch-source_config_h,v 1.2 2001/08/11 03:22:54 lebel Exp $
--- source/config.h.orig Wed Jul 4 12:42:19 2001
+++ source/config.h Wed Jul 4 12:42:21 2001
@@ -6,6 +6,19 @@
@ -37,7 +37,7 @@ $OpenBSD: patch-source_config_h,v 1.1.1.1 2001/07/04 16:57:50 lebel Exp $
-#define MORIA_VER MORIA_LIB(version.hlp)
+#define MORIA_HOU PREFIX "/share/moria/hours"
+#define MORIA_MOR PREFIX "/share/moria/news"
+#define MORIA_TOP PREFIX "/share/moria/scores"
+#define MORIA_TOP "/var/games/moria/scores"
+#define MORIA_HELP PREFIX "/share/moria/roglcmds.hlp"
+#define MORIA_ORIG_HELP PREFIX "/share/moria/origcmds.hlp"
+#define MORIA_WIZ_HELP PREFIX "/share/moria/rwizcmds.hlp"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/04 16:57:50 lebel Exp $
@comment $OpenBSD: PLIST,v 1.2 2001/08/11 03:22:54 lebel Exp $
bin/moria
share/moria/hours
share/moria/news
@ -8,6 +8,4 @@ share/moria/roglcmds.hlp
share/moria/rwizcmds.hlp
share/moria/version.hlp
share/moria/welcome.hlp
@comment no checksum
share/moria/scores
@dirrm share/moria