summaryrefslogtreecommitdiff
path: root/games/nethack-x11
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-x11')
-rw-r--r--games/nethack-x11/Makefile5
-rw-r--r--games/nethack-x11/PLIST4
-rw-r--r--games/nethack-x11/distinfo7
-rw-r--r--games/nethack-x11/patches/patch-aa4
-rw-r--r--games/nethack-x11/patches/patch-ab4
-rw-r--r--games/nethack-x11/patches/patch-ad22
6 files changed, 12 insertions, 34 deletions
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile
index 4544b3bc3e0..e9bc9792407 100644
--- a/games/nethack-x11/Makefile
+++ b/games/nethack-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2002/03/22 17:26:28 pooka Exp $
+# $NetBSD: Makefile,v 1.18 2002/03/25 20:32:29 pooka Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -19,7 +19,8 @@ MAKE_ENV+= GTYPE=-x11
ALLFILES+= ${DISTFILES}
post-install:
- @${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/nethackdir
+ @${INSTALL_DATA} ${WRKSRC}/dat/x11tiles \
+ ${PREFIX}/share/nethackdir${NETHACK_DISTVER}
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
diff --git a/games/nethack-x11/PLIST b/games/nethack-x11/PLIST
index 1bacf50eddb..cd8cd166e1d 100644
--- a/games/nethack-x11/PLIST
+++ b/games/nethack-x11/PLIST
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:54:32 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/03/25 20:32:29 pooka Exp $
bin/nethack-x11
-share/nethackdir/x11tiles
+share/nethackdir340/x11tiles
diff --git a/games/nethack-x11/distinfo b/games/nethack-x11/distinfo
index 73315dc3fe6..ccd96caa656 100644
--- a/games/nethack-x11/distinfo
+++ b/games/nethack-x11/distinfo
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.5 2002/03/22 17:26:28 pooka Exp $
+$NetBSD: distinfo,v 1.6 2002/03/25 20:32:29 pooka Exp $
SHA1 (nethack-340.tgz) = db480f5bf94372a8f87ee4d081f83efd99b31523
Size (nethack-340.tgz) = 3270905 bytes
-SHA1 (patch-aa) = eb5b512d9903951b63ee9c35bee0c62152f0e4ca
-SHA1 (patch-ab) = f6ef749e8082f22fe97efdcf40a0475182b8299f
+SHA1 (patch-aa) = 8d1de91f7bbf5bbd13c882bf8c35c07ba44b3738
+SHA1 (patch-ab) = 3c4fd5e4d9e1bdf685cfafaba74ee158f6d52072
SHA1 (patch-ac) = 3a88954c950854350938fbec1fef195baaacb2cf
-SHA1 (patch-ad) = bddad346674c4242b8ec1f4689d05db58fa175bf
SHA1 (patch-ae) = b6d0cca1e3d781a2a1f1d4b244e944eaedfec716
SHA1 (patch-af) = 20c37fd62b05121d834d3c42cf3aa48b018b362d
SHA1 (patch-ag) = 6aeae6bde079b9c9081f6e32523687010c9bc674
diff --git a/games/nethack-x11/patches/patch-aa b/games/nethack-x11/patches/patch-aa
index 84e4967f694..20811b3fce0 100644
--- a/games/nethack-x11/patches/patch-aa
+++ b/games/nethack-x11/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2002/03/22 17:26:28 pooka Exp $
+$NetBSD: patch-aa,v 1.5 2002/03/25 20:32:30 pooka Exp $
--- include/config.h.orig Thu Mar 21 01:42:43 2002
+++ include/config.h Fri Mar 22 18:24:20 2002
@@ -52,7 +52,7 @@ $NetBSD: patch-aa,v 1.4 2002/03/22 17:26:28 pooka Exp $
# define HACKDIR "nethackdir" /* nethack directory */
# else
-# define HACKDIR "/usr/games/lib/nethackdir"
-+# define HACKDIR "XXXPREFIXXXX/share/nethackdir"
++# define HACKDIR "XXXPREFIXXXX/share/nethackdir340"
# endif
# endif
diff --git a/games/nethack-x11/patches/patch-ab b/games/nethack-x11/patches/patch-ab
index 819b4c175fc..130f799a13c 100644
--- a/games/nethack-x11/patches/patch-ab
+++ b/games/nethack-x11/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2002/03/22 17:26:28 pooka Exp $
+$NetBSD: patch-ab,v 1.8 2002/03/25 20:32:30 pooka Exp $
--- sys/unix/Makefile.top.orig Fri Mar 22 17:15:28 2002
+++ sys/unix/Makefile.top Fri Mar 22 17:24:57 2002
@@ -31,7 +31,7 @@ $NetBSD: patch-ab,v 1.7 2002/03/22 17:26:28 pooka Exp $
# (if there is, you'll have to do the installation by hand or modify the
# instructions)
-GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
-+GAMEDIR = $(PREFIX)/share/$(GAME)dir
++GAMEDIR = $(PREFIX)/share/$(GAME)dir340
VARDIR = $(GAMEDIR)
-SHELLDIR = $(PREFIX)/games
+SHELLDIR = $(PREFIX)/bin
diff --git a/games/nethack-x11/patches/patch-ad b/games/nethack-x11/patches/patch-ad
deleted file mode 100644
index 5d3dd8fa1a9..00000000000
--- a/games/nethack-x11/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2002/03/22 17:26:28 pooka Exp $
-
---- sys/unix/nethack.sh.orig Thu Mar 21 01:43:54 2002
-+++ sys/unix/nethack.sh Fri Mar 22 17:39:00 2002
-@@ -1,9 +1,15 @@
- #!/bin/sh
- # SCCS Id: @(#)nethack.sh 3.4 1990/02/26
-
--HACKDIR=/usr/games/lib/nethackdir
-+if [ "$1" = "" ]; then
-+ TTY=tty
-+else
-+ TTY=$1
-+fi
-+
-+HACKDIR=XXXPREFIXXXX/share/nethackdir
- export HACKDIR
--HACK=$HACKDIR/nethack
-+HACK=XXXPREFIXXXX/bin/nethack-$TTY
- MAXNROFPLAYERS=4
-
- # see if we can find the full path name of PAGER, so help files work properly