mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
49f6c471fd
The approach is slightly different from that taken by nethack34 and prevents the manual page conflicts produced by that approach. . While here, clean up the Makefile a little w.r.t. order and clean up the packing list to not produce warnings when the log or record are removed. With this change, you can have all nethack versions from ports installed at once. However, this isn't as pleasant as it could be, and I'd like to address this in the future by merging some changes from here into nethack33 (in particular) and nethack34.
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
$FreeBSD$
|
|
|
|
--- sys/unix/Makefile.doc.orig Tue Dec 10 13:20:08 1996
|
|
+++ sys/unix/Makefile.doc Sun Apr 11 23:08:20 2004
|
|
@@ -31,15 +31,15 @@
|
|
|
|
|
|
GAME = nethack
|
|
-MANDIR = /usr/man/man6
|
|
+MANDIR = ${MANPREFIX}/man/man6
|
|
MANEXT = 6
|
|
|
|
# manual installation for most BSD-style systems
|
|
-GAMEMANCREATE = cp nethack.6
|
|
-LEVMANCREATE = cp lev_comp.6
|
|
-DGNMANCREATE = cp dgn_comp.6
|
|
-RCVRMANCREATE = cp recover.6
|
|
-DLBMANCREATE = cp dlb.6
|
|
+GAMEMANCREATE = ${BSD_INSTALL_MAN} nethack.6
|
|
+LEVMANCREATE = ${BSD_INSTALL_MAN} lev_comp.6
|
|
+DGNMANCREATE = ${BSD_INSTALL_MAN} dgn_comp.6
|
|
+RCVRMANCREATE = ${BSD_INSTALL_MAN} recover.6
|
|
+DLBMANCREATE = ${BSD_INSTALL_MAN} dlb.6
|
|
# manual installation for most SYSV-style systems
|
|
# GAMEMANCREATE = nroff -man nethack.6 >
|
|
# LEVMANCREATE = nroff -man lev_comp.6 >
|
|
@@ -48,11 +48,11 @@
|
|
# 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)
|
|
+ -$(GAMEMANCREATE) $(MANDIR)/%%HACKNAME%%.$(MANEXT)
|
|
+ -$(LEVMANCREATE) $(MANDIR)/lev_comp%%HACKEXT%%.$(MANEXT)
|
|
+ -$(DGNMANCREATE) $(MANDIR)/dgn_comp%%HACKEXT%%.$(MANEXT)
|
|
+ -$(RCVRMANCREATE) $(MANDIR)/recover%%HACKEXT%%.$(MANEXT)
|
|
+ -$(DLBMANCREATE) $(MANDIR)/dlb%%HACKEXT%%.$(MANEXT)
|
|
|
|
# manual creation for distribution
|
|
DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt
|