summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-27 13:22:08 +0000
committergarbled <garbled@pkgsrc.org>1998-08-27 13:22:08 +0000
commitc92ffdca2bc4969eaa8c2ff2082435fdb7042bc0 (patch)
treea493d4e2a1f75b91bbd32f27800948b367a570f5 /games
parent4ccf39ab362cb123fe9d29f845497494a7e4f1ba (diff)
downloadpkgsrc-c92ffdca2bc4969eaa8c2ff2082435fdb7042bc0.tar.gz
angband-x11: a Tolkien based variant of Moria for X11 displays
Diffstat (limited to 'games')
-rw-r--r--games/angband-x11/Makefile34
-rw-r--r--games/angband-x11/patches/patch-aa11
-rw-r--r--games/angband-x11/pkg/COMMENT1
-rw-r--r--games/angband-x11/pkg/DESCR6
-rw-r--r--games/angband-x11/pkg/MESSAGE3
-rw-r--r--games/angband-x11/pkg/PLIST55
6 files changed, 110 insertions, 0 deletions
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
new file mode 100644
index 00000000000..f183a00de88
--- /dev/null
+++ b/games/angband-x11/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 1998/08/27 13:22:08 garbled Exp $
+#
+
+DISTNAME= angband-283
+PKGNAME= angband-x11-2.8.3
+CATEGORIES= games x11
+MASTER_SITES= # empty
+
+MAINTAINER= root@garbled.net
+
+WRKSRC= ../angband-tty/work/${DISTNAME}/src
+
+NO_CHECKSUM= yes
+USE_X11= yes
+MAKEFILE= Makefile.std
+ALL_TARGET= angband
+
+do-fetch: # empty
+do-extract:
+ @mkdir work
+ (cd ../angband-tty && make clean && make patch)
+
+do-install:
+ ${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
+ ${CP} -R ../angband-tty/work/${DISTNAME}/lib/* ${PREFIX}/share/angband
+ chown -R bin:games ${PREFIX}/share/angband
+ chmod -R 0664 ${PREFIX}/share/angband/*
+ (cd ${PREFIX}/share/angband && chmod 0775 apex bone data edit file help info save user xtra)
+ ${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
+
+do-clean:
+ @rm -rf work
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/angband-x11/patches/patch-aa b/games/angband-x11/patches/patch-aa
new file mode 100644
index 00000000000..1a48147da49
--- /dev/null
+++ b/games/angband-x11/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1 1998/08/27 13:22:08 garbled Exp $
+--- Makefile.std.orig Sun Aug 9 02:28:37 1998
++++ Makefile.std Sun Aug 9 02:31:59 1998
+@@ -117,4 +117,5 @@
+ #
+-CFLAGS = -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"$(PREFIX)/share/angband/\"
+-LIBS = -lcurses -ltermcap
++CFLAGS = -Wall -O -D"USE_X11" -D"USE_GCU" \
++ -DDEFAULT_PATH=\"$(PREFIX)/share/angband/\" -I$(X11BASE)/include
++LIBS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -lX11 -lXmu -lXaw -lXt -lcurses -ltermcap
+
diff --git a/games/angband-x11/pkg/COMMENT b/games/angband-x11/pkg/COMMENT
new file mode 100644
index 00000000000..6a207522f57
--- /dev/null
+++ b/games/angband-x11/pkg/COMMENT
@@ -0,0 +1 @@
+a Tolkien based variant of Moria for X11 displays
diff --git a/games/angband-x11/pkg/DESCR b/games/angband-x11/pkg/DESCR
new file mode 100644
index 00000000000..28bb478b744
--- /dev/null
+++ b/games/angband-x11/pkg/DESCR
@@ -0,0 +1,6 @@
+Angband is a rather addictive freeware computer role playing game based
+loosely on the world of J.R.R.Tolkien, in which the player explores the
+complex dungeon of Angband, killing monsters and collecting treasure, and
+eventually defeating Morgoth, the Master of the Pits of Angband.
+
+http://www.phial.com/angband/
diff --git a/games/angband-x11/pkg/MESSAGE b/games/angband-x11/pkg/MESSAGE
new file mode 100644
index 00000000000..fe6f152a1cb
--- /dev/null
+++ b/games/angband-x11/pkg/MESSAGE
@@ -0,0 +1,3 @@
+It is not neccesary to build both the tty and X11 versions of angband, as
+the X11 version supports both environments.
+
diff --git a/games/angband-x11/pkg/PLIST b/games/angband-x11/pkg/PLIST
new file mode 100644
index 00000000000..fb31038fd6f
--- /dev/null
+++ b/games/angband-x11/pkg/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 1998/08/27 13:22:09 garbled Exp $
+bin/angband
+share/angband/file/dead.txt
+share/angband/file/news.txt
+share/angband/user/font-xxx.prf
+share/angband/user/font-ibm.prf
+share/angband/user/font-mac.prf
+share/angband/user/font-win.prf
+share/angband/user/font.prf
+share/angband/user/graf-ami.prf
+share/angband/user/graf-mac.prf
+share/angband/user/graf-win.prf
+share/angband/user/graf-xxx.prf
+share/angband/user/graf.prf
+share/angband/user/pref-acn.prf
+share/angband/user/pref-ami.prf
+share/angband/user/pref-emx.prf
+share/angband/user/pref-gcu.prf
+share/angband/user/pref-mac.prf
+share/angband/user/pref-win.prf
+share/angband/user/pref-x11.prf
+share/angband/user/pref.prf
+share/angband/user/user-mac.prf
+share/angband/user/user.prf
+share/angband/user/font-x11.prf
+share/angband/user/graf-ibm.prf
+share/angband/user/font-dos.prf
+share/angband/user/graf-x11.prf
+share/angband/user/font-ami.prf
+share/angband/help/playing.txt
+share/angband/help/birth.txt
+share/angband/help/command.txt
+share/angband/help/dungeon.txt
+share/angband/help/general.txt
+share/angband/help/help.hlp
+share/angband/help/option.txt
+share/angband/help/version.txt
+share/angband/help/attack.txt
+share/angband/edit/a_info.txt
+share/angband/edit/e_info.txt
+share/angband/edit/f_info.txt
+share/angband/edit/k_info.txt
+share/angband/edit/r_info.txt
+share/angband/edit/v_info.txt
+@dirrm share/angband/bone
+@dirrm share/angband/file
+@dirrm share/angband/info
+@dirrm share/angband/help
+@dirrm share/angband/xtra
+@dirrm share/angband/edit
+@dirrm share/angband/user
+@unexec rm -r %D/share/angband/data
+@unexec rm -r %D/share/angband/apex
+@unexec rm -r %D/share/angband/save
+@dirrm share/angband