summaryrefslogtreecommitdiff
path: root/games/nethack-qt
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2002-03-25 20:32:23 +0000
committerpooka <pooka@pkgsrc.org>2002-03-25 20:32:23 +0000
commit29b9470af319cc53334b6662b77c67f0cbd38812 (patch)
treeb1ef0eb103c223f87dfbc22a6497e40a42863754 /games/nethack-qt
parent4ebba2259f2a4042d09a9b3f39d487af17a6af65 (diff)
downloadpkgsrc-29b9470af319cc53334b6662b77c67f0cbd38812.tar.gz
Make the name of nethackdir contain version information (eg. now it's
called nethackdir340). This is to ease the lives of people who wish to have multiple versions nethack installed at the same time. It is not fully automated, because doing pkgsrc magic will most likely screw things up one funny way or another. And we all know that the most important thing in this world is the nethack scorefile ... Manually bump version to 3.4.0nb1.
Diffstat (limited to 'games/nethack-qt')
-rw-r--r--games/nethack-qt/Makefile5
-rw-r--r--games/nethack-qt/PLIST4
-rw-r--r--games/nethack-qt/distinfo7
-rw-r--r--games/nethack-qt/patches/patch-aa4
-rw-r--r--games/nethack-qt/patches/patch-ab4
-rw-r--r--games/nethack-qt/patches/patch-ad22
6 files changed, 12 insertions, 34 deletions
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index 98ebc770520..19adfb6d266 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/03/22 17:26:26 pooka Exp $
+# $NetBSD: Makefile,v 1.33 2002/03/25 20:32:26 pooka Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -20,7 +20,8 @@ ALLFILES= ${DISTFILES} # don't checksum shared patches
post-install:
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
- @${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/nethackdir
+ @${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm \
+ ${PREFIX}/share/nethackdir${NETHACK_DISTVER}
.include "../../graphics/xpm/buildlink.mk"
.include "../../x11/qt2-libs/buildlink.mk"
diff --git a/games/nethack-qt/PLIST b/games/nethack-qt/PLIST
index 59e7354fbe5..9205b4270b5 100644
--- a/games/nethack-qt/PLIST
+++ b/games/nethack-qt/PLIST
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:54:24 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/03/25 20:32:27 pooka Exp $
bin/nethack-qt
-share/nethackdir/tiles.xpm
+share/nethackdir340/tiles.xpm
diff --git a/games/nethack-qt/distinfo b/games/nethack-qt/distinfo
index 8a8207681aa..091a7100638 100644
--- a/games/nethack-qt/distinfo
+++ b/games/nethack-qt/distinfo
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.6 2002/03/22 17:26:26 pooka Exp $
+$NetBSD: distinfo,v 1.7 2002/03/25 20:32:27 pooka Exp $
SHA1 (nethack-340.tgz) = db480f5bf94372a8f87ee4d081f83efd99b31523
Size (nethack-340.tgz) = 3270905 bytes
-SHA1 (patch-aa) = 3e8fd05b3c134484bd44f9909853fec3041951e4
-SHA1 (patch-ab) = f6ef749e8082f22fe97efdcf40a0475182b8299f
+SHA1 (patch-aa) = 30fd5b1b39e367ad3278065c76788663a131caee
+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-qt/patches/patch-aa b/games/nethack-qt/patches/patch-aa
index 4597eee9a01..0c9c39f213d 100644
--- a/games/nethack-qt/patches/patch-aa
+++ b/games/nethack-qt/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2002/03/22 17:26:26 pooka Exp $
+$NetBSD: patch-aa,v 1.7 2002/03/25 20:32:27 pooka Exp $
--- include/config.h.orig Thu Mar 21 01:42:43 2002
+++ include/config.h Fri Mar 22 18:52:27 2002
@@ -53,7 +53,7 @@ $NetBSD: patch-aa,v 1.6 2002/03/22 17:26:26 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-qt/patches/patch-ab b/games/nethack-qt/patches/patch-ab
index 1861e9b3318..ee6ac2e96d6 100644
--- a/games/nethack-qt/patches/patch-ab
+++ b/games/nethack-qt/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2002/03/22 17:26:26 pooka Exp $
+$NetBSD: patch-ab,v 1.5 2002/03/25 20:32:27 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.4 2002/03/22 17:26:26 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-qt/patches/patch-ad b/games/nethack-qt/patches/patch-ad
deleted file mode 100644
index bf1c66e736a..00000000000
--- a/games/nethack-qt/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2002/03/22 17:26:26 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