aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/nethack-gtk/Makefile48
-rw-r--r--games/nethack-gtk/distinfo3
-rw-r--r--games/nethack-gtk/files/patch-aa13
-rw-r--r--games/nethack-gtk/files/patch-ab11
-rw-r--r--games/nethack-gtk/files/patch-ac11
-rw-r--r--games/nethack-gtk/files/patch-ad12
-rw-r--r--games/nethack-gtk/files/sample.nethackrc88
-rw-r--r--games/nethack-gtk/files/src-Makefile.diff13
-rw-r--r--games/nethack-gtk/pkg-comment1
-rw-r--r--games/nethack-gtk/pkg-descr7
-rw-r--r--games/nethack-gtk/pkg-plist131
-rw-r--r--games/nethack32-gtk/Makefile48
-rw-r--r--games/nethack32-gtk/distinfo3
-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
-rw-r--r--games/nethack32-gtk/pkg-comment1
-rw-r--r--games/nethack32-gtk/pkg-descr7
-rw-r--r--games/nethack32-gtk/pkg-plist131
23 files changed, 677 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 2db470a92c30..6b0f50627b73 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -103,6 +103,7 @@
SUBDIR += mirrormagic
SUBDIR += miscom
SUBDIR += nethack
+ SUBDIR += nethack-gtk
SUBDIR += nethack-qt
SUBDIR += nethack3
SUBDIR += netrek-BRMH-bin
diff --git a/games/nethack-gtk/Makefile b/games/nethack-gtk/Makefile
new file mode 100644
index 000000000000..576363836f20
--- /dev/null
+++ b/games/nethack-gtk/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: nethack-gtk
+# Date created: June 15, 2000
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nethack
+PORTVERSION= 1.1.5
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.jnethack.org/pub/jnethack/ \
+ ftp://ftp.uu.net/systems/gnu/nethack/
+PKGNAMEPREFIX= gtk-
+DISTNAME= ${PORTNAME}-3.2.2
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GTK_PATCH}
+EXTRACT_ONLY= nethack-3.2.2.tar.gz
+
+PATCH_SITES= ftp://ftp.jnethack.org/pub/nethack/
+PATCHFILES= nh-3.2.2-3.2.3.diff \
+ nethack-gtk-1.1.5-nethack-3.2.3.patch.gz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_GMAKE= yes
+MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
+
+pre-configure:
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ ${ECHO} "!! You cannot install nethack and nethack-gtk in parallel !!"
+ @ ${ECHO} "!! But nethack-gtk might read your prior nethack scores !!"
+ @ ${ECHO} "!! Don't forget to backup your nethack libdir if it's !!"
+ @ ${ECHO} "!! important for you !!"
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ cd ${WRKSRC}/sys/unix; ${SH} setup.sh
+ @ cd ${WRKSRC}; ${PATCH} -s < ${FILESDIR}/src-Makefile.diff
+
+post-install:
+ @cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
+ @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/nethack
+ ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/nethack-gtk/distinfo b/games/nethack-gtk/distinfo
new file mode 100644
index 000000000000..382b57a512c8
--- /dev/null
+++ b/games/nethack-gtk/distinfo
@@ -0,0 +1,3 @@
+MD5 (nethack-3.2.2.tar.gz) = c85de4d14453b3a2d182d1dfc2ca04df
+MD5 (nh-3.2.2-3.2.3.diff) = 440141990df326d5a973d890179cffae
+MD5 (nethack-gtk-1.1.5-nethack-3.2.3.patch.gz) = a9e75005f23a5eea2a4879237ac851d4
diff --git a/games/nethack-gtk/files/patch-aa b/games/nethack-gtk/files/patch-aa
new file mode 100644
index 000000000000..d85abe12fea9
--- /dev/null
+++ b/games/nethack-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/nethack-gtk/files/patch-ab b/games/nethack-gtk/files/patch-ab
new file mode 100644
index 000000000000..e495662a5880
--- /dev/null
+++ b/games/nethack-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/nethack-gtk/files/patch-ac b/games/nethack-gtk/files/patch-ac
new file mode 100644
index 000000000000..c2a2ba246941
--- /dev/null
+++ b/games/nethack-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/nethack-gtk/files/patch-ad b/games/nethack-gtk/files/patch-ad
new file mode 100644
index 000000000000..75c84c235c88
--- /dev/null
+++ b/games/nethack-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/nethack-gtk/files/sample.nethackrc b/games/nethack-gtk/files/sample.nethackrc
new file mode 100644
index 000000000000..33dbe47118fc
--- /dev/null
+++ b/games/nethack-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/nethack-gtk/files/src-Makefile.diff b/games/nethack-gtk/files/src-Makefile.diff
new file mode 100644
index 000000000000..438801a22ac7
--- /dev/null
+++ b/games/nethack-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.
diff --git a/games/nethack-gtk/pkg-comment b/games/nethack-gtk/pkg-comment
new file mode 100644
index 000000000000..7fe1521970fa
--- /dev/null
+++ b/games/nethack-gtk/pkg-comment
@@ -0,0 +1 @@
+Nethack 3.2.3 with GTK interface and graphics
diff --git a/games/nethack-gtk/pkg-descr b/games/nethack-gtk/pkg-descr
new file mode 100644
index 000000000000..85e5baee60a0
--- /dev/null
+++ b/games/nethack-gtk/pkg-descr
@@ -0,0 +1,7 @@
+This is the clasic hack'n'slash adventure game, nethack, revamped with a GTK
+interface and graphics.
+
+WWW: http://www.jnethack.org/jnethack-e.html
+
+ -Kelly
+ kbyanc@posi.net
diff --git a/games/nethack-gtk/pkg-plist b/games/nethack-gtk/pkg-plist
new file mode 100644
index 000000000000..841294b98540
--- /dev/null
+++ b/games/nethack-gtk/pkg-plist
@@ -0,0 +1,131 @@
+bin/nethack
+share/nethack/nethack
+@exec mkdir %D/share/nethack/save
+@exec chmod -R 775 %D/share/nethack
+@exec chmod 2755 %D/share/nethack/nethack
+@exec chown games.games %D/share/nethack/save
+@unexec rm -rf %D/share/nethack/save
+share/doc/nethack/Guidebook.txt
+share/nethack/x11tiles
+share/nethack/W-start.lev
+share/nethack/V-start.lev
+share/nethack/T-start.lev
+share/nethack/S-start.lev
+share/nethack/R-start.lev
+share/nethack/P-start.lev
+share/nethack/K-start.lev
+share/nethack/H-start.lev
+share/nethack/E-start.lev
+share/nethack/C-start.lev
+share/nethack/B-start.lev
+share/nethack/A-start.lev
+share/nethack/W-locate.lev
+share/nethack/V-locate.lev
+share/nethack/T-locate.lev
+share/nethack/S-locate.lev
+share/nethack/R-locate.lev
+share/nethack/P-locate.lev
+share/nethack/K-locate.lev
+share/nethack/H-locate.lev
+share/nethack/E-locate.lev
+share/nethack/C-locate.lev
+share/nethack/B-locate.lev
+share/nethack/A-locate.lev
+share/nethack/W-fillb.lev
+share/nethack/W-filla.lev
+share/nethack/V-fillb.lev
+share/nethack/V-filla.lev
+share/nethack/T-fillb.lev
+share/nethack/T-filla.lev
+share/nethack/S-fillb.lev
+share/nethack/S-filla.lev
+share/nethack/R-fillb.lev
+share/nethack/R-filla.lev
+share/nethack/P-fillb.lev
+share/nethack/P-filla.lev
+share/nethack/K-fillb.lev
+share/nethack/K-filla.lev
+share/nethack/H-fillb.lev
+share/nethack/H-filla.lev
+share/nethack/E-fillb.lev
+share/nethack/E-filla.lev
+share/nethack/C-fillb.lev
+share/nethack/C-filla.lev
+share/nethack/B-fillb.lev
+share/nethack/B-filla.lev
+share/nethack/A-fillb.lev
+share/nethack/A-filla.lev
+share/nethack/W-goal.lev
+share/nethack/V-goal.lev
+share/nethack/T-goal.lev
+share/nethack/S-goal.lev
+share/nethack/R-goal.lev
+share/nethack/P-goal.lev
+share/nethack/K-goal.lev
+share/nethack/H-goal.lev
+share/nethack/E-goal.lev
+share/nethack/C-goal.lev
+share/nethack/B-goal.lev
+share/nethack/A-goal.lev
+share/nethack/floor.xpm
+share/nethack/credit.xpm
+share/nethack/t32-1024.xpm
+share/nethack/rip.xpm
+share/nethack/pet_mark.xbm
+share/nethack/NetHack
+share/nethack/gtkrc
+share/nethack/nh10.pcf
+share/nethack/fonts.dir
+share/nethack/quest.dat
+share/nethack/options
+share/nethack/oracles
+share/nethack/data
+share/nethack/water.lev
+share/nethack/fire.lev
+share/nethack/earth.lev
+share/nethack/air.lev
+share/nethack/astral.lev
+share/nethack/wizard3.lev
+share/nethack/wizard2.lev
+share/nethack/dungeon
+share/nethack/wizard1.lev
+share/nethack/valley.lev
+share/nethack/tower3.lev
+share/nethack/tower2.lev
+share/nethack/tower1.lev
+share/nethack/sanctum.lev
+share/nethack/orcus.lev
+share/nethack/oracle.lev
+share/nethack/minetn-2.lev
+share/nethack/minetn-1.lev
+share/nethack/minefill.lev
+share/nethack/minend-2.lev
+share/nethack/minend-1.lev
+share/nethack/medusa-2.lev
+share/nethack/medusa-1.lev
+share/nethack/knox.lev
+share/nethack/juiblex.lev
+share/nethack/fakewiz2.lev
+share/nethack/fakewiz1.lev
+share/nethack/castle.lev
+share/nethack/bigrm-5.lev
+share/nethack/bigrm-4.lev
+share/nethack/bigrm-3.lev
+share/nethack/wizhelp
+share/nethack/bigrm-2.lev
+share/nethack/bigrm-1.lev
+share/nethack/baalz.lev
+share/nethack/asmodeus.lev
+share/nethack/opthelp
+share/nethack/history
+share/nethack/cmdhelp
+share/nethack/hh
+share/nethack/help
+share/nethack/license
+share/nethack/rumors
+@mode 664
+share/nethack/logfile
+share/nethack/record
+share/nethack/perm
+@dirrm share/nethack
+@dirrm share/doc/nethack
diff --git a/games/nethack32-gtk/Makefile b/games/nethack32-gtk/Makefile
new file mode 100644
index 000000000000..576363836f20
--- /dev/null
+++ b/games/nethack32-gtk/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: nethack-gtk
+# Date created: June 15, 2000
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nethack
+PORTVERSION= 1.1.5
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.jnethack.org/pub/jnethack/ \
+ ftp://ftp.uu.net/systems/gnu/nethack/
+PKGNAMEPREFIX= gtk-
+DISTNAME= ${PORTNAME}-3.2.2
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GTK_PATCH}
+EXTRACT_ONLY= nethack-3.2.2.tar.gz
+
+PATCH_SITES= ftp://ftp.jnethack.org/pub/nethack/
+PATCHFILES= nh-3.2.2-3.2.3.diff \
+ nethack-gtk-1.1.5-nethack-3.2.3.patch.gz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_GMAKE= yes
+MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
+
+pre-configure:
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ ${ECHO} "!! You cannot install nethack and nethack-gtk in parallel !!"
+ @ ${ECHO} "!! But nethack-gtk might read your prior nethack scores !!"
+ @ ${ECHO} "!! Don't forget to backup your nethack libdir if it's !!"
+ @ ${ECHO} "!! important for you !!"
+ @ ${ECHO} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ @ cd ${WRKSRC}/sys/unix; ${SH} setup.sh
+ @ cd ${WRKSRC}; ${PATCH} -s < ${FILESDIR}/src-Makefile.diff
+
+post-install:
+ @cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
+ @cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/nethack
+ ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/nethack32-gtk/distinfo b/games/nethack32-gtk/distinfo
new file mode 100644
index 000000000000..382b57a512c8
--- /dev/null
+++ b/games/nethack32-gtk/distinfo
@@ -0,0 +1,3 @@
+MD5 (nethack-3.2.2.tar.gz) = c85de4d14453b3a2d182d1dfc2ca04df
+MD5 (nh-3.2.2-3.2.3.diff) = 440141990df326d5a973d890179cffae
+MD5 (nethack-gtk-1.1.5-nethack-3.2.3.patch.gz) = a9e75005f23a5eea2a4879237ac851d4
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.
diff --git a/games/nethack32-gtk/pkg-comment b/games/nethack32-gtk/pkg-comment
new file mode 100644
index 000000000000..7fe1521970fa
--- /dev/null
+++ b/games/nethack32-gtk/pkg-comment
@@ -0,0 +1 @@
+Nethack 3.2.3 with GTK interface and graphics
diff --git a/games/nethack32-gtk/pkg-descr b/games/nethack32-gtk/pkg-descr
new file mode 100644
index 000000000000..85e5baee60a0
--- /dev/null
+++ b/games/nethack32-gtk/pkg-descr
@@ -0,0 +1,7 @@
+This is the clasic hack'n'slash adventure game, nethack, revamped with a GTK
+interface and graphics.
+
+WWW: http://www.jnethack.org/jnethack-e.html
+
+ -Kelly
+ kbyanc@posi.net
diff --git a/games/nethack32-gtk/pkg-plist b/games/nethack32-gtk/pkg-plist
new file mode 100644
index 000000000000..841294b98540
--- /dev/null
+++ b/games/nethack32-gtk/pkg-plist
@@ -0,0 +1,131 @@
+bin/nethack
+share/nethack/nethack
+@exec mkdir %D/share/nethack/save
+@exec chmod -R 775 %D/share/nethack
+@exec chmod 2755 %D/share/nethack/nethack
+@exec chown games.games %D/share/nethack/save
+@unexec rm -rf %D/share/nethack/save
+share/doc/nethack/Guidebook.txt
+share/nethack/x11tiles
+share/nethack/W-start.lev
+share/nethack/V-start.lev
+share/nethack/T-start.lev
+share/nethack/S-start.lev
+share/nethack/R-start.lev
+share/nethack/P-start.lev
+share/nethack/K-start.lev
+share/nethack/H-start.lev
+share/nethack/E-start.lev
+share/nethack/C-start.lev
+share/nethack/B-start.lev
+share/nethack/A-start.lev
+share/nethack/W-locate.lev
+share/nethack/V-locate.lev
+share/nethack/T-locate.lev
+share/nethack/S-locate.lev
+share/nethack/R-locate.lev
+share/nethack/P-locate.lev
+share/nethack/K-locate.lev
+share/nethack/H-locate.lev
+share/nethack/E-locate.lev
+share/nethack/C-locate.lev
+share/nethack/B-locate.lev
+share/nethack/A-locate.lev
+share/nethack/W-fillb.lev
+share/nethack/W-filla.lev
+share/nethack/V-fillb.lev
+share/nethack/V-filla.lev
+share/nethack/T-fillb.lev
+share/nethack/T-filla.lev
+share/nethack/S-fillb.lev
+share/nethack/S-filla.lev
+share/nethack/R-fillb.lev
+share/nethack/R-filla.lev
+share/nethack/P-fillb.lev
+share/nethack/P-filla.lev
+share/nethack/K-fillb.lev
+share/nethack/K-filla.lev
+share/nethack/H-fillb.lev
+share/nethack/H-filla.lev
+share/nethack/E-fillb.lev
+share/nethack/E-filla.lev
+share/nethack/C-fillb.lev
+share/nethack/C-filla.lev
+share/nethack/B-fillb.lev
+share/nethack/B-filla.lev
+share/nethack/A-fillb.lev
+share/nethack/A-filla.lev
+share/nethack/W-goal.lev
+share/nethack/V-goal.lev
+share/nethack/T-goal.lev
+share/nethack/S-goal.lev
+share/nethack/R-goal.lev
+share/nethack/P-goal.lev
+share/nethack/K-goal.lev
+share/nethack/H-goal.lev
+share/nethack/E-goal.lev
+share/nethack/C-goal.lev
+share/nethack/B-goal.lev
+share/nethack/A-goal.lev
+share/nethack/floor.xpm
+share/nethack/credit.xpm
+share/nethack/t32-1024.xpm
+share/nethack/rip.xpm
+share/nethack/pet_mark.xbm
+share/nethack/NetHack
+share/nethack/gtkrc
+share/nethack/nh10.pcf
+share/nethack/fonts.dir
+share/nethack/quest.dat
+share/nethack/options
+share/nethack/oracles
+share/nethack/data
+share/nethack/water.lev
+share/nethack/fire.lev
+share/nethack/earth.lev
+share/nethack/air.lev
+share/nethack/astral.lev
+share/nethack/wizard3.lev
+share/nethack/wizard2.lev
+share/nethack/dungeon
+share/nethack/wizard1.lev
+share/nethack/valley.lev
+share/nethack/tower3.lev
+share/nethack/tower2.lev
+share/nethack/tower1.lev
+share/nethack/sanctum.lev
+share/nethack/orcus.lev
+share/nethack/oracle.lev
+share/nethack/minetn-2.lev
+share/nethack/minetn-1.lev
+share/nethack/minefill.lev
+share/nethack/minend-2.lev
+share/nethack/minend-1.lev
+share/nethack/medusa-2.lev
+share/nethack/medusa-1.lev
+share/nethack/knox.lev
+share/nethack/juiblex.lev
+share/nethack/fakewiz2.lev
+share/nethack/fakewiz1.lev
+share/nethack/castle.lev
+share/nethack/bigrm-5.lev
+share/nethack/bigrm-4.lev
+share/nethack/bigrm-3.lev
+share/nethack/wizhelp
+share/nethack/bigrm-2.lev
+share/nethack/bigrm-1.lev
+share/nethack/baalz.lev
+share/nethack/asmodeus.lev
+share/nethack/opthelp
+share/nethack/history
+share/nethack/cmdhelp
+share/nethack/hh
+share/nethack/help
+share/nethack/license
+share/nethack/rumors
+@mode 664
+share/nethack/logfile
+share/nethack/record
+share/nethack/perm
+@dirrm share/nethack
+@dirrm share/doc/nethack