View | Details | Raw Unified | Return to bug 255456 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/Makefile (+2 lines)
Lines 1084-1089 Link Here
1084
    SUBDIR += xmris
1084
    SUBDIR += xmris
1085
    SUBDIR += xmulti
1085
    SUBDIR += xmulti
1086
    SUBDIR += xneko
1086
    SUBDIR += xneko
1087
    SUBDIR += xnethack
1088
    SUBDIR += xnethack-nox11
1087
    SUBDIR += xoct
1089
    SUBDIR += xoct
1088
    SUBDIR += xoids
1090
    SUBDIR += xoids
1089
    SUBDIR += xoj
1091
    SUBDIR += xoj
(-)b/games/xnethack-nox11/Makefile (+9 lines)
Added Link Here
1
# Created by: Jeremy Chadwick <yoshi@parodius.com>
2
3
MASTERDIR=	${.CURDIR}/../xnethack
4
5
MAINTAINER=	fuz@fuz.su
6
7
PKGNAMESUFFIX=	-nox11
8
9
.include "${MASTERDIR}/Makefile"
(-)b/games/xnethack/Makefile (+105 lines)
Added Link Here
1
# Created by: asami
2
3
PORTNAME=	xNetHack
4
DISTVERSIONPREFIX=	xnh
5
DISTVERSION=	6.0
6
CATEGORIES=	games
7
8
MAINTAINER=	fuz@fuz.su
9
COMMENT=	Experimental features and improvements applied to NetHack 3.7-dev
10
11
LICENSE=	nethack
12
LICENSE_NAME=	NETHACK GENERAL PUBLIC LICENSE
13
LICENSE_FILE=	${WRKSRC}/dat/license
14
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
15
16
USES=		alias compiler:c11 gmake ncurses tar:tgz lua
17
USE_GITHUB=	yes
18
19
GH_ACCOUNT=	copperwater
20
GH_PROJECT=	xNetHack
21
22
MAKE_ENV=	GRAPHICS="${GRAPHICS}"
23
PLIST_SUB=	HACKNAME="${HACKNAME}" \
24
		HACKEXT="${HACKEXT}"
25
TRUEPORTNAME=	xnethack
26
27
# Configure these variables as you want them to be.
28
HACKEXT?=
29
HACKNAME?=	${TRUEPORTNAME}${HACKEXT}
30
HACKDIR?=	share/${HACKNAME}
31
HACKLINK=	${TRUEPORTNAME}
32
33
DATADIR=	${PREFIX}/${HACKDIR}
34
DOCSDIR=	${PREFIX}/share/doc/${HACKNAME}
35
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
36
37
.if !defined(PKGNAMESUFFIX)
38
USES+=		xorg
39
USE_XORG=	xaw xpm xmu xext xt x11 sm ice
40
CFLAGS+=	-DX11_GRAPHICS -DUSE_TILES
41
GRAPHICS=	X11_GRAPHICS
42
.else
43
.if ${PKGNAMESUFFIX} == "-nox11"
44
GRAPHICS=	# none
45
.endif
46
.endif
47
CFLAGS+=	-DNOMAIL -DCURSES_GRAPHICS
48
49
OPTIONS_DEFINE=	DOCS
50
51
.include <bsd.port.pre.mk>
52
53
.if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK}
54
PLIST_SUB+=	HACKLINK=""
55
.else
56
PLIST_SUB+=	HACKLINK="@comment "
57
.endif
58
59
post-patch:
60
.for f in include/config.h sys/unix/Makefile.doc sys/unix/Makefile.src sys/unix/Makefile.top
61
	@${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \
62
		-e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \
63
		-e 's|%%HACKEXT%%|${HACKEXT}|g' \
64
		${WRKSRC}/${f}
65
.endfor
66
.for f in dlb.6 nethack.6 recover.6
67
	@${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \
68
		-e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \
69
		-e 's|%%HACKEXT%%|${HACKEXT}|g' \
70
		${WRKSRC}/doc/${f}
71
.endfor
72
.if defined(WITHOUT_SHELL)
73
	@${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h
74
.endif
75
.if defined(WITH_MAIL)
76
	@${REINPLACE_CMD} -e 's|/\* #define MAIL \*/|#define MAIL|' ${WRKSRC}/include/unixconf.h
77
.endif
78
79
do-configure:
80
	@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
81
82
pre-install:
83
	@${CAT} ${FILESDIR}/pkg-deinstall.in | ${SED} \
84
		-e 's|%%HACKDIR%%|${HACKDIR}|g' > ${PKGDEINSTALL}
85
86
post-install:
87
.if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK}
88
	@${LN} -s -f ${PREFIX}/bin/${HACKNAME} ${STAGEDIR}${PREFIX}/bin/${HACKLINK}
89
.endif
90
	@cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} manpages
91
	@${MKDIR} ${STAGEDIR}${DATADIR}/save
92
	@${CP} ${WRKSRC}/sys/unix/sysconf ${STAGEDIR}/${DATADIR}/sysconf
93
	# Make sysconf a sample to prevent it being removed if altered
94
	@${CP} ${STAGEDIR}/${DATADIR}/sysconf ${STAGEDIR}/${DATADIR}/sysconf.sample
95
	# Make "sample" files from records to prevent them being removed
96
	# if they have been altered
97
	@${CP} ${STAGEDIR}/${DATADIR}/logfile ${STAGEDIR}/${DATADIR}/logfile.sample
98
	@${CP} ${STAGEDIR}/${DATADIR}/record ${STAGEDIR}/${DATADIR}/record.sample
99
	@${CP} ${STAGEDIR}/${DATADIR}/xlogfile ${STAGEDIR}/${DATADIR}/xlogfile.sample
100
.if ${PORT_OPTIONS:MDOCS}
101
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
102
	${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR}
103
.endif
104
105
.include <bsd.port.post.mk>
(-)b/games/xnethack/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1619550478
2
SHA256 (copperwater-xNetHack-xnh6.0_GH0.tar.gz) = 6adcbbbaa6582d83afded7a512d5c9e8d0961c31841db41d5bf39edc1dc49fe1
3
SIZE (copperwater-xNetHack-xnh6.0_GH0.tar.gz) = 5793880
(-)b/games/xnethack/files/patch-doc_dlb.6 (+11 lines)
Added Link Here
1
--- doc/dlb.6.orig	2021-03-22 22:28:14 UTC
2
+++ doc/dlb.6
3
@@ -96,7 +96,7 @@ List the contents of the archive 'foo':
4
 Kenneth Lorber
5
 .SH "SEE ALSO"
6
 .PP
7
-nethack(6), tar(1)
8
+xnethack%%HACKEXT%%(6), tar(1)
9
 .SH BUGS
10
 .PP
11
 Not a good tar emulation; - does not mean stdin or stdout.
(-)b/games/xnethack/files/patch-doc_nethack.6 (+38 lines)
Added Link Here
1
--- doc/nethack.6.orig	2021-03-22 22:28:14 UTC
2
+++ doc/nethack.6
3
@@ -17,7 +17,7 @@ nethack \- Exploring The Mazes of Menace
4
 .SH SYNOPSIS
5
 .na
6
 .hy 0
7
-.B nethack
8
+.B xnethack
9
 [
10
 .B \-d
11
 .I directory
12
@@ -219,7 +219,7 @@ option, which must be the first argument if it appears
13
 supplies a directory which is to serve as the playground.
14
 It overrides the value from NETHACKDIR, HACKDIR,
15
 or the directory specified by the game administrator during compilation
16
-(usually /usr/games/lib/nethackdir).
17
+(usually %%HACKDIR%%).
18
 This option is usually only useful to the game administrator.
19
 The playground must contain several auxiliary files such as help files,
20
 the list of top scorers, and a subdirectory
21
@@ -265,7 +265,7 @@ name is '.xnethackrc' in the user's home directory.
22
 
23
 .br
24
 All other files are in the playground directory,
25
-normally /usr/games/lib/nethackdir.
26
+normally %%HACKDIR%%.
27
 If DLB was defined during the compile, the data files and special levels
28
 will be inside a larger file, normally nhdat, instead of being separate
29
 files.
30
@@ -392,7 +392,7 @@ SHOPTYPE and SPLEVTYPE can be used in debugging (wizar
31
 DEBUGFILES can be used if the program was built with 'DEBUG' enabled.
32
 .SH "SEE ALSO"
33
 .PP
34
-recover(6)
35
+recover%%HACKEXT%%(6)
36
 .SH BUGS
37
 .PP
38
 Probably infinite.
(-)b/games/xnethack/files/patch-doc_recover.6 (+20 lines)
Added Link Here
1
--- doc/recover.6.orig	2021-03-22 22:28:14 UTC
2
+++ doc/recover.6
3
@@ -43,7 +43,7 @@ option, which must be the first argument if it appears
4
 supplies a directory which is the NetHack playground.
5
 It overrides the value from NETHACKDIR, HACKDIR, or the directory
6
 specified by the game administrator during compilation
7
-(usually /usr/games/lib/nethackdir).
8
+(usually %%HACKDIR%%).
9
 .PP
10
 ^?ALLDOCS
11
 For recovery to be possible,
12
@@ -130,7 +130,7 @@ but even a compression-using
13
 .I nethack
14
 will find them in the uncompressed form.
15
 .SH "SEE ALSO"
16
-nethack(6)
17
+xnethack%%HACKEXT%%(6)
18
 .SH BUGS
19
 .PP
20
 .I recover
(-)b/games/xnethack/files/patch-include-config.h (+36 lines)
Added Link Here
1
--- include/config.h.orig	2021-03-22 22:28:14 UTC
2
+++ include/config.h
3
@@ -294,11 +294,11 @@
4
 
5
 #if defined(UNIX) && !defined(ZLIB_COMP) && !defined(COMPRESS)
6
 /* path and file name extension for compression program */
7
-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
8
-#define COMPRESS_EXTENSION ".Z"      /* compress's extension */
9
+/* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */
10
+/* #define COMPRESS_EXTENSION ".Z"      */ /* compress's extension */
11
 /* An example of one alternative you might want to use: */
12
-/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
13
-/* #define COMPRESS_EXTENSION ".gz" */       /* normal gzip extension */
14
+#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
15
+#define COMPRESS_EXTENSION ".gz"       /* normal gzip extension */
16
 #endif
17
 
18
 #ifndef COMPRESS
19
@@ -383,7 +383,7 @@
20
  * otherwise it will be the current directory.
21
  */
22
 #ifndef HACKDIR
23
-#define HACKDIR "/usr/games/lib/xnethackdir"
24
+#define HACKDIR "%%HACKDIR%%"
25
 #endif
26
 
27
 /*
28
@@ -646,7 +646,7 @@ typedef unsigned char uchar;
29
 #ifdef DUMPLOG
30
 
31
 #ifndef DUMPLOG_FILE
32
-#define DUMPLOG_FILE        "/tmp/xnethack.%n.%d.log"
33
+#define DUMPLOG_FILE        "/tmp/xnethack.%v.%u.%n.%D.log"
34
 /* DUMPLOG_FILE allows following placeholders:
35
    %% literal '%'
36
    %v version (eg. "3.6.3-0")
(-)b/games/xnethack/files/patch-include-system.h (+13 lines)
Added Link Here
1
--- include/system.h.orig	2021-03-22 22:28:14 UTC
2
+++ include/system.h
3
@@ -82,7 +82,9 @@ typedef long off_t;
4
 #if !defined(__SC__) && !defined(LINUX)
5
 E long random(void);
6
 #endif
7
-#if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) \
8
+# if defined(__FreeBSD__)
9
+#include <stdlib.h> /* srandom() differs between versions of FreeBSD. */
10
+#elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) \
11
     || defined(RANDOM)
12
 E void srandom(unsigned int);
13
 #else
(-)b/games/xnethack/files/patch-include-unixconf.h (+27 lines)
Added Link Here
1
--- include/unixconf.h.orig	2021-03-22 22:28:14 UTC
2
+++ include/unixconf.h
3
@@ -20,13 +20,13 @@
4
  */
5
 
6
 /* define exactly one of the following four choices */
7
-/* #define BSD 1 */  /* define for 4.n/Free/Open/Net BSD  */
8
+#define BSD 1        /* define for 4.n/Free/Open/Net BSD  */
9
                      /* also for relatives like SunOS 4.x, DG/UX, and */
10
                      /* older versions of Linux */
11
 /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
12
                      /* Use BSD for < v3.0 */
13
                      /* "ULTRIX" not to be confused with "ultrix" */
14
-#define SYSV         /* define for System V, Solaris 2.x, newer versions */
15
+/* #define SYSV */   /* define for System V, Solaris 2.x, newer versions */
16
                      /* of Linux */
17
 /* #define HPUX */   /* Hewlett-Packard's Unix, version 6.5 or higher */
18
                      /* use SYSV for < v6.5 */
19
@@ -315,7 +315,7 @@
20
 #endif
21
 
22
 #if defined(BSD) || defined(ULTRIX)
23
-#if !defined(DGUX) && !defined(SUNOS4)
24
+#if !defined(DGUX) && !defined(SUNOS4) && !defined(__FreeBSD__)
25
 #define memcpy(d, s, n) bcopy(s, d, n)
26
 #define memcmp(s1, s2, n) bcmp(s2, s1, n)
27
 #endif
(-)b/games/xnethack/files/patch-src-files.c (+10 lines)
Added Link Here
1
--- src/files.c.orig	2021-03-22 22:28:14 UTC
2
+++ src/files.c
3
@@ -51,6 +51,7 @@ const
4
 
5
 #if defined(UNIX) && defined(SELECTSAVED)
6
 #include <sys/types.h>
7
+#include <limits.h>
8
 #include <dirent.h>
9
 #include <stdlib.h>
10
 #endif
(-)b/games/xnethack/files/patch-sys-unix-Makefile.doc (+39 lines)
Added Link Here
1
--- sys/unix/Makefile.doc.orig	2021-03-22 22:28:14 UTC
2
+++ sys/unix/Makefile.doc
3
@@ -66,15 +66,15 @@ Guidebook.dvi:	Guidebook.tex
4
 	latex Guidebook.tex
5
 
6
 
7
-GAME	= nethack
8
-MANDIR	= /usr/man/man6
9
+GAME	= xnethack%%HACKEXT%%
10
+MANDIR	= ${PREFIX}/man/man6
11
 MANEXT	= 6
12
 
13
 # manual installation for most BSD-style systems
14
-GAMEMANCREATE = cat nethack.6 | $(NHGREP) >
15
-RCVRMANCREATE = cat recover.6 | $(NHGREP) >
16
-DLBMANCREATE = cat dlb.6 | $(NHGREP) >
17
-MDMANCREATE = cat makedefs.6 | $(NHGREP) >
18
+GAMEMANCREATE = cat nethack.6 | $(NHGREP) > nethack.6.out ; ${BSD_INSTALL_MAN} nethack.6.out
19
+RCVRMANCREATE = cat recover.6 | $(NHGREP) > recover.6.out ; ${BSD_INSTALL_MAN} recover.6.out
20
+DLBMANCREATE = cat dlb.6 | $(NHGREP) > dlb.6.out ; ${BSD_INSTALL_MAN} dlb.6.out
21
+MDMANCREATE = cat makedefs.6 | $(NHGREP) > makedefs.6.out ; ${BSD_INSTALL_MAN} makedefs.6.out
22
 # manual installation for most SYSV-style systems
23
 # GAMEMANCREATE = cat nethack.6 | $(NHGREP) | nroff -man - >
24
 # RCVRMANCREATE = cat recover.6 | $(NHGREP) | nroff -man - >
25
@@ -82,10 +82,10 @@ MDMANCREATE = cat makedefs.6 | $(NHGREP) >
26
 # MDMANCREATE = cat makedefs.6 | $(NHGREP) | nroff -man - >
27
 
28
 manpages:
29
-	-$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT)
30
-	-$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
31
-	-$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT)
32
-	-$(MDMANCREATE) $(MANDIR)/makedefs.$(MANEXT)
33
+	-$(GAMEMANCREATE) ${DESTDIR}$(MANDIR)/$(GAME)%%HACKEXT%%.$(MANEXT)
34
+	-$(RCVRMANCREATE) ${DESTDIR}$(MANDIR)/recover%%HACKEXT%%.$(MANEXT)
35
+	-$(DLBMANCREATE) ${DESTDIR}$(MANDIR)/dlb%%HACKEXT%%.$(MANEXT)
36
+	-$(MDMANCREATE) ${DESTDIR}$(MANDIR)/makedefs%%HACKEXT%%.$(MANEXT)
37
 
38
 # manual creation for distribution
39
 DISTRIB = Guidebook.txt nethack.txt recover.txt \
(-)b/games/xnethack/files/patch-sys-unix-Makefile.src (+154 lines)
Added Link Here
1
--- sys/unix/Makefile.src.orig	2021-03-22 22:28:14 UTC
2
+++ sys/unix/Makefile.src
3
@@ -169,9 +169,17 @@ SYSOBJ = $(TARGETPFX)ioctl.o $(TARGETPFX)unixmain.o $(
4
 
5
 # flags for debugging:
6
 # CFLAGS = -g -I../include
7
+CFLAGS += -I../include -I${LUA_INCDIR}
8
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
9
+CFLAGS += -DX11_GRAPHICS -I${LOCALBASE}/include
10
+endif
11
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
12
+CFLAGS += -DQT_GRAPHICS
13
+endif
14
 
15
 #CFLAGS = -O -I../include
16
-#LFLAGS =
17
+LFLAGS += -L${LUA_LIBDIR}
18
+LINK = $(CC)
19
 
20
 # The Qt and Be window systems are written in C++, while the rest of
21
 # NetHack is standard C.  If using Qt, uncomment the LINK line here to get
22
@@ -297,6 +305,29 @@ WINBEOBJ =
23
 # Curses - Karl Garrison, Tangles
24
 #WINSRC = $(WINCURSESSRC)
25
 #WINOBJ = $(WINCURSESOBJ)
26
+
27
+WINSRC = $(WINTTYSRC) $(WINCURSESSRC)
28
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
29
+WINSRC += $(WINX11SRC)
30
+endif
31
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
32
+WINSRC += $(WINQTSRC)
33
+endif
34
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
35
+WINSRC += $(WINGNOMESRC)
36
+endif
37
+
38
+WINOBJ = $(WINTTYOBJ) $(WINCURSESOBJ)
39
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
40
+WINOBJ += $(WINX11OBJ)
41
+endif
42
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
43
+WINOBJ += $(WINQTOBJ)
44
+endif
45
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
46
+WINOBJ += $(WINGNOMEOBJ)
47
+endif
48
+
49
 #
50
 # on some systems the termcap library is in -ltermcap or -lcurses
51
 # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
52
@@ -313,6 +344,7 @@ WINBEOBJ =
53
 # WINTTYLIB = -lcurses16
54
 # WINTTYLIB = -lncurses
55
 #WINTTYLIB = -ltermlib
56
+WINTTYLIB = -lncurses -L${LOCALBASE}/lib
57
 #
58
 # libraries for X11
59
 # If USE_XPM is defined in config.h, you will also need -lXpm here.
60
@@ -320,10 +352,13 @@ WINBEOBJ =
61
 # WINX11LIB = -lXaw -lXmu -lXt -lX11
62
 # WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
63
 # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
64
+WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -L${LOCALBASE}/lib
65
 #
66
 #
67
 # libraries for Qt 3
68
-WINQT3LIB = -L$(QTDIR)/lib -lqt
69
+#WINQTLIB = -L$(QTDIR)/lib -lqt
70
+WINQT3LIB = ${QTCFGLIBS} ${LIBQT}
71
+WINQTLIB = ${QTCFGLIBS} ${LIBQT}
72
 #
73
 # libraries for Qt 4
74
 WINQT4LIB = `pkg-config QtGui --libs`
75
@@ -339,7 +374,7 @@ WINBELIB = -lbe
76
 #
77
 # libraries for curses port
78
 # link with ncurses
79
-WINCURSESLIB = -lncurses
80
+WINCURSESLIB = -lncurses -L${LOCALBASE}/lib
81
 # link with pdcurses for SDL, installed in a separate directory
82
 #WINCURSESLIB = -L/usr/local/lib/pdcurses -lpdcurses -lSDL
83
 # same as above, for XCurses
84
@@ -349,6 +384,18 @@ WINCURSESLIB = -lncurses
85
 #
86
 # For Curses
87
 #WINLIB = $(WINCURSESLIB)
88
+
89
+WINLIB = $(WINTTYLIB)
90
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
91
+WINLIB += $(WINX11LIB)
92
+endif
93
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
94
+WINLIB += $(WINQTLIB)
95
+endif
96
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
97
+WINLIB += $(WINGNOMELIB)
98
+endif
99
+
100
 #
101
 # some platforms need to build the support libraries
102
 # BUILDMORE = $(TARGETPFX)pdcurses.a
103
@@ -384,7 +431,7 @@ WINCURSESLIB = -lncurses
104
 # LIBS =
105
 
106
 # make NetHack
107
-GAME     = xnethack
108
+GAME     = xnethack%%HACKEXT%%
109
 # GAME     = nethack.prg
110
 GAMEBIN = $(GAME)
111
 
112
@@ -412,7 +459,7 @@ GITINFO=1
113
 # (rather than just in suffix default rule), such as is implemented by
114
 # gnu make and others which have picked up its extensions;
115
 # allowed values are 0, 1, and empty (which behaves like 0)
116
-QUIETCC=1
117
+QUIETCC=0
118
 
119
 # ----------------------------------------
120
 #
121
@@ -465,7 +512,8 @@ PACKAGE=@true
122
 MAKEDEFS = ../util/makedefs
123
 
124
 # -lm required by lua
125
-LUALIB = ../lib/lua/liblua.a -lm
126
+#LUALIB = ../lib/lua/liblua.a -lm
127
+LUALIB = -llua-${LUA_VER} -lm
128
 
129
 # timestamp files to reduce `make' overhead and shorten .o dependency lists
130
 CONFIG_H = ../src/config.h-t
131
@@ -654,7 +702,7 @@ DUMB.Setup:	../include/extern.h
132
 	cp ../include/extern.DUMB ../include/extern.h
133
 	@touch DUMB.Setup
134
 
135
-../lib/lua/liblua.a ../include/nhlua.h:
136
+../include/nhlua.h:
137
 	@( cd .. ; $(MAKE) lua_support )
138
 
139
 #	dependencies for makedefs and its outputs, which the util
140
@@ -673,11 +721,11 @@ objects.o:
141
 
142
 # Qt 3 windowport meta-object-compiler output
143
 qt3_kde0.moc: ../win/Qt3/qt3_kde0.h
144
-	$(QTDIR)/bin/moc -o qt3kde0.moc ../win/Qt3/qt3_kde0.h
145
+	${MOC} -o qt3kde0.moc ../win/Qt3/qt3_kde0.h
146
 qt3_win.moc: ../win/Qt3/qt3_win.h
147
-	$(QTDIR)/bin/moc -o qt3win.moc ../win/Qt3/qt3_win.h
148
+	${MOC} -o qt3win.moc ../win/Qt3/qt3_win.h
149
 qt3tableview.moc: ../win/Qt3/qt3tableview.h
150
-	$(QTDIR)/bin/moc -o qt3tableview.moc ../win/Qt/qt3tableview.h
151
+	${MOC} -o qt3tableview.moc ../win/Qt/qt3tableview.h
152
 
153
 # Qt 4 windowport meta-object-compiler output
154
 qt_kde0.moc : ../win/Qt/qt_kde0.h
(-)b/games/xnethack/files/patch-sys-unix-Makefile.top (+175 lines)
Added Link Here
1
--- sys/unix/Makefile.top.orig	2021-03-22 22:28:14 UTC
2
+++ sys/unix/Makefile.top
3
@@ -20,18 +20,18 @@ NHSROOT=.
4
 
5
 # make NetHack
6
 #PREFIX	 = /usr
7
-GAME     = xnethack
8
+GAME     = xnethack%%HACKEXT%%
9
 # GAME     = nethack.prg
10
 #GAMEUID  = games
11
-#GAMEGRP  = bin
12
+GAMEGRP  = games
13
 
14
 # Permissions - some places use setgid instead of setuid, for instance
15
 # See also the option "SECURE" in include/config.h
16
-#GAMEPERM = 04755
17
-FILEPERM = 0644
18
+GAMEPERM = 02755
19
+FILEPERM = 0664
20
 # VARFILEPERM = 0644
21
 EXEPERM  = 0755
22
-DIRPERM  = 0755
23
+DIRPERM  = 0775
24
 # VARDIRPERM = 0755
25
 
26
 # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else HACKDIR
27
@@ -41,14 +41,15 @@ DIRPERM  = 0755
28
 # therefore there should not be anything in HACKDIR that you want to keep
29
 # (if there is, you'll have to do the installation by hand or modify the
30
 # instructions)
31
-#HACKDIR  = $(PREFIX)/games/lib/$(GAME)dir
32
-#VARDIR  = $(HACKDIR)
33
+HACKDIR  = %%HACKDIR%%
34
+VARDIR  = $(HACKDIR)
35
+INSTDIR = $(HACKDIR)
36
 # Where nethack.sh in installed.  If this is not defined, the wrapper is not used.
37
-#SHELLDIR = $(PREFIX)/games
38
+SHELLDIR = ${PREFIX}/bin
39
 
40
 # per discussion in Install.X11 and Install.Qt
41
 #VARDATND =
42
 # VARDATND = x11tiles NetHack.ad pet_mark.xbm pilemark.xbm
43
-# VARDATND = x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm
44
+VARDATND = x11tiles NetHack.ad pet_mark.xbm pilemark.xbm
45
 # for Atari/Gem
46
 # VARDATND = nh16.img title.img GEM_RSC.RSC rip.img
47
@@ -75,7 +76,7 @@ VARDAT = $(VARDATD) $(VARDATND)
48
 #CHGRP = chgrp
49
 
50
 # Lua version
51
-LUA_VERSION = 5.4.2
52
+LUA_VERSION = ${LUA_VER}
53
 
54
 #
55
 # end of configuration
56
@@ -108,7 +109,7 @@ all:    $(ALLDEP)
57
 $(GAME): lua_support
58
 	( cd src ; $(MAKE) $(GAME) )
59
 
60
-lua_support: $(TOPLUALIB) include/nhlua.h
61
+lua_support: include/nhlua.h
62
 	@true
63
 lib/lua-$(LUA_VERSION)/src/liblua.a: lib/lua-$(LUA_VERSION)/src/lua.h
64
 	( cd lib/lua-$(LUA_VERSION)/src \
65
@@ -116,13 +117,11 @@ lib/lua-$(LUA_VERSION)/src/liblua.a: lib/lua-$(LUA_VER
66
 lib/lua/liblua.a: lib/lua-$(LUA_VERSION)/src/liblua.a
67
 	@( if [ ! -d lib/lua ] ; then mkdir -p lib/lua ; fi )
68
 	cp lib/lua-$(LUA_VERSION)/src/liblua.a $@
69
-include/nhlua.h: $(TOPLUALIB)
70
+include/nhlua.h:
71
 	echo '/* nhlua.h - generated by top Makefile */' > $@
72
-	@echo '#include "../lib/lua-$(LUA_VERSION)/src/lua.h"' >> $@
73
-	@sed -e '/(lua_error)/!d' -e '/(lua_error)/s/;/ NORETURN;/1' \
74
-		< lib/lua-$(LUA_VERSION)/src/lua.h >> $@
75
-	@echo '#include "../lib/lua-$(LUA_VERSION)/src/lualib.h"' >> $@
76
-	@echo '#include "../lib/lua-$(LUA_VERSION)/src/lauxlib.h"' >> $@
77
+	@echo '#include <lua.h>' >> $@
78
+	@echo '#include <lualib.h>' >> $@
79
+	@echo '#include <lauxlib.h>' >> $@
80
 	@echo '/*nhlua.h*/' >> $@
81
 
82
 # Note: many of the dependencies below are here to allow parallel make
83
@@ -234,39 +233,22 @@ dofiles:
84
 		-e '}' 					\
85
 	  	-e '$$s/.*/nodlb/p' < dat/options` ;	\
86
 	$(MAKE) dofiles-$${target-nodlb}
87
-	cp src/$(GAME) $(INSTDIR)
88
-	cp util/recover $(INSTDIR)
89
-	-if test -n '$(SHELLDIR)'; then rm -f $(SHELLDIR)/$(GAME); fi
90
+	cp src/$(GAME) ${DESTDIR}$(INSTDIR)/$(GAME)
91
+	cp util/recover ${DESTDIR}$(INSTDIR)
92
+	-if test -n '${DESTDIR}$(SHELLDIR)'; then rm -f ${DESTDIR}$(SHELLDIR)/$(GAME); fi
93
 	if test -n '$(SHELLDIR)'; then \
94
 		sed -e 's;/usr/games/lib/nethackdir;$(HACKDIR);' \
95
 		-e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \
96
 		< sys/unix/nethack.sh \
97
-		> $(SHELLDIR)/$(GAME) ; fi
98
-# set up their permissions
99
-	-( cd $(INSTDIR) ; $(CHOWN) $(GAMEUID) $(GAME) recover ; \
100
-			$(CHGRP) $(GAMEGRP) $(GAME) recover )
101
-	chmod $(GAMEPERM) $(INSTDIR)/$(GAME)
102
-	chmod $(EXEPERM) $(INSTDIR)/recover
103
-	-if test -n '$(SHELLDIR)'; then \
104
-		$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME); fi
105
-	if test -n '$(SHELLDIR)'; then \
106
-		$(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME); \
107
-		chmod $(EXEPERM) $(SHELLDIR)/$(GAME); fi
108
+		>  ${DESTDIR}$(SHELLDIR)/$(GAME) ; fi
109
 
110
 dofiles-dlb: check-dlb
111
-	( cd dat ; cp nhdat $(DATNODLB) $(INSTDIR) )
112
-# set up their permissions
113
-	-( cd $(INSTDIR) ; $(CHOWN) $(GAMEUID) nhdat $(DATNODLB) ; \
114
-			$(CHGRP) $(GAMEGRP) nhdat $(DATNODLB) ; \
115
-			chmod $(FILEPERM) nhdat $(DATNODLB) )
116
+	( cd dat ; cp nhdat $(DATNODLB) ${DESTDIR}$(INSTDIR) )
117
 
118
 dofiles-nodlb:
119
 # copy over the game files
120
-	( cd dat ; cp $(DAT) $(INSTDIR) )
121
-# set up their permissions
122
-	-( cd $(INSTDIR) ; $(CHOWN) $(GAMEUID) $(DAT) ; \
123
-			$(CHGRP) $(GAMEGRP) $(DAT) ; \
124
-			chmod $(FILEPERM) $(DAT) )
125
+	( cd dat ; cp $(DAT) ${DESTDIR}$(INSTDIR) )
126
+
127
 #
128
 # This is not part of the dependency build hierarchy.
129
 # It requires an explicit "make fetch-Lua".
130
@@ -283,13 +265,9 @@ fetch-Lua:
131
 update: $(GAME) recover $(VARDAT) spec_levs
132
 #	(don't yank the old version out from under people who're playing it)
133
 	-mv $(INSTDIR)/$(GAME) $(INSTDIR)/$(GAME).old
134
-	-mv $(INSTDIR)/nhdat $(INSTDIR)/nhdat.old
135
+	-mv ${DESTDIR}$(INSTDIR)/nhdat ${DESTDIR}$(INSTDIR)/nhdat.old
136
 # set up new versions of the game files
137
 	( $(MAKE) dofiles )
138
-# touch time-sensitive files
139
-	-touch -c $(VARDIR)/bones* $(VARDIR)/?lock* $(VARDIR)/wizard*
140
-	-touch -c $(VARDIR)/save/* $(VARDIR)/whereis/*
141
-	touch $(VARDIR)/perm $(VARDIR)/record
142
 # and a reminder
143
 	@echo You may also want to install the man pages via the doc Makefile.
144
 
145
@@ -300,25 +278,16 @@ install: rootcheck $(GAME) recover $(VARDAT) spec_levs
146
 	true; $(PREINSTALL)
147
 # set up the directories
148
 # not all mkdirs have -p; those that don't will create a -p directory
149
-	-if test -n '$(SHELLDIR)'; then \
150
-		mkdir -p $(SHELLDIR); fi
151
-	rm -rf $(INSTDIR) $(VARDIR)
152
-	-mkdir -p $(INSTDIR) $(VARDIR) $(VARDIR)/save $(VARDIR)/whereis
153
+	-if test -n '${DESTDIR}$(SHELLDIR)'; then \
154
+		mkdir -p ${DESTDIR}$(SHELLDIR); fi
155
+	rm -rf ${DESTDIR}$(INSTDIR) ${DESTDIR}$(VARDIR)
156
+	-mkdir -p ${DESTDIR}$(INSTDIR) ${DESTDIR}$(VARDIR) ${DESTDIR}$(VARDIR)/save ${DESTDIR}$(VARDIR)/whereis
157
 	if test -d ./-p; then rmdir ./-p; fi
158
-	-$(CHOWN) $(GAMEUID) $(INSTDIR) $(VARDIR) $(VARDIR)/save $(VARDIR)/whereis
159
-	$(CHGRP) $(GAMEGRP) $(INSTDIR) $(VARDIR) $(VARDIR)/save $(VARDIR)/whereis
160
 # order counts here:
161
-	chmod $(DIRPERM) $(INSTDIR)
162
-	chmod $(VARDIRPERM) $(VARDIR) $(VARDIR)/save $(VARDIR)/whereis
163
 # set up the game files
164
 	( $(MAKE) dofiles )
165
 # set up some additional files
166
-	touch $(VARDIR)/perm $(VARDIR)/record $(VARDIR)/logfile \
167
-		$(VARDIR)/xlogfile $(VARDIR)/livelog
168
-	-( cd $(VARDIR) ; \
169
-		$(CHOWN) $(GAMEUID) perm record logfile xlogfile livelog ; \
170
-		$(CHGRP) $(GAMEGRP) perm record logfile xlogfile livelog ; \
171
-		chmod $(VARFILEPERM) perm record logfile xlogfile livelog )
172
+	touch ${DESTDIR}$(VARDIR)/perm ${DESTDIR}$(VARDIR)/record ${DESTDIR}$(VARDIR)/logfile ${DESTDIR}$(VARDIR)/xlogfile
173
 	true; $(POSTINSTALL)
174
 # and a reminder
175
 	@echo You may also want to reinstall the man pages via the doc Makefile.
(-)b/games/xnethack/files/patch-sys-unix-Makefile.utl (+33 lines)
Added Link Here
1
--- sys/unix/Makefile.utl.orig	2021-03-22 22:28:14 UTC
2
+++ sys/unix/Makefile.utl
3
@@ -93,18 +93,25 @@ NHSROOT=..
4
 # flags for debugging:
5
 # CFLAGS = -g -I../include
6
 
7
-#CFLAGS = -O -I../include
8
-#LFLAGS =
9
+CFLAGS += -I../include -I${LUA_INCDIR}
10
+ifeq ("$(GRAPHICS)","X11_GRAPHICS")
11
+CFLAGS += -DX11_GRAPHICS
12
+endif
13
+ifeq ("$(GRAPHICS)","QT_GRAPHICS")
14
+CFLAGS += -DQT_GRAPHICS
15
+endif
16
+ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
17
+CFLAGS += -DGNOME_GRAPHICS
18
+endif
19
 
20
-# -lm required by lua
21
-LFLAGS += -lm
22
+LFLAGS = -L${LUA_LIBDIR}
23
 
24
 # we specify C preprocessor flags via CFLAGS; files built with default rules
25
 # might include $(CPPFLAGS) which could get a value from user's environment;
26
 # we avoid that by forcing it empty rather than by overriding default rules
27
 CPPFLAGS =
28
 
29
-LIBS =
30
+LIBS = -llua-${LUA_VER} -lm
31
 
32
 OBJDIR = ../src
33
 
(-)b/games/xnethack/files/patch-sys-unix-sysconf (+11 lines)
Added Link Here
1
--- sys/unix/sysconf.orig	2021-03-22 22:28:14 UTC
2
+++ sys/unix/sysconf
3
@@ -136,7 +136,7 @@ LLC_TURNS=3000
4
 #   %D current time, YYYYMMDDhhmmss format
5
 #   %n player name
6
 #   %N first character of player name
7
-DUMPLOGFILE=/tmp/xnethack.%n.%d.log
8
+DUMPLOGFILE=/tmp/nethack.%v.%u.%n.%D.log
9
 
10
 # End of game HTML dump.
11
 # Only available if NetHack was compiled with DUMPHTML
(-)b/games/xnethack/files/patch-util-makedefs.c (+71 lines)
Added Link Here
1
--- util/makedefs.c.orig	2021-03-22 22:28:14 UTC
2
+++ util/makedefs.c
3
@@ -116,6 +116,7 @@ static struct version_info version;
4
 #define MAXFNAMELEN 600
5
 
6
 static char filename[MAXFNAMELEN];
7
+static char tempfilename[MAXFNAMELEN];
8
 
9
 #ifdef FILE_PREFIX
10
 /* if defined, a first argument not starting with - is
11
@@ -229,6 +230,12 @@ main(int argc, char *argv[])
12
         return 1;
13
     }
14
 
15
+    if (snprintf(tempfilename, sizeof(tempfilename), "%s.%d", "grep.tmp", getpid()) >= sizeof(tempfilename)) {
16
+        Fprintf(stderr, "Cannot create temporary filename.");
17
+        (void) fflush(stderr);
18
+        return 1;
19
+    }
20
+
21
 #ifdef FILE_PREFIX
22
     if (argc >= 2 && argv[1][0] != '-') {
23
         file_prefix = argv[1];
24
@@ -964,12 +971,12 @@ do_rnd_access_file(const char* fname, const char* defl
25
        more likely to be picked than normal but it's nothing to worry about */
26
     (void) fputs(xcrypt(deflt_content), ofp);
27
 
28
-    tfp = getfp(DATA_TEMPLATE, "grep.tmp", WRTMODE, FLG_TEMPFILE);
29
+    tfp = getfp(DATA_TEMPLATE, tempfilename, WRTMODE, FLG_TEMPFILE);
30
     grep0(ifp, tfp, FLG_TEMPFILE);
31
 #ifndef HAS_NO_MKSTEMP
32
     ifp = tfp;
33
 #else
34
-    ifp = getfp(DATA_TEMPLATE, "grep.tmp", RDTMODE, 0);
35
+    ifp = getfp(DATA_TEMPLATE, tempfilename, RDTMODE, 0);
36
 #endif
37
     while ((line = fgetline(ifp)) != 0) {
38
         if (line[0] != '#' && line[0] != '\n')
39
@@ -980,7 +987,7 @@ do_rnd_access_file(const char* fname, const char* defl
40
     Fclose(ofp);
41
 
42
 #ifdef HAS_NO_MKSTEMP
43
-    delete_file(DATA_TEMPLATE, "grep.tmp");
44
+    delete_file(DATA_TEMPLATE, templfilename);
45
 #endif
46
     return;
47
 }
48
@@ -1758,12 +1765,12 @@ do_dungeon(void)
49
     }
50
     Fprintf(ofp, "%s", Dont_Edit_Data);
51
 
52
-    tfp = getfp(DATA_TEMPLATE, "grep.tmp", WRTMODE, FLG_TEMPFILE);
53
+    tfp = getfp(DATA_TEMPLATE, tempfilename, WRTMODE, FLG_TEMPFILE);
54
     grep0(ifp, tfp, FLG_TEMPFILE);
55
 #ifndef HAS_NO_MKSTEMP
56
     ifp = tfp;
57
 #else
58
-    ifp = getfp(DATA_TEMPLATE, "grep.tmp", RDTMODE, 0);
59
+    ifp = getfp(DATA_TEMPLATE, tempfilename, RDTMODE, 0);
60
 #endif
61
     while ((line = fgetline(ifp)) != 0) {
62
         SpinCursor(3);
63
@@ -1779,7 +1786,7 @@ do_dungeon(void)
64
     Fclose(ofp);
65
 
66
 #ifdef HAS_NO_MKSTEMP
67
-    delete_file(DATA_TEMPLATE, "grep.tmp");
68
+    delete_file(DATA_TEMPLATE, tempfilename);
69
 #endif
70
     return;
71
 }
(-)b/games/xnethack/files/patch-win-tty-termcap.c (+13 lines)
Added Link Here
1
--- win/tty/termcap.c.orig	2021-03-22 22:28:14 UTC
2
+++ win/tty/termcap.c
3
@@ -185,10 +185,6 @@ tty_startup(int *wid, int *hgt)
4
         error("Terminal must backspace.");
5
 #else
6
         if (!(BC = Tgetstr("bc"))) { /* termcap also uses bc/bs */
7
-#ifndef MINIMAL_TERM
8
-            if (!tgetflag("bs"))
9
-                error("Terminal must backspace.");
10
-#endif
11
             BC = tbufptr;
12
             tbufptr += 2;
13
             *BC = '\b';
(-)b/games/xnethack/files/patch-win_Qt_qt__win.cpp (+14 lines)
Added Link Here
1
--- win/Qt/qt_win.cpp.orig	2021-03-22 22:28:14 UTC
2
+++ win/Qt/qt_win.cpp
3
@@ -57,6 +57,11 @@ extern "C" {
4
 #endif
5
 #include "qt_post.h"
6
 
7
+#ifdef Invisible
8
+/* Invisible was added to an enum in Qt 3.2, #defined in youprop.h */
9
+#undef Invisible
10
+#endif
11
+
12
 // Many of these headers are not needed here.  It's a holdover
13
 // from when most of the Qt code was in one big file.
14
 #include "qt_win.h"
(-)b/games/xnethack/files/pkg-deinstall.in (+14 lines)
Added Link Here
1
#!/bin/sh
2
3
if [ "${2}" = "POST-DEINSTALL" ]; then
4
	if [ -d "${PKG_PREFIX}/%%HACKDIR%%" ]; then
5
		echo
6
		echo "The ${1} save files have not been removed."
7
		echo
8
		echo "If you are deleting ${1} permanently then you can "
9
		echo "remove the save files with the command:"
10
		echo
11
		echo "	rm -rf ${PKG_PREFIX}/%%HACKDIR%%"
12
		echo
13
	fi
14
fi
(-)b/games/xnethack/pkg-descr (+19 lines)
Added Link Here
1
xNetHack is a fork of the dungeon exploration game NetHack.  It is a
2
distant descendent of Rogue and Hack, and a direct descendant of the
3
development version of NetHack 3.7.
4
5
The main goals of xNetHack are to take vanilla NetHack and:
6
7
 - Fix gameplay balance issues.
8
 - Remove tedious and frustrating parts of the game.
9
 - Make uninteresting parts of the game more interesting.
10
 - Experiment with new ideas from the community.
11
12
In general, the game design takes a conservative approach to changing
13
the gameplay compared to other variants, with focus on deepening
14
elements of the game rather than broadening them.  For example, this
15
philosophy would prefer to differentiate monsters in a class that all
16
tend to play the same way, instead of adding new monsters to that class.
17
18
19
WWW: https://nethackwiki.com/wiki/XNetHack
(-)b/games/xnethack/pkg-plist (-1 / +180 lines)
Added Link Here
0
- 
1
%%HACKLINK%%bin/xnethack
2
@mode 555
3
bin/%%HACKNAME%%
4
@owner games
5
@group games
6
@mode 02755
7
%%DATADIR%%/%%HACKNAME%%
8
@mode
9
%%DATADIR%%/Arc-fila.lua
10
%%DATADIR%%/Arc-filb.lua
11
%%DATADIR%%/Arc-goal.lua
12
%%DATADIR%%/Arc-loca.lua
13
%%DATADIR%%/Arc-strt.lua
14
%%DATADIR%%/Bar-fila.lua
15
%%DATADIR%%/Bar-filb.lua
16
%%DATADIR%%/Bar-goal.lua
17
%%DATADIR%%/Bar-loca.lua
18
%%DATADIR%%/Bar-strt.lua
19
%%DATADIR%%/Cav-fila.lua
20
%%DATADIR%%/Cav-filb.lua
21
%%DATADIR%%/Cav-goal.lua
22
%%DATADIR%%/Cav-loca.lua
23
%%DATADIR%%/Cav-strt.lua
24
%%DATADIR%%/Hea-fila.lua
25
%%DATADIR%%/Hea-filb.lua
26
%%DATADIR%%/Hea-goal.lua
27
%%DATADIR%%/Hea-loca.lua
28
%%DATADIR%%/Hea-strt.lua
29
%%DATADIR%%/Kni-fila.lua
30
%%DATADIR%%/Kni-filb.lua
31
%%DATADIR%%/Kni-goal.lua
32
%%DATADIR%%/Kni-loca.lua
33
%%DATADIR%%/Kni-strt.lua
34
%%DATADIR%%/Mon-fila.lua
35
%%DATADIR%%/Mon-filb.lua
36
%%DATADIR%%/Mon-goal.lua
37
%%DATADIR%%/Mon-loca.lua
38
%%DATADIR%%/Mon-strt.lua
39
%%DATADIR%%/NHdump.css
40
%%DATADIR%%/NetHack.ad
41
%%DATADIR%%/Pri-fila.lua
42
%%DATADIR%%/Pri-filb.lua
43
%%DATADIR%%/Pri-goal.lua
44
%%DATADIR%%/Pri-loca.lua
45
%%DATADIR%%/Pri-strt.lua
46
%%DATADIR%%/Ran-fila.lua
47
%%DATADIR%%/Ran-filb.lua
48
%%DATADIR%%/Ran-goal.lua
49
%%DATADIR%%/Ran-loca.lua
50
%%DATADIR%%/Ran-strt.lua
51
%%DATADIR%%/Rog-fila.lua
52
%%DATADIR%%/Rog-filb.lua
53
%%DATADIR%%/Rog-goal.lua
54
%%DATADIR%%/Rog-loca.lua
55
%%DATADIR%%/Rog-strt.lua
56
%%DATADIR%%/Sam-fila.lua
57
%%DATADIR%%/Sam-filb.lua
58
%%DATADIR%%/Sam-goal.lua
59
%%DATADIR%%/Sam-loca.lua
60
%%DATADIR%%/Sam-strt.lua
61
%%DATADIR%%/Tou-fila.lua
62
%%DATADIR%%/Tou-filb.lua
63
%%DATADIR%%/Tou-goal.lua
64
%%DATADIR%%/Tou-loca.lua
65
%%DATADIR%%/Tou-strt.lua
66
%%DATADIR%%/Val-fila.lua
67
%%DATADIR%%/Val-filb.lua
68
%%DATADIR%%/Val-goal.lua
69
%%DATADIR%%/Val-loca.lua
70
%%DATADIR%%/Val-strt.lua
71
%%DATADIR%%/Wiz-fila.lua
72
%%DATADIR%%/Wiz-filb.lua
73
%%DATADIR%%/Wiz-goal.lua
74
%%DATADIR%%/Wiz-loca.lua
75
%%DATADIR%%/Wiz-strt.lua
76
%%DATADIR%%/air.lua
77
%%DATADIR%%/asmodeus.lua
78
%%DATADIR%%/astral.lua
79
%%DATADIR%%/baalz.lua
80
%%DATADIR%%/bigrm-1.lua
81
%%DATADIR%%/bigrm-10.lua
82
%%DATADIR%%/bigrm-11.lua
83
%%DATADIR%%/bigrm-2.lua
84
%%DATADIR%%/bigrm-3.lua
85
%%DATADIR%%/bigrm-4.lua
86
%%DATADIR%%/bigrm-5.lua
87
%%DATADIR%%/bigrm-6.lua
88
%%DATADIR%%/bigrm-7.lua
89
%%DATADIR%%/bigrm-8.lua
90
%%DATADIR%%/bigrm-9.lua
91
%%DATADIR%%/bogusmon
92
%%DATADIR%%/castle.lua
93
%%DATADIR%%/cmdhelp
94
%%DATADIR%%/data
95
%%DATADIR%%/dungeon.lua
96
%%DATADIR%%/earth.lua
97
%%DATADIR%%/engrave
98
%%DATADIR%%/epitaph
99
%%DATADIR%%/fakewiz1.lua
100
%%DATADIR%%/fakewiz2.lua
101
%%DATADIR%%/fire.lua
102
%%DATADIR%%/help
103
%%DATADIR%%/hh
104
%%DATADIR%%/history
105
%%DATADIR%%/juiblex.lua
106
%%DATADIR%%/keyhelp
107
%%DATADIR%%/knox.lua
108
%%DATADIR%%/license
109
@sample(games,games,664) %%DATADIR%%/logfile.sample
110
%%DATADIR%%/medusa-1.lua
111
%%DATADIR%%/medusa-2.lua
112
%%DATADIR%%/medusa-3.lua
113
%%DATADIR%%/medusa-4.lua
114
%%DATADIR%%/minefill.lua
115
%%DATADIR%%/minend-1.lua
116
%%DATADIR%%/minend-2.lua
117
%%DATADIR%%/minend-3.lua
118
%%DATADIR%%/minend-4.lua
119
%%DATADIR%%/minetn-1.lua
120
%%DATADIR%%/minetn-2.lua
121
%%DATADIR%%/minetn-3.lua
122
%%DATADIR%%/minetn-4.lua
123
%%DATADIR%%/minetn-5.lua
124
%%DATADIR%%/minetn-6.lua
125
%%DATADIR%%/minetn-7.lua
126
%%DATADIR%%/minetn-8.lua
127
%%DATADIR%%/nhlib.lua
128
%%DATADIR%%/opthelp
129
%%DATADIR%%/options
130
%%DATADIR%%/oracle-1.lua
131
%%DATADIR%%/oracle-2.lua
132
%%DATADIR%%/oracle-3.lua
133
%%DATADIR%%/oracles
134
%%DATADIR%%/orcus.lua
135
@mode 664
136
%%DATADIR%%/perm
137
@mode
138
%%DATADIR%%/pet_mark.xbm
139
%%DATADIR%%/pilemark.xbm
140
%%DATADIR%%/quest.lua
141
@sample(games,games,664) %%DATADIR%%/record.sample
142
@mode 02755
143
%%DATADIR%%/recover
144
@mode
145
%%DATADIR%%/rumors
146
%%DATADIR%%/sanctum.lua
147
%%DATADIR%%/shirts
148
%%DATADIR%%/soko1-1.lua
149
%%DATADIR%%/soko1-2.lua
150
%%DATADIR%%/soko2-1.lua
151
%%DATADIR%%/soko2-2.lua
152
%%DATADIR%%/soko3-1.lua
153
%%DATADIR%%/soko3-2.lua
154
%%DATADIR%%/soko4-1.lua
155
%%DATADIR%%/soko4-2.lua
156
%%DATADIR%%/symbols
157
@sample(games,games,) %%DATADIR%%/sysconf.sample
158
%%DATADIR%%/themerms.lua
159
%%DATADIR%%/tower1.lua
160
%%DATADIR%%/tower2.lua
161
%%DATADIR%%/tower3.lua
162
%%DATADIR%%/tribute
163
%%DATADIR%%/valley.lua
164
%%DATADIR%%/water.lua
165
%%DATADIR%%/wizard1.lua
166
%%DATADIR%%/wizard2.lua
167
%%DATADIR%%/wizard3.lua
168
%%DATADIR%%/wizhelp
169
%%DATADIR%%/x11tiles
170
@sample(games,games,664) %%DATADIR%%/xlogfile.sample
171
@owner
172
@group
173
man/man6/dlb.6.gz
174
man/man6/makedefs.6.gz
175
man/man6/recover.6.gz
176
man/man6/%%HACKNAME%%.6.gz
177
%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
178
@dir(games,games,0775) %%DATADIR%%/save
179
@dir(games,games,0775) %%DATADIR%%/whereis
180
@dir(games,games,0775) %%DATADIR%%

Return to bug 255456