aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack32-gtk/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-10 11:31:40 +0800
committersteve <steve@FreeBSD.org>2000-07-10 11:31:40 +0800
commitd6d06ea73d0fd518566f45946b830cf5e36ab547 (patch)
tree98b066acebc3fcafe1d61f7f634b7db77f4d3f13 /games/nethack32-gtk/files
parent4f44328127fd07e4d9bc1fafff661a84afcf7945 (diff)
downloadfreebsd-ports-gnome-d6d06ea73d0fd518566f45946b830cf5e36ab547.tar.gz
freebsd-ports-gnome-d6d06ea73d0fd518566f45946b830cf5e36ab547.tar.zst
freebsd-ports-gnome-d6d06ea73d0fd518566f45946b830cf5e36ab547.zip
Adding nethack-gtk version 1.1.5.
A nethack 3.2.3 with GTK interface and graphics. PR: 19318 Submitted by: Kelly Yancey <kbyanc@posi.net>
Diffstat (limited to 'games/nethack32-gtk/files')
-rw-r--r--games/nethack32-gtk/files/patch-aa13
-rw-r--r--games/nethack32-gtk/files/patch-ab11
-rw-r--r--games/nethack32-gtk/files/patch-ac11
-rw-r--r--games/nethack32-gtk/files/patch-ad12
-rw-r--r--games/nethack32-gtk/files/sample.nethackrc88
-rw-r--r--games/nethack32-gtk/files/src-Makefile.diff13
6 files changed, 148 insertions, 0 deletions
diff --git a/games/nethack32-gtk/files/patch-aa b/games/nethack32-gtk/files/patch-aa
new file mode 100644
index 000000000000..d85abe12fea9
--- /dev/null
+++ b/games/nethack32-gtk/files/patch-aa
@@ -0,0 +1,13 @@
+--- sys/unix/Makefile.top.orig Thu Jun 15 15:58:10 2000
++++ sys/unix/Makefile.top Thu Jun 15 15:58:23 2000
+@@ -32,8 +32,8 @@
+ # 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}/share/$(GAME)
++SHELLDIR = ${PREFIX}/bin
+
+ # per discussion in Install.X11
+ VARDATND =
diff --git a/games/nethack32-gtk/files/patch-ab b/games/nethack32-gtk/files/patch-ab
new file mode 100644
index 000000000000..e495662a5880
--- /dev/null
+++ b/games/nethack32-gtk/files/patch-ab
@@ -0,0 +1,11 @@
+--- include/config.h.orig Wed Jun 14 22:54:31 2000
++++ include/config.h Wed Jun 14 22:54:34 2000
+@@ -374,7 +374,7 @@
+ * otherwise it will be the current directory.
+ */
+ # ifndef HACKDIR
+-# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */
++# define HACKDIR "/usr/local/share/nethack" /* nethack directory */
+ # endif
+
+ /*
diff --git a/games/nethack32-gtk/files/patch-ac b/games/nethack32-gtk/files/patch-ac
new file mode 100644
index 000000000000..c2a2ba246941
--- /dev/null
+++ b/games/nethack32-gtk/files/patch-ac
@@ -0,0 +1,11 @@
+--- include/system.h.orig Wed Jun 14 23:00:05 2000
++++ include/system.h Wed Jun 14 23:00:07 2000
+@@ -512,7 +512,7 @@
+ # 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 *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack32-gtk/files/patch-ad b/games/nethack32-gtk/files/patch-ad
new file mode 100644
index 000000000000..75c84c235c88
--- /dev/null
+++ b/games/nethack32-gtk/files/patch-ad
@@ -0,0 +1,12 @@
+diff -ruN ./sys/unix/Makefile.doc ../nethack-3.2.2/sys/unix/Makefile.doc
+--- ./sys/unix/Makefile.doc Wed Dec 11 05:20:08 1996
++++ ../nethack-3.2.2/sys/unix/Makefile.doc Sun Mar 21 17:25:02 1999
+@@ -31,7 +31,7 @@
+
+
+ GAME = nethack
+-MANDIR = /usr/man/man6
++MANDIR = ${PREFIX}/man/man6
+ MANEXT = 6
+
+ # manual installation for most BSD-style systems
diff --git a/games/nethack32-gtk/files/sample.nethackrc b/games/nethack32-gtk/files/sample.nethackrc
new file mode 100644
index 000000000000..33dbe47118fc
--- /dev/null
+++ b/games/nethack32-gtk/files/sample.nethackrc
@@ -0,0 +1,88 @@
+OPTIONS=!silent
+OPTIONS=!time
+OPTIONS=catname:Ghisteslwchlohm
+OPTIONS=color
+OPTIONS=dogname:Dhairrhuwyth
+OPTIONS=hilite_pet
+OPTIONS=lit_corridor
+OPTIONS=menustyle:partial
+OPTIONS=msghistory:200
+OPTIONS=news
+OPTIONS=noautopickup
+OPTIONS=rest_on_space
+OPTIONS=safe_pet
+OPTIONS=showexp
+OPTIONS=showscore
+OPTIONS=sortpack
+OPTIONS=time
+OPTIONS=tombstone
+OPTIONS=toptenwin
+OPTIONS=verbose
+SOUNDDIR=/usr/local/lib/nethackdir
+SOUND=MESG "needs food, badly" "weak.au" 100
+SOUND=MESG "feel weak" "weak.au" 100
+SOUND=MESG "bear trap closes" "beartrap.au" 100
+SOUND=MESG "board beneath you squeaks" "squeek.au" 100
+SOUND=MESG "board beneath .....* squeaks" "squeek.au" 60
+SOUND=MESG "a distant squeak" "squeek.au" 25
+SOUND=MESG "mind releases itself from" "memories.au" 100
+SOUND=MESG "on itself, you forget" "memories.au" 100
+SOUND=MESG "Who was that Maud person" "memories.au" 100
+SOUND=MESG "Thinking of Maud you forget" "memories.au" 100
+SOUND=MESG "you forget everything" "memories.au" 100
+SOUND=MESG "smell marsh gas" "frogs.au" 100
+SOUND=MESG "must have been exercising" "tada.au" 100
+SOUND=MESG "must have been very obs" "tada.au" 100
+SOUND=MESG "must have been working on" "tada.au" 100
+SOUND=MESG "must be leading a healthy" "tada.au" 100
+SOUND=MESG "Keystone Kops appear!" "kops.au" 100
+SOUND=MESG "Keystone Kops are after you" "kops.au" 100
+SOUND=MESG "interesting topological ex" "mock.au" 100
+SOUND=MESG "Interesting\.\.\." "mock.au" 100
+SOUND=MESG "deathly sick\." "ohdear.au" 80
+SOUND=MESG "feel feverish" "ohdear.au" 80
+SOUND=MESG "brain is eaten" "minderode.au" 80
+SOUND=MESG "thought thou couldst kill" "yendor.au" 120
+SOUND=MESG "begin praying to" "latin_short.au" 70
+SOUND=MESG "sense of peace" "latin.au" 20
+SOUND=MESG "have a.* forbidding feeling" "latin.au" 20
+#SOUND=MESG "door opens\." "dooropen2.au" 100
+#SOUND=MESG "You drop " "drop.au" 10
+#SOUND=MESG "You destroy " "destroy2.au" 30
+#SOUND=MESG "You kill " "destroy2.au" 20
+#SOUND=MESG "is killed" "destroy2.au" 10
+#SOUND=MESG "You miss " "miss2.au" 20
+#SOUND=MESG "fiery blade burns" "hit2.au" 30
+#SOUND=MESG "ice-cold blade freezes" "hit2.au" 30
+#SOUND=MESG "You hit " "hit2.au" 20
+#SOUND=MESG "The spell hits" "hit2.au" 20
+SOUND=MESG "breathes" "breath.au" 100
+SOUND=MESG "a door open\." "dooropen2.au" 100
+SOUND=MESG "Klunk" "clunk.au" 100
+SOUND=MESG "guard on patrol" "coin.au" 50
+SOUND=MESG "quarterback calling" "coin.au" 50
+SOUND=MESG "someone counting" "coin.au" 50
+SOUND=MESG "Ebenezer Scrooge" "coin.au" 50
+SOUND=MESG "someone cursing shoplifters" "gong.au" 50
+SOUND=MESG "chime of a cash register" "gong.au" 50
+SOUND=MESG "Neiman and Marcus" "gong.au" 50
+SOUND=MESG "You die" "death.au" 100
+SOUND=MESG "sad feeling" "death.au" 50
+SOUND=MESG "door closes\." "doorclos.au" 100
+SOUND=MESG "cosmic" "hallu.au" 100
+SOUND=MESG "explosion" "landmine.au" 100
+SOUND=MESG "KABOOM" "landmine.au" 100
+#SOUND=MESG "KAABLAM" "landmine.au" 100
+SOUND=MESG "trigger.* a land *mine" "landmine.au" 100
+SOUND=MESG "elcome to experi" "level_up.au" 100
+SOUND=MESG "memorize" "memor.au" 100
+#SOUND=MESG "Ouch" "ouch2.au" 100
+#SOUND=MESG "XXXfall through\.\.\." "trapdoor.au" 100
+SOUND=MESG "vomit" "vomit.au" 100
+SOUND=MESG "whistling" "whistle2.au" 100
+SOUND=MESG "crashes open" "thump.au" 100
+SOUND=MESG "You break open the lock" "thump.au" 100
+#SOUND=MESG "THUD" "thump.au" 40
+#SOUND=MESG "WHAMM" "thump.au" 50
+SOUND=MESG "welcome to NetHack" "awaits.au" 100
+SOUND=MESG "strange vibration under" "forcefld.au" 100
diff --git a/games/nethack32-gtk/files/src-Makefile.diff b/games/nethack32-gtk/files/src-Makefile.diff
new file mode 100644
index 000000000000..438801a22ac7
--- /dev/null
+++ b/games/nethack32-gtk/files/src-Makefile.diff
@@ -0,0 +1,13 @@
+--- src/Makefile.orig Wed Jun 14 22:37:10 2000
++++ src/Makefile Wed Jun 14 22:38:40 2000
+@@ -124,8 +124,8 @@
+ # flags for debugging:
+ # CFLAGS = -g -I../include
+
+-CFLAGS = -O -I../include -I/usr/X11R6/include `gtk-config --cflags`
+-LFLAGS = -O -L/usr/X11R6/lib `gtk-config --libs`
++CFLAGS = -O -I../include -I/usr/X11R6/include `gtk12-config --cflags`
++LFLAGS = -O -L/usr/X11R6/lib `gtk12-config --libs`
+
+ # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
+ # combination of windowing systems. Also set windowing systems in config.h.