summaryrefslogtreecommitdiff
path: root/games/nethack33-nox11/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack33-nox11/files/patch-ae')
-rw-r--r--games/nethack33-nox11/files/patch-ae91
1 files changed, 44 insertions, 47 deletions
diff --git a/games/nethack33-nox11/files/patch-ae b/games/nethack33-nox11/files/patch-ae
index 375a28af2ec0..89653b31a76f 100644
--- a/games/nethack33-nox11/files/patch-ae
+++ b/games/nethack33-nox11/files/patch-ae
@@ -1,47 +1,44 @@
---- ./sys/unix/Makefile.top.orig Sat Dec 11 05:21:05 1999
-+++ ./sys/unix/Makefile.top Mon Dec 13 11:51:27 1999
-@@ -14,17 +14,16 @@
- # MAKE = make
-
- # make NetHack
--PREFIX = /usr
- GAME = nethack
- GAMEUID = games
--GAMEGRP = bin
-+GAMEGRP = games
-
- # Permissions - some places use setgid instead of setuid, for instance
- # See also the option "SECURE" in include/config.h
--GAMEPERM = 04755
--FILEPERM = 0644
-+GAMEPERM = 02755
-+FILEPERM = 0664
- EXEPERM = 0755
--DIRPERM = 0755
-+DIRPERM = 0775
-
- # GAMEDIR also appears in config.h as "HACKDIR".
- #
-@@ -33,8 +32,8 @@
- # therefore there should not be anything in GAMEDIR that you want to keep
- # (if there is, you'll have to do the installation by hand or modify the
- # instructions)
--GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
--SHELLDIR = $(PREFIX)/games
-+GAMEDIR = $(PREFIX)/share/$(GAME)
-+SHELLDIR = $(PREFIX)/bin
-
- # per discussion in Install.X11 and Install.Qt
- VARDATND =
-@@ -184,9 +183,9 @@
-
- install: $(GAME) $(VARDAT) dungeon spec_levs
- # set up the directories
-- -mkdir $(SHELLDIR)
-+ -mkdir -p $(SHELLDIR)
- -rm -rf $(GAMEDIR)
-- -mkdir $(GAMEDIR) $(GAMEDIR)/save
-+ -mkdir -p $(GAMEDIR) $(GAMEDIR)/save
- -$(CHOWN) $(GAMEUID) $(GAMEDIR) $(GAMEDIR)/save
- $(CHGRP) $(GAMEGRP) $(GAMEDIR) $(GAMEDIR)/save
- chmod $(DIRPERM) $(GAMEDIR) $(GAMEDIR)/save
+*** sys/unix/Makefile.doc.orig Fri Jan 14 12:49:48 2000
+--- sys/unix/Makefile.doc Sat Sep 23 01:16:22 2000
+***************
+*** 34,40 ****
+
+
+ GAME = nethack
+! MANDIR = /usr/man/man6
+ MANEXT = 6
+
+ # manual installation for most BSD-style systems
+--- 34,40 ----
+
+
+ GAME = nethack
+! MANDIR = ${PREFIX}/man/man
+ MANEXT = 6
+
+ # manual installation for most BSD-style systems
+***************
+*** 51,61 ****
+ # DLBMANCREATE = nroff -man dlb.6 >
+
+ manpages:
+! -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT)
+! -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT)
+! -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT)
+! -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
+! -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT)
+
+ # manual creation for distribution
+ DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt
+--- 51,61 ----
+ # DLBMANCREATE = nroff -man dlb.6 >
+
+ manpages:
+! -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT)
+! -$(LEVMANCREATE) $(MANDIR)$(MANEXT)/lev_comp.$(MANEXT)
+! -$(DGNMANCREATE) $(MANDIR)$(MANEXT)/dgn_comp.$(MANEXT)
+! -$(RCVRMANCREATE) $(MANDIR)$(MANEXT)/recover.$(MANEXT)
+! -$(DLBMANCREATE) $(MANDIR)$(MANEXT)/dlb.$(MANEXT)
+
+ # manual creation for distribution
+ DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt