Imported from FreeBSD with improvements

This commit is contained in:
espie 1998-07-29 01:22:23 +00:00
parent b41f97a782
commit d8813a0c64
29 changed files with 1164 additions and 0 deletions

50
games/nethack/Makefile Normal file
View File

@ -0,0 +1,50 @@
# New ports collection makefile for: nethack
# Version required: 3.2.2
# Date created: 27 March 1995
# Whom: asami
#
# $OpenBSD: Makefile,v 1.1 1998/07/29 01:22:23 espie Exp $
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
#
DISTNAME= nethack-3.2.2
CATEGORIES= games
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
${MASTER_SITE_GNU}
#MAINTAINER= ports@FreeBSD.ORG
MAINTAINER= espie@OpenBSD.ORG
# part of openbsd
#LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
USE_GMAKE= yes
USE_X11= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
NHDIR=${PREFIX}/lib/nethackdir
MAKE_ENV+= NHDIR=${NHDIR}
pre-configure:
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
post-install:
@cd ${WRKSRC}/doc; chmod 644 *.6
@cd ${WRKSRC}/doc; PREFIX='${PREFIX}' INSTALL_MAN='${INSTALL_MAN}' ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
${MKDIR} ${PREFIX}/lib/X11/fonts/hack
cd ${WRKSRC}/win/X11 && \
cp NetHack.ad NetHack && \
${INSTALL_DATA} NetHack ${PREFIX}/lib/X11/app-defaults && \
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \
${INSTALL_DATA} nh10.pcf.gz ${PREFIX}/lib/X11/fonts/hack
${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/hack
@${CAT} ${PKGDIR}/DESCR
.include <bsd.port.mk>

1
games/nethack/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (nethack-3.2.2.tar.gz) = c85de4d14453b3a2d182d1dfc2ca04df

View File

@ -0,0 +1,54 @@
--- include/config.h.orig Tue Dec 10 21:20:07 1996
+++ include/config.h Fri Jul 24 17:04:34 1998
@@ -211,7 +211,7 @@
* Some combinations make no sense. See the installation document.
*/
#define TTY_GRAPHICS /* good old tty based graphics */
-/* #define X11_GRAPHICS /* X11 interface */
+#define X11_GRAPHICS /* X11 interface */
/*
* Define the default window system. This should be one that is compiled
@@ -256,7 +256,7 @@
* would allow:
* xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm
*/
-/* # define USE_XPM /* Disable if you do not have the XPM library */
+# define USE_XPM /* Disable if you do not have the XPM library */
# ifdef USE_XPM
# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
# endif
@@ -269,6 +269,7 @@
* LOGFILE and NEWS refer to files in the playground.
*/
+#define WIZARD "games"
#ifndef WIZARD /* allow for compile-time or Makefile changes */
# ifndef KR1ED
# define WIZARD "wizard" /* the person allowed to use the -D option */
@@ -296,12 +297,12 @@
#ifdef UNIX
/* path and file name extension for compression program */
-# define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */
-# define COMPRESS_EXTENSION ".Z" /* compress's extension */
+/* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */
+/* # define COMPRESS_EXTENSION ".Z" /* compress's extension */
/* An example of one alternative you might want to use: */
-/* # define COMPRESS "/usr/local/bin/gzip" /* FSF gzip compression */
-/* # define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
+# define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
+# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
#endif
#ifndef COMPRESS
# define INTERNAL_COMP /* control use of NetHack's compression routines */
@@ -427,7 +428,7 @@
* functions that have been macroized.
*/
-/*#define VISION_TABLES /* use vision tables generated at compile time */
+#define VISION_TABLES /* use vision tables generated at compile time */
#ifndef VISION_TABLES
# ifndef NO_MACRO_CPATH
# define MACRO_CPATH /* use clear_path macros instead of functions */

View File

@ -0,0 +1,28 @@
--- include/system.h.orig Mon Nov 4 15:01:25 1996
+++ include/system.h Fri Jul 24 18:01:25 1998
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
# else
-# ifndef bsdi
+# if !defined(bsdi)
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -507,11 +507,15 @@
# endif
# endif
-# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+#if defined(BSD)
+/* no declaration needed: it's in time.h */
+#else
+# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
E long FDECL(time, (time_t *));
# endif /* ULTRIX */
+#endif
#ifdef VMS
/* used in makedefs.c, but missing from gcc-vms's <time.h> */

View File

@ -0,0 +1,67 @@
--- include/unixconf.h.orig Tue Dec 10 21:20:08 1996
+++ include/unixconf.h Fri Jul 24 17:19:18 1998
@@ -19,7 +19,11 @@
*/
/* define exactly one of the following four choices */
-#define BSD 1 /* define for 4.n BSD */
+/* procure the real define BSD */
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+/* #define BSD 1 /* define for 4.n BSD */
/* also for relatives like SunOS, Linux and DG/UX */
/* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */
/* Use BSD for < v3.0 */
@@ -33,7 +37,7 @@
/* #define SVR4 /* use in addition to SYSV for System V Release 4 */
#define NETWORK /* if running on a networked system */
/* e.g. Suns sharing a playground through NFS */
-#define SUNOS4 /* SunOS 4.x */
+/* #define SUNOS4 /* SunOS 4.x */
/* #define LINUX /* Another Unix clone */
/* #define GENIX /* Yet Another Unix Clone */
/* #define HISX /* Bull Unix for XPS Machines */
@@ -42,12 +46,12 @@
/* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain
* job control (note that AIX is SYSV otherwise)
* Also define this for AIX 3.2 */
-/* #define TEXTCOLOR /* Use System V r3.2 terminfo color support */
+#define TEXTCOLOR /* Use System V r3.2 terminfo color support */
/* and/or ANSI color support on termcap systems */
/* and/or X11 color */
-/* #define POSIX_JOB_CONTROL /* use System V / POSIX job control
+#define POSIX_JOB_CONTROL /* use System V / POSIX job control
* (e.g., VSUSP) */
-/* #define POSIX_TYPES /* use POSIX types for system calls and termios */
+#define POSIX_TYPES /* use POSIX types for system calls and termios */
/* define for many recent OS releases, including
* those with specific defines (since types are
* changing toward the standard from earlier chaos).
@@ -114,7 +118,7 @@
* "extra output" method is used, but not all systems provide access to
* a fine-grained timer.
*/
-/* #define TIMED_DELAY /* usleep() */
+#define TIMED_DELAY /* usleep() */
#endif
/*
@@ -125,7 +129,7 @@
* A stat system call is done on the mailbox every MAILCKFREQ moves.
*/
-#define MAIL /* Deliver mail during the game */
+/* #define MAIL /* Deliver mail during the game */
/* The Andrew Message System does mail a little differently from normal
* UNIX. Mail is deposited in the user's own directory in ~/Mailbox
@@ -286,7 +290,7 @@
#endif
#ifdef TIMED_DELAY
-# if defined(SUNOS4) || defined(LINUX)
+# if defined(SUNOS4) || defined(LINUX) || (defined(BSD) && BSD >= 199103)
# define msleep(k) usleep((k)*1000)
# endif
# ifdef ULTRIX

View File

@ -0,0 +1,39 @@
--- sys/unix/Makefile.top.orig Tue Dec 10 21:20:10 1996
+++ sys/unix/Makefile.top Fri Jul 24 15:21:39 1998
@@ -16,14 +16,14 @@
# make NetHack
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".
#
@@ -32,13 +32,13 @@
# 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 = /usr/games/lib/$(GAME)dir
-SHELLDIR = /usr/games
+GAMEDIR = ${PREFIX}/lib/$(GAME)dir
+SHELLDIR = ${PREFIX}/bin
# per discussion in Install.X11
-VARDATND =
+#VARDATND =
# VARDATND = x11tiles pet_mark.xbm
-# VARDATND = x11tiles pet_mark.xbm rip.xpm
+VARDATND = x11tiles pet_mark.xbm rip.xpm
VARDATD = data oracles options quest.dat rumors
VARDAT = $(VARDATD) $(VARDATND)

View File

@ -0,0 +1,24 @@
--- sys/unix/Makefile.doc.orig Tue Dec 10 21:20:08 1996
+++ sys/unix/Makefile.doc Fri Jul 24 15:21:40 1998
@@ -31,15 +31,15 @@
GAME = nethack
-MANDIR = /usr/man/man6
+MANDIR = ${PREFIX}/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 = ${INSTALL_MAN} nethack.6
+LEVMANCREATE = ${INSTALL_MAN} lev_comp.6
+DGNMANCREATE = ${INSTALL_MAN} dgn_comp.6
+RCVRMANCREATE = ${INSTALL_MAN} recover.6
+DLBMANCREATE = ${INSTALL_MAN} dlb.6
# manual installation for most SYSV-style systems
# GAMEMANCREATE = nroff -man nethack.6 >
# LEVMANCREATE = nroff -man lev_comp.6 >

View File

@ -0,0 +1,40 @@
--- sys/unix/Makefile.src.orig Tue Dec 10 21:20:09 1996
+++ sys/unix/Makefile.src Fri Jul 24 19:07:00 1998
@@ -124,8 +124,8 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
-LFLAGS =
+CFLAGS += -DHACKDIR=\"${NHDIR}\" -DHAVE_SYS_PARAM_H -I../include -I${X11BASE}/include
+LFLAGS = -L${X11BASE}/lib
# Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
@@ -146,8 +146,8 @@
winmisc.o winstat.o wintext.o winval.o tile.o
#
#
-WINSRC = $(WINTTYSRC)
-WINOBJ = $(WINTTYOBJ)
+WINSRC = $(WINTTYSRC) $(WINX11SRC)
+WINOBJ = $(WINTTYOBJ) $(WINX11OBJ)
# on some systems the termcap library is in -ltermcap or -lcurses
# on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
@@ -167,13 +167,13 @@
#
# libraries for X11
# If USE_XPM is defined in config.h, you will also need -lXpm here.
-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
+WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm
# WINX11LIB = -lXaw -lXmu -lXt -lX11
# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
#
#
-WINLIB = $(WINTTYLIB)
+WINLIB = $(WINTTYLIB) $(WINX11LIB)
# any other strange libraries your system needs (for Sysunix only -- the more
# specialized targets should already be right)

View File

@ -0,0 +1,11 @@
--- sys/unix/Makefile.utl.orig Fri Jul 24 18:15:35 1998
+++ sys/unix/Makefile.utl Fri Jul 24 18:15:56 1998
@@ -78,7 +78,7 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
+CFLAGS += -DHAVE_SYS_PARAM_H -I../include
LFLAGS =

View File

@ -0,0 +1,12 @@
--- sys/unix/unixunix.c.orig Fri Jul 24 19:06:13 1998
+++ sys/unix/unixunix.c Fri Jul 24 19:06:05 1998
@@ -38,7 +38,9 @@
* does not exist on all systems, and moreover, that it sometimes includes
* <sys/types.h> again, so that the compiler sees these typedefs twice.
*/
+#ifndef HAVE_SYS_PARAM_H
#define MAXPATHLEN 1024
+#endif
register const char *np, *path;
char filename[MAXPATHLEN+1];

View File

@ -0,0 +1 @@
A dungeon explorin', slashin', hackin' game. Piece of cake.

19
games/nethack/pkg/DESCR Normal file
View File

@ -0,0 +1,19 @@
This is nethack. Will you dare explore the dungeon, kill creepy monsters,
and finish the game ? At least, you're starting with a bonus: a puppy
(or a kitten) to help you.
If you find that game too easy, you may want to try slash instead.
- in order to use nethack with X11 graphics, you will have to add
${PREFIX}/lib/X11/fonts/hack to your fontpath, see xset(1) and Xserver(1), also
/usr/X11R6/lib/X11/xdm or /usr/X11R6/lib/X11/xinit for proper configuration.
- the tty with colors mode expects a black background and white foreground to
run properly, e.g., xterm -fg white -bg black
- Marc
espie@cvs.openbsd.org
P.S. This is a very addictive game, with its whole wacky culture. And even
a newsgroup dedicated to it (rec.games.roguelike.nethack). Don't say we
didn't warn you !

135
games/nethack/pkg/PLIST Normal file
View File

@ -0,0 +1,135 @@
@owner games
@group games
bin/nethack
man/man6/dgn_comp.6
man/man6/dlb.6
man/man6/lev_comp.6
man/man6/nethack.6
man/man6/recover.6
lib/nethackdir/A-filla.lev
lib/nethackdir/A-fillb.lev
lib/nethackdir/A-goal.lev
lib/nethackdir/A-locate.lev
lib/nethackdir/A-start.lev
lib/nethackdir/B-filla.lev
lib/nethackdir/B-fillb.lev
lib/nethackdir/B-goal.lev
lib/nethackdir/B-locate.lev
lib/nethackdir/B-start.lev
lib/nethackdir/C-filla.lev
lib/nethackdir/C-fillb.lev
lib/nethackdir/C-goal.lev
lib/nethackdir/C-locate.lev
lib/nethackdir/C-start.lev
lib/nethackdir/E-filla.lev
lib/nethackdir/E-fillb.lev
lib/nethackdir/E-goal.lev
lib/nethackdir/E-locate.lev
lib/nethackdir/E-start.lev
lib/nethackdir/H-filla.lev
lib/nethackdir/H-fillb.lev
lib/nethackdir/H-goal.lev
lib/nethackdir/H-locate.lev
lib/nethackdir/H-start.lev
lib/nethackdir/K-filla.lev
lib/nethackdir/K-fillb.lev
lib/nethackdir/K-goal.lev
lib/nethackdir/K-locate.lev
lib/nethackdir/K-start.lev
lib/nethackdir/P-filla.lev
lib/nethackdir/P-fillb.lev
lib/nethackdir/P-goal.lev
lib/nethackdir/P-locate.lev
lib/nethackdir/P-start.lev
lib/nethackdir/R-filla.lev
lib/nethackdir/R-fillb.lev
lib/nethackdir/R-goal.lev
lib/nethackdir/R-locate.lev
lib/nethackdir/R-start.lev
lib/nethackdir/S-filla.lev
lib/nethackdir/S-fillb.lev
lib/nethackdir/S-goal.lev
lib/nethackdir/S-locate.lev
lib/nethackdir/S-start.lev
lib/nethackdir/T-filla.lev
lib/nethackdir/T-fillb.lev
lib/nethackdir/T-goal.lev
lib/nethackdir/T-locate.lev
lib/nethackdir/T-start.lev
lib/nethackdir/V-filla.lev
lib/nethackdir/V-fillb.lev
lib/nethackdir/V-goal.lev
lib/nethackdir/V-locate.lev
lib/nethackdir/V-start.lev
lib/nethackdir/W-filla.lev
lib/nethackdir/W-fillb.lev
lib/nethackdir/W-goal.lev
lib/nethackdir/W-locate.lev
lib/nethackdir/W-start.lev
lib/nethackdir/air.lev
lib/nethackdir/asmodeus.lev
lib/nethackdir/astral.lev
lib/nethackdir/baalz.lev
lib/nethackdir/bigrm-1.lev
lib/nethackdir/bigrm-2.lev
lib/nethackdir/bigrm-3.lev
lib/nethackdir/bigrm-4.lev
lib/nethackdir/bigrm-5.lev
lib/nethackdir/castle.lev
lib/nethackdir/cmdhelp
lib/nethackdir/data
lib/nethackdir/dungeon
lib/nethackdir/earth.lev
lib/nethackdir/fakewiz1.lev
lib/nethackdir/fakewiz2.lev
lib/nethackdir/fire.lev
lib/nethackdir/help
lib/nethackdir/hh
lib/nethackdir/history
lib/nethackdir/juiblex.lev
lib/nethackdir/knox.lev
lib/nethackdir/license
lib/nethackdir/medusa-1.lev
lib/nethackdir/medusa-2.lev
lib/nethackdir/minefill.lev
lib/nethackdir/minend-1.lev
lib/nethackdir/minend-2.lev
lib/nethackdir/minetn-1.lev
lib/nethackdir/minetn-2.lev
lib/nethackdir/opthelp
lib/nethackdir/options
lib/nethackdir/oracle.lev
lib/nethackdir/oracles
lib/nethackdir/orcus.lev
lib/nethackdir/pet_mark.xbm
lib/nethackdir/quest.dat
lib/nethackdir/rip.xpm
lib/nethackdir/rumors
lib/nethackdir/sanctum.lev
lib/nethackdir/tower1.lev
lib/nethackdir/tower2.lev
lib/nethackdir/tower3.lev
lib/nethackdir/valley.lev
lib/nethackdir/water.lev
lib/nethackdir/wizard1.lev
lib/nethackdir/wizard2.lev
lib/nethackdir/wizard3.lev
lib/nethackdir/wizhelp
lib/nethackdir/x11tiles
lib/X11/app-defaults/NetHack
lib/X11/fonts/hack/ibm.pcf.gz
lib/X11/fonts/hack/nh10.pcf.gz
@exec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/hack
@unexec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/hack
@mode 664
lib/nethackdir/logfile
lib/nethackdir/record
lib/nethackdir/perm
@exec chmod 775 %D/lib/nethackdir
@mode 2555
lib/nethackdir/nethack
@exec mkdir %D/lib/nethackdir/save
@exec chown games:games %D/lib/nethackdir/save
@exec chmod -R 575 %D/lib/nethackdir/save
@unexec rm -rf %D/lib/nethackdir/save
@dirrm lib/nethackdir

59
games/slash/Makefile Normal file
View File

@ -0,0 +1,59 @@
# New ports collection makefile for: slash
# Version required: nethack 3.2.2, slash e8
# Date created: 24 Jul 98
# Whom: espie
#
# $OpenBSD: Makefile,v 1.1 1998/07/29 01:23:04 espie Exp $
DISTNAME= slash-e8
CATEGORIES= games
MASTER_SITES= ftp://ftp.uu.net/pub/games/nethack/sources/ \
${MASTER_SITE_GNU}
DISTFILES= nethack-3.2.2${EXTRACT_SUFX}
MASTER_SITES+=http://www.rz.tu.ilmenau.de/~wi019/Slash/
DISTFILES+= Slash-Unix${EXTRACT_SUFX}
MAINTAINER= espie@OpenBSD.ORG
USE_GMAKE= yes
USE_X11= yes
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
NHDIR=${PREFIX}/lib/slashdir
MAKE_ENV+= NHDIR=${NHDIR}
post-extract:
@cd ${WRKDIR}; mv nethack-3.2.2 ${DISTNAME}
@cd ${WRKDIR}; mv dat/* ${DISTNAME}/dat
cp ${FILESDIR}/blkmar.des ${WRKSRC}/dat
pre-patch:
@cd ${WRKSRC}; patch -p1 -s < ${WRKDIR}/slashe8.dif
@cd ${WRKSRC}; patch -p1 -s < ${WRKDIR}/e8p1.dif
pre-configure:
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
post-install:
@cd ${WRKSRC}/doc; chmod 644 *.6
@cd ${WRKSRC}/doc; PREFIX='${PREFIX}' INSTALL_MAN='${INSTALL_MAN}' ${MAKE} manpages
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/nethack
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
${MKDIR} ${PREFIX}/lib/X11/fonts/hack
cd ${WRKSRC}/win/X11 && \
sed -e "s/^NetHack/Slash/; s/^!NetHack/!Slash/" <NetHack.ad >Slash && \
${INSTALL_DATA} Slash ${PREFIX}/lib/X11/app-defaults && \
${X11BASE}/bin/bdftopcf ibm.bdf|gzip >ibm.pcf.gz && \
${X11BASE}/bin/bdftopcf nh10.bdf|gzip >nh10.pcf.gz && \
${INSTALL_DATA} ibm.pcf.gz ${PREFIX}/lib/X11/fonts/hack && \
${INSTALL_DATA} nh10.pcf.gz ${PREFIX}/lib/X11/fonts/hack
${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/hack
@${CAT} ${PKGDIR}/DESCR
.include <bsd.port.mk>

View File

@ -0,0 +1,52 @@
#
# This is the black market
# Massimo Campostrini (campo@sunthpi3.difi.unipi.it)
#
#
MAZE: "blkmar", ' '
FLAGS: noteleport, hardfloor
GEOMETRY: center, center
MAP
---------------------------------------------------------------------------
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
|.+.......................................................................|
|.|.......................................................................|
|.|.......................................................................|
---------------------------------------------------------------------------
ENDMAP
NON_DIGGABLE: (00,00,74,17)
REGION: (03,01,73,16), lit, "black market", filled
BRANCH: (01,01,01,01), (0,0,0,0)
DOOR: open, (02,14)
ENGRAVING: (01,03), engrave, "Pets are not allowed in the shop"
ENGRAVING: (01,05), engrave, "Thieves will be killed."
ENGRAVING: (01,07), engrave, "Sorry about the mess. Remember, ask if you need help!"
ENGRAVING: (01,09), engrave, "Don't even think about stealing anything."
# black marketeer's assistants:
# from The Hobbit (Tolkien)
MONSTER: 'T', "rock troll", (03,03), "William", asleep, peaceful
MONSTER: 'T', "rock troll", (03,12), "Thomas", asleep, peaceful
# from the Bible
MONSTER: 'H', "frost giant", (03,16), "Goliath", asleep, peaceful
# from Greek mythology & high-energy physics
MONSTER: 'n', "wood nymph", (03,09), "Daphne", asleep, peaceful
# Add your favorite monsters here. Make them peaceful and named,
# otherwise they will not behave like assistants.
MONSTER: '&', "balrog", (03,04), "Njalnohaar", asleep, peaceful
MONSTER: '&', "pit fiend", (03,02), "Hilvuuloth", asleep, peaceful
MONSTER: 'c', "cockatrice", (03,13), "Wilbur", asleep, peaceful
MONSTER: 'c', "cockatrice", (03,08), "Simon", asleep, peaceful
MONSTER: ':', "rhaumbusun", (03,11), "Izzy", asleep, peaceful

2
games/slash/files/md5 Normal file
View File

@ -0,0 +1,2 @@
MD5 (nethack-3.2.2.tar.gz) = c85de4d14453b3a2d182d1dfc2ca04df
MD5 (Slash-Unix.tar.gz) = ea40acb8b74aa0803d6ee54e7a6f252f

View File

@ -0,0 +1,71 @@
--- include/config.h.org Fri Jul 24 22:40:57 1998
+++ include/config.h Fri Jul 24 22:44:16 1998
@@ -213,7 +213,7 @@
* Some combinations make no sense. See the installation document.
*/
#define TTY_GRAPHICS /* good old tty based graphics */
-/* #define X11_GRAPHICS /* X11 interface */
+#define X11_GRAPHICS /* X11 interface */
/*
* Define the default window system. This should be one that is compiled
@@ -258,7 +258,7 @@
* would allow:
* xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm
*/
-/* # define USE_XPM /* Disable if you do not have the XPM library */
+# define USE_XPM /* Disable if you do not have the XPM library */
# ifdef USE_XPM
# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
# endif
@@ -271,6 +271,7 @@
* LOGFILE and NEWS refer to files in the playground.
*/
+#define WIZARD "games"
#ifndef WIZARD /* allow for compile-time or Makefile changes */
# ifndef KR1ED
# define WIZARD "wizard" /* the person allowed to use the -D option */
@@ -298,12 +299,12 @@
#ifdef UNIX
/* path and file name extension for compression program */
-# define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */
-# define COMPRESS_EXTENSION ".Z" /* compress's extension */
+/* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */
+/* # define COMPRESS_EXTENSION ".Z" /* compress's extension */
/* An example of one alternative you might want to use: */
-/* # define COMPRESS "/usr/local/bin/gzip" /* FSF gzip compression */
-/* # define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
+# define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
+# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
#endif
#ifndef COMPRESS
# define INTERNAL_COMP /* control use of NetHack's compression routines */
@@ -431,7 +432,7 @@
* functions that have been macroized.
*/
-/*#define VISION_TABLES /* use vision tables generated at compile time */
+#define VISION_TABLES /* use vision tables generated at compile time */
#ifndef VISION_TABLES
# ifndef NO_MACRO_CPATH
# define MACRO_CPATH /* use clear_path macros instead of functions */
@@ -453,14 +454,14 @@
/* dungeon levels */
#define WALLIFIED_MAZE /* Fancy mazes - Jean-Christophe Collet */
#define REINCARNATION /* Special Rogue-like levels */
-/* #define BLACKMARKET /* Massimo Campostrini (campo@sunthpi3.difi.unipi.it) */
+#define BLACKMARKET /* Massimo Campostrini (campo@sunthpi3.difi.unipi.it) */
/* monsters & objects */
#define KOPS /* Keystone Kops by Scott R. Turner */
#define SEDUCE /* Succubi/incubi seduction, by KAA, suggested by IM */
#define TOURIST /* Tourist players with cameras and Hawaiian shirts */
#define INVISIBLE_OBJECTS /* Objects may be invisible */
/* difficulty */
-/* #define ELBERETH /* Engraving the E-word repels monsters */
+#define ELBERETH /* Engraving the E-word repels monsters */
#define NOARTIFACTWISH /* No wishing for special artifacts -- swhite@cs.mun.ca */
/* I/O */
#define REDO /* support for redoing last command - DGK */

View File

@ -0,0 +1,20 @@
--- include/system.h.org Fri Jul 24 22:45:01 1998
+++ include/system.h Fri Jul 24 22:46:04 1998
@@ -511,6 +511,9 @@
# endif
# endif
+#if defined(BSD)
+/* no declaration needed: it's in time.h */
+#else
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
# ifndef __WATCOMC__
E time_t FDECL(time, (time_t *));
@@ -518,6 +521,7 @@
# else
E long FDECL(time, (time_t *));
# endif /* ULTRIX */
+#endif
#ifdef VMS
/* used in makedefs.c, but missing from gcc-vms's <time.h> */

View File

@ -0,0 +1,67 @@
--- include/unixconf.h.org Fri Jul 24 22:46:52 1998
+++ include/unixconf.h Fri Jul 24 22:48:14 1998
@@ -19,7 +19,11 @@
*/
/* define exactly one of the following four choices */
-#define BSD 1 /* define for 4.n BSD */
+/* procure the real define BSD */
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+/* #define BSD 1 /* define for 4.n BSD */
/* also for relatives like SunOS, Linux and DG/UX */
/* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */
/* Use BSD for < v3.0 */
@@ -33,7 +37,7 @@
/* #define SVR4 /* use in addition to SYSV for System V Release 4 */
#define NETWORK /* if running on a networked system */
/* e.g. Suns sharing a playground through NFS */
-#define SUNOS4 /* SunOS 4.x */
+/* #define SUNOS4 /* SunOS 4.x */
/* #define LINUX /* Another Unix clone */
/* #define GENIX /* Yet Another Unix Clone */
/* #define HISX /* Bull Unix for XPS Machines */
@@ -42,12 +46,12 @@
/* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain
* job control (note that AIX is SYSV otherwise)
* Also define this for AIX 3.2 */
-/* #define TEXTCOLOR /* Use System V r3.2 terminfo color support */
+#define TEXTCOLOR /* Use System V r3.2 terminfo color support */
/* and/or ANSI color support on termcap systems */
/* and/or X11 color */
-/* #define POSIX_JOB_CONTROL /* use System V / POSIX job control
+#define POSIX_JOB_CONTROL /* use System V / POSIX job control
* (e.g., VSUSP) */
-/* #define POSIX_TYPES /* use POSIX types for system calls and termios */
+#define POSIX_TYPES /* use POSIX types for system calls and termios */
/* define for many recent OS releases, including
* those with specific defines (since types are
* changing toward the standard from earlier chaos).
@@ -114,7 +118,7 @@
* "extra output" method is used, but not all systems provide access to
* a fine-grained timer.
*/
-/* #define TIMED_DELAY /* usleep() */
+#define TIMED_DELAY /* usleep() */
#endif
/*
@@ -125,7 +129,7 @@
* A stat system call is done on the mailbox every MAILCKFREQ moves.
*/
-#define MAIL /* Deliver mail during the game */
+/* #define MAIL /* Deliver mail during the game */
/* The Andrew Message System does mail a little differently from normal
* UNIX. Mail is deposited in the user's own directory in ~/Mailbox
@@ -286,7 +290,7 @@
#endif
#ifdef TIMED_DELAY
-# if defined(SUNOS4) || defined(LINUX)
+# if defined(SUNOS4) || defined(LINUX) || (defined(BSD) && BSD >= 199103)
# define msleep(k) usleep((k)*1000)
# endif
# ifdef ULTRIX

View File

@ -0,0 +1,54 @@
--- sys/unix/Makefile.top.org Fri Jul 24 22:49:09 1998
+++ sys/unix/Makefile.top Fri Jul 24 22:51:20 1998
@@ -13,17 +13,17 @@
# execute things like 'data' and 'rumors')
# MAKE = make
-# make NetHack
-GAME = nethack
+# this is slash
+GAME = slash
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".
#
@@ -32,13 +32,13 @@
# 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 = /usr/games/lib/$(GAME)dir
-SHELLDIR = /usr/games
+GAMEDIR = ${PREFIX}/lib/$(GAME)dir
+SHELLDIR = ${PREFIX}/bin
# per discussion in Install.X11
-VARDATND =
+#VARDATND =
# VARDATND = x11tiles pet_mark.xbm
-# VARDATND = x11tiles pet_mark.xbm rip.xpm
+VARDATND = x11tiles pet_mark.xbm rip.xpm
VARDATD = data oracles options quest.dat rumors
VARDAT = $(VARDATD) $(VARDATND)
@@ -63,7 +63,8 @@
SPEC_LEVS = *.lev
-SPEC_LEVS = asmodeus.lev baalz.lev beholder.lev bigrm-?.lev castle.lev \
+SPEC_LEVS = asmodeus.lev baalz.lev blkmar.lev \
+ beholder.lev bigrm-?.lev castle.lev \
cav2fill.lev cavefill.lev demogorg.lev dispater.lev dragons.lev \
fakewiz?.lev geryon.lev guild.lev juiblex.lev knox.lev kobold-?.lev \
lich.lev mall-?.lev mall.lev medusa-?.lev mine_end.lev minefill.lev \

View File

@ -0,0 +1,26 @@
--- sys/unix/Makefile.doc.org Fri Jul 24 22:52:05 1998
+++ sys/unix/Makefile.doc Fri Jul 24 22:52:27 1998
@@ -30,16 +30,16 @@
latex Guidebook.tex
-GAME = nethack
-MANDIR = /usr/man/man6
+GAME = slash
+MANDIR = ${PREFIX}/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 = ${INSTALL_MAN} nethack.6
+LEVMANCREATE = ${INSTALL_MAN} lev_comp.6
+DGNMANCREATE = ${INSTALL_MAN} dgn_comp.6
+RCVRMANCREATE = ${INSTALL_MAN} recover.6
+DLBMANCREATE = ${INSTALL_MAN} dlb.6
# manual installation for most SYSV-style systems
# GAMEMANCREATE = nroff -man nethack.6 >
# LEVMANCREATE = nroff -man lev_comp.6 >

View File

@ -0,0 +1,51 @@
--- sys/unix/Makefile.src.orig Tue Dec 10 21:20:09 1996
+++ sys/unix/Makefile.src Sat Jul 25 00:30:05 1998
@@ -124,8 +124,8 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
-LFLAGS =
+CFLAGS += -DHACKDIR=\"${NHDIR}\" -DHAVE_SYS_PARAM_H -I../include -I${X11BASE}/include
+LFLAGS = -L${X11BASE}/lib
# Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
@@ -146,8 +146,8 @@
winmisc.o winstat.o wintext.o winval.o tile.o
#
#
-WINSRC = $(WINTTYSRC)
-WINOBJ = $(WINTTYOBJ)
+WINSRC = $(WINTTYSRC) ${WINX11SRC}
+WINOBJ = $(WINTTYOBJ) ${WINX11OBJ}
# on some systems the termcap library is in -ltermcap or -lcurses
# on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
@@ -167,13 +167,13 @@
#
# libraries for X11
# If USE_XPM is defined in config.h, you will also need -lXpm here.
-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
+WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm
# WINX11LIB = -lXaw -lXmu -lXt -lX11
# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
#
#
-WINLIB = $(WINTTYLIB)
+WINLIB = $(WINTTYLIB) ${WINX11LIB}
# any other strange libraries your system needs (for Sysunix only -- the more
# specialized targets should already be right)
@@ -199,8 +199,8 @@
#
LIBS =
-# make NetHack
-GAME = nethack
+# make slash
+GAME = slash
# if you defined RANDOM in unixconf.h/tosconf.h since your system did not come
# with a reasonable random number generator

View File

@ -0,0 +1,11 @@
--- sys/unix/Makefile.utl.org Fri Jul 24 22:55:02 1998
+++ sys/unix/Makefile.utl Fri Jul 24 22:55:38 1998
@@ -78,7 +78,7 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
+CFLAGS += -DHAVE_SYS_PARAM_H -I../include
LFLAGS =

View File

@ -0,0 +1,12 @@
--- sys/unix/unixunix.c.orig Fri Jul 24 19:06:13 1998
+++ sys/unix/unixunix.c Fri Jul 24 19:06:05 1998
@@ -38,7 +38,9 @@
* does not exist on all systems, and moreover, that it sometimes includes
* <sys/types.h> again, so that the compiler sees these typedefs twice.
*/
+#ifndef HAVE_SYS_PARAM_H
#define MAXPATHLEN 1024
+#endif
register const char *np, *path;
char filename[MAXPATHLEN+1];

View File

@ -0,0 +1,19 @@
--- sys/unix/Makefile.dat.orig Sat Jul 25 00:31:54 1998
+++ sys/unix/Makefile.dat Sat Jul 25 00:30:12 1998
@@ -52,7 +52,7 @@
beholder.des caves.des darkelf.des dragons.des giants.des guild.des \
kobold-1.des kobold-2.des lich.des mall-1.des mall-2.des mineend.des \
minefill.des mtemple.des newmall.des nymph.des rats.des sea.des \
- spiders.des stor-1.des stor-2.des stor-3.des tomb.des
+ spiders.des stor-1.des stor-2.des stor-3.des tomb.des blkmar.des
../util/lev_comp bigroom.des
../util/lev_comp castle.des
../util/lev_comp endgame.des
@@ -86,6 +86,7 @@
../util/lev_comp stor-2.des
../util/lev_comp stor-3.des
../util/lev_comp tomb.des
+ ../util/lev_comp blkmar.des
touch spec_levs
quest_levs: ../util/lev_comp \

View File

@ -0,0 +1,11 @@
--- win/X11/winX.c.orig Sat Jul 25 00:36:46 1998
+++ win/X11/winX.c Sat Jul 25 00:37:01 1998
@@ -921,7 +921,7 @@
XtSetArg(args[num_args], XtNallowShellResize, True); num_args++;
toplevel = XtAppInitialize(
&app_context,
- "NetHack", /* application class */
+ "Slash", /* application class */
(XrmOptionDescList)0, 0, /* options list */
argcp, (String *)argv, /* command line args */
(String *)0, /* fallback resources */

1
games/slash/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
A dungeon explorin', slashin', hackin' game, but harder than nethack.

23
games/slash/pkg/DESCR Normal file
View File

@ -0,0 +1,23 @@
This is slash. Will you dare explore this dungeon, kill creepier monsters,
and even finish the game ? At least, you're starting with a bonus: a
servant creature to help you.
This is a sequel to nethack: more classes, more objects, bigger dungeon,
more difficult.
- in order to use slash with X11 graphics, you will have to add
${PREFIX}/lib/X11/fonts/hack to your fontpath, see xset(1) and Xserver(1), also
/usr/X11R6/lib/X11/xdm or /usr/X11R6/lib/X11/xinit for proper configuration.
- the tty with colors mode expects a black background and white foreground to
run properly, e.g., xterm -fg white -bg black
- nethack and slash actually share fonts, so be careful while installing or
removing the package. Sorry about that.
- Marc
espie@cvs.openbsd.org
P.S. This is a very addictive game, with its whole wacky culture. And even
a newsgroup dedicated to it (rec.games.roguelike.nethack). Don't say we
didn't warn you !

204
games/slash/pkg/PLIST Normal file
View File

@ -0,0 +1,204 @@
@owner games
@group games
bin/slash
man/man6/dgn_comp.6
man/man6/dlb.6
man/man6/lev_comp.6
man/man6/slash.6
man/man6/recover.6
lib/slashdir/A-filla.lev
lib/slashdir/A-fillb.lev
lib/slashdir/A-goal.lev
lib/slashdir/A-locate.lev
lib/slashdir/A-start.lev
lib/slashdir/B-filla.lev
lib/slashdir/B-fillb.lev
lib/slashdir/B-goal.lev
lib/slashdir/B-locate.lev
lib/slashdir/B-start.lev
lib/slashdir/C-filla.lev
lib/slashdir/C-fillb.lev
lib/slashdir/C-goal.lev
lib/slashdir/C-locate.lev
lib/slashdir/C-start.lev
lib/slashdir/D-filla.lev
lib/slashdir/D-fillb.lev
lib/slashdir/D-goal.lev
lib/slashdir/D-locate.lev
lib/slashdir/D-start.lev
lib/slashdir/E-filla.lev
lib/slashdir/E-fillb.lev
lib/slashdir/E-goal.lev
lib/slashdir/E-locate.lev
lib/slashdir/E-start.lev
lib/slashdir/F-filla.lev
lib/slashdir/F-fillb.lev
lib/slashdir/F-goal.lev
lib/slashdir/F-locate.lev
lib/slashdir/F-start.lev
lib/slashdir/G-filla.lev
lib/slashdir/G-fillb.lev
lib/slashdir/G-goal.lev
lib/slashdir/G-locate.lev
lib/slashdir/G-start.lev
lib/slashdir/H-filla.lev
lib/slashdir/H-fillb.lev
lib/slashdir/H-goal.lev
lib/slashdir/H-locate.lev
lib/slashdir/H-start.lev
lib/slashdir/I-filla.lev
lib/slashdir/I-fillb.lev
lib/slashdir/I-goal.lev
lib/slashdir/I-locate.lev
lib/slashdir/I-start.lev
lib/slashdir/K-filla.lev
lib/slashdir/K-fillb.lev
lib/slashdir/K-goal.lev
lib/slashdir/K-locate.lev
lib/slashdir/K-start.lev
lib/slashdir/L-filla.lev
lib/slashdir/L-fillb.lev
lib/slashdir/L-goal.lev
lib/slashdir/L-locate.lev
lib/slashdir/L-start.lev
lib/slashdir/M-filla.lev
lib/slashdir/M-fillb.lev
lib/slashdir/M-goal.lev
lib/slashdir/M-locate.lev
lib/slashdir/M-start.lev
lib/slashdir/N-filla.lev
lib/slashdir/N-fillb.lev
lib/slashdir/N-goal.lev
lib/slashdir/N-locate.lev
lib/slashdir/N-start.lev
lib/slashdir/P-filla.lev
lib/slashdir/P-fillb.lev
lib/slashdir/P-goal.lev
lib/slashdir/P-locate.lev
lib/slashdir/P-start.lev
lib/slashdir/Q-filla.lev
lib/slashdir/Q-fillb.lev
lib/slashdir/Q-goal.lev
lib/slashdir/Q-locate.lev
lib/slashdir/Q-start.lev
lib/slashdir/R-filla.lev
lib/slashdir/R-fillb.lev
lib/slashdir/R-goal.lev
lib/slashdir/R-locate.lev
lib/slashdir/R-start.lev
lib/slashdir/S-filla.lev
lib/slashdir/S-fillb.lev
lib/slashdir/S-goal.lev
lib/slashdir/S-locate.lev
lib/slashdir/S-start.lev
lib/slashdir/T-filla.lev
lib/slashdir/T-fillb.lev
lib/slashdir/T-goal.lev
lib/slashdir/T-locate.lev
lib/slashdir/T-start.lev
lib/slashdir/U-filla.lev
lib/slashdir/U-fillb.lev
lib/slashdir/U-goal.lev
lib/slashdir/U-locate.lev
lib/slashdir/U-start.lev
lib/slashdir/V-filla.lev
lib/slashdir/V-fillb.lev
lib/slashdir/V-goal.lev
lib/slashdir/V-locate.lev
lib/slashdir/V-start.lev
lib/slashdir/W-filla.lev
lib/slashdir/W-fillb.lev
lib/slashdir/W-goal.lev
lib/slashdir/W-locate.lev
lib/slashdir/W-start.lev
lib/slashdir/air.lev
lib/slashdir/asmodeus.lev
lib/slashdir/astral.lev
lib/slashdir/baalz.lev
lib/slashdir/beholder.lev
lib/slashdir/bigrm-1.lev
lib/slashdir/bigrm-2.lev
lib/slashdir/bigrm-3.lev
lib/slashdir/bigrm-4.lev
lib/slashdir/bigrm-5.lev
lib/slashdir/blkmar.lev
lib/slashdir/castle.lev
lib/slashdir/cav2fill.lev
lib/slashdir/cavefill.lev
lib/slashdir/cmdhelp
lib/slashdir/data
lib/slashdir/demogorg.lev
lib/slashdir/dispater.lev
lib/slashdir/dragons.lev
lib/slashdir/dungeon
lib/slashdir/earth.lev
lib/slashdir/fakewiz1.lev
lib/slashdir/fakewiz2.lev
lib/slashdir/fire.lev
lib/slashdir/geryon.lev
lib/slashdir/guild.lev
lib/slashdir/help
lib/slashdir/hh
lib/slashdir/history
lib/slashdir/juiblex.lev
lib/slashdir/knox.lev
lib/slashdir/kobold-1.lev
lib/slashdir/kobold-2.lev
lib/slashdir/license
lib/slashdir/lich.lev
lib/slashdir/mall-1.lev
lib/slashdir/mall-2.lev
lib/slashdir/mall.lev
lib/slashdir/medusa-1.lev
lib/slashdir/medusa-2.lev
lib/slashdir/mine_end.lev
lib/slashdir/minefill.lev
lib/slashdir/mineking.lev
lib/slashdir/minetown.lev
lib/slashdir/mtemple.lev
lib/slashdir/nymph.lev
lib/slashdir/opthelp
lib/slashdir/options
lib/slashdir/oracle.lev
lib/slashdir/oracles
lib/slashdir/orcus.lev
lib/slashdir/pet_mark.xbm
lib/slashdir/quest.dat
lib/slashdir/rats.lev
lib/slashdir/rip.xpm
lib/slashdir/rumors
lib/slashdir/sanctum.lev
lib/slashdir/sea.lev
lib/slashdir/spiders.lev
lib/slashdir/stor-1.lev
lib/slashdir/stor-2.lev
lib/slashdir/stor-3.lev
lib/slashdir/tomb.lev
lib/slashdir/tower1.lev
lib/slashdir/tower2.lev
lib/slashdir/tower3.lev
lib/slashdir/valley.lev
lib/slashdir/water.lev
lib/slashdir/wizard1.lev
lib/slashdir/wizard2.lev
lib/slashdir/wizard3.lev
lib/slashdir/wizhelp
lib/slashdir/x11tiles
lib/slashdir/yeenoghu.lev
lib/X11/app-defaults/Slash
lib/X11/fonts/hack/ibm.pcf.gz
lib/X11/fonts/hack/nh10.pcf.gz
@exec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/hack
@unexec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/hack
@mode 664
lib/slashdir/logfile
lib/slashdir/record
lib/slashdir/perm
@exec chmod 775 %D/lib/slashdir
@mode 2555
lib/slashdir/slash
@exec mkdir %D/lib/slashdir/save
@exec chown games:games %D/lib/slashdir/save
@exec chmod -R 575 %D/lib/slashdir/save
@unexec rm -rf %D/lib/slashdir/save
@dirrm lib/slashdir