diff options
author | garbled <garbled@pkgsrc.org> | 1998-08-27 13:15:01 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-08-27 13:15:01 +0000 |
commit | 0b15f6e7a95e2d3dfdbfecdfa45e9e91117a1ca0 (patch) | |
tree | efac5553d1e761ceeb82f8e391043b9e26908730 /games/nethack-x11 | |
parent | 3bd622ede3abb53a9ef77eb75398746c82deb1ad (diff) | |
download | pkgsrc-0b15f6e7a95e2d3dfdbfecdfa45e9e91117a1ca0.tar.gz |
nethack-x11: the X11 version of NetHack
Diffstat (limited to 'games/nethack-x11')
-rw-r--r-- | games/nethack-x11/Makefile | 31 | ||||
-rw-r--r-- | games/nethack-x11/patches/patch-aa | 20 | ||||
-rw-r--r-- | games/nethack-x11/patches/patch-ab | 27 | ||||
-rw-r--r-- | games/nethack-x11/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/nethack-x11/pkg/DESCR | 10 | ||||
-rw-r--r-- | games/nethack-x11/pkg/MESSAGE | 1 | ||||
-rw-r--r-- | games/nethack-x11/pkg/PLIST | 2 |
7 files changed, 92 insertions, 0 deletions
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile new file mode 100644 index 00000000000..be0ab8dc4f5 --- /dev/null +++ b/games/nethack-x11/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 1998/08/27 13:15:01 garbled Exp $ +# + +DISTNAME= nethack-3.2.2 +PKGNAME= nethack-x11-3.2.2 +CATEGORIES= games x11 +MASTER_SITES= # empty + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/ + +DEPENDS+= nethack-lib-3.2.2:../nethack-lib +DEPENDS+= xpm-3.4k:../../graphics/xpm + +WRKSRC= ../nethack-lib/work/${DISTNAME} +NO_CHECKSUM= yes +ALL_TARGET= nethack +INSTALL_TARGET= binfiles +MAKE_ENV+= GTYPE=-x11 + +do-fetch: #empty +do-extract: + -@mkdir work + (cd ../nethack-lib && make clean) + (cd ../nethack-lib && make configure) + (cd ${WRKSRC}/src && make clean) + +do-clean: + -@rm -r work + +.include "../../mk/bsd.pkg.mk" diff --git a/games/nethack-x11/patches/patch-aa b/games/nethack-x11/patches/patch-aa new file mode 100644 index 00000000000..746eac971c2 --- /dev/null +++ b/games/nethack-x11/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1 1998/08/27 13:15:01 garbled Exp $ +--- include/config.h.orig Sat Aug 8 01:48:35 1998 ++++ include/config.h Sat Aug 8 01:53:42 1998 +@@ -212,4 +212,4 @@ + */ +-#define TTY_GRAPHICS /* good old tty based graphics */ +-/* #define X11_GRAPHICS /* X11 interface */ ++/* #define TTY_GRAPHICS /* good old tty based graphics */ ++#define X11_GRAPHICS /* X11 interface */ + +@@ -246,3 +246,3 @@ + #ifndef DEFAULT_WINDOW_SYS +-# define DEFAULT_WINDOW_SYS "tty" ++# define DEFAULT_WINDOW_SYS "X11" + #endif +@@ -258,3 +258,3 @@ + */ +-/* # 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 diff --git a/games/nethack-x11/patches/patch-ab b/games/nethack-x11/patches/patch-ab new file mode 100644 index 00000000000..fc88bdf69fc --- /dev/null +++ b/games/nethack-x11/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.1 1998/08/27 13:15:02 garbled Exp $ +--- src/Makefile.orig Sat Aug 8 01:56:47 1998 ++++ src/Makefile Sat Aug 8 02:00:19 1998 +@@ -126,4 +126,4 @@ + +-CFLAGS = -O -I../include +-LFLAGS = ++CFLAGS = -O -I../include -I$(X11BASE)/include ++LFLAGS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib + +@@ -148,4 +148,4 @@ + # +-WINSRC = $(WINTTYSRC) +-WINOBJ = $(WINTTYOBJ) ++WINSRC = $(WINX11SRC) ++WINOBJ = $(WINX11OBJ) + +@@ -169,3 +169,3 @@ + # 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 +@@ -175,3 +175,3 @@ + # +-WINLIB = $(WINTTYLIB) ++WINLIB = $(WINX11LIB) + diff --git a/games/nethack-x11/pkg/COMMENT b/games/nethack-x11/pkg/COMMENT new file mode 100644 index 00000000000..89b51ec06bd --- /dev/null +++ b/games/nethack-x11/pkg/COMMENT @@ -0,0 +1 @@ +the X11 version of NetHack diff --git a/games/nethack-x11/pkg/DESCR b/games/nethack-x11/pkg/DESCR new file mode 100644 index 00000000000..31f01787b04 --- /dev/null +++ b/games/nethack-x11/pkg/DESCR @@ -0,0 +1,10 @@ +Nethack is a single player, ASCII graphics-based adventure game, similar +to the lines of Dungeons & Dragons and similar fantasy games. It is +commonly classified in the larger group of Rogue-like Games, which +generally are all text-based, solo adventures. + +Within the game, your character is after the infamous Wizard of Yendor, +who has stolen the Amulet of Yendor and plans to use it for his evil +purposes. You, a young member of your chosen class, have been blessed by +your people and your god to retrieve the Amulet, and to save the world +from the Wizard's evil plans. diff --git a/games/nethack-x11/pkg/MESSAGE b/games/nethack-x11/pkg/MESSAGE new file mode 100644 index 00000000000..2caa52f6c4e --- /dev/null +++ b/games/nethack-x11/pkg/MESSAGE @@ -0,0 +1 @@ +You can run the X11 NetHack by typing "nethack x11" diff --git a/games/nethack-x11/pkg/PLIST b/games/nethack-x11/pkg/PLIST new file mode 100644 index 00000000000..8793aa1604e --- /dev/null +++ b/games/nethack-x11/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 1998/08/27 13:15:02 garbled Exp $ +bin/nethack-x11 |