summaryrefslogtreecommitdiff
path: root/games/angband
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-03-04 09:35:21 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-03-04 09:35:21 +0000
commit02f4b56584d9670e4a06aecd58ba9cdfbed505a0 (patch)
tree9b73e6451a3af9b2c119479c0c3bd279145141b9 /games/angband
parentUpgrade, 8.6 -> 9.6. Closes PR ports/2761. (diff)
Import of the angband port. Angband is a roguelike game.
Closes PR #2799. Submitted by: Matthew Hunt <mph@pobox.com>
Diffstat (limited to 'games/angband')
-rw-r--r--games/angband/Makefile20
-rw-r--r--games/angband/distinfo1
-rw-r--r--games/angband/files/patch-aa54
-rw-r--r--games/angband/pkg-comment1
-rw-r--r--games/angband/pkg-descr4
-rw-r--r--games/angband/pkg-plist43
6 files changed, 123 insertions, 0 deletions
diff --git a/games/angband/Makefile b/games/angband/Makefile
new file mode 100644
index 000000000000..cc491689deb0
--- /dev/null
+++ b/games/angband/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: angband
+# Version required: 2.8.0
+# Date created: 21 Feb 1997
+# Whom: Matthew Hunt <mph@pobox.com>
+#
+# $Id$
+#
+
+DISTNAME= angband-2.8.0
+CATEGORIES= games
+MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/
+DISTFILES= angband-280.tar.gz
+
+MAINTAINER= mph@pobox.com
+
+WRKSRC= ${WRKDIR}/angband-280
+USE_X11= yes
+PATCH_STRIP= -p1
+
+.include <bsd.port.mk>
diff --git a/games/angband/distinfo b/games/angband/distinfo
new file mode 100644
index 000000000000..b6c3b511673c
--- /dev/null
+++ b/games/angband/distinfo
@@ -0,0 +1 @@
+MD5 (angband-280.tar.gz) = c488458e21659d7b14d660f7baacba47
diff --git a/games/angband/files/patch-aa b/games/angband/files/patch-aa
new file mode 100644
index 000000000000..42eddaa6dbf6
--- /dev/null
+++ b/games/angband/files/patch-aa
@@ -0,0 +1,54 @@
+diff -r -P -u ../../angband-280/Makefile angband-280/Makefile
+--- ../../angband-280/Makefile Wed Dec 31 19:00:00 1969
++++ angband-280/Makefile Thu Feb 20 19:54:23 1997
+@@ -0,0 +1,17 @@
++# My makefile for Angband
++# Matthew Hunt <mph@pobox.com>
++
++all: angband
++
++angband:
++ cd src && make
++
++install: angband
++ install -c -o games -g bin -m 4755 angband ${PREFIX}/bin
++ mkdir -p ${PREFIX}/lib/X11/angband
++ (cd lib && tar cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
++# install -c lib/* ${PREFIX}/lib/X11/angband
++ /usr/sbin/chown -R games.bin ${PREFIX}/lib/X11/angband
++ (cd ${PREFIX}/lib/X11/angband && \
++ /bin/chmod 755 apex bone data edit file help info xtra && \
++ /bin/chmod 1777 save user )
+diff -r -P -u ../../angband-280/src/Makefile angband-280/src/Makefile
+--- ../../angband-280/src/Makefile Sun Oct 13 20:06:49 1996
++++ angband-280/src/Makefile Thu Feb 20 19:56:09 1997
+@@ -136,8 +136,8 @@
+ ##
+ ## Variation -- Use "main-xaw.c" instead of "main-x11.c"
+ ##
+-#CFLAGS = -Wall -O1 -pipe -g -D"USE_XAW" -D"USE_GCU"
+-#LIBS = -lXaw -lXmu -lXt -lX11 -lcurses -ltermcap
++CFLAGS = -Wall -O1 -pipe -I/usr/X11R6/include -DDEFAULT_PATH=\"${PREFIX}/lib/X11/angband/\" -D"USE_XAW" -D"USE_GCU"
++LIBS = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lcurses -ltermcap
+
+
+ ##
+diff -r -P -u ../../angband-280/src/config.h angband-280/src/config.h
+--- ../../angband-280/src/config.h Sun Oct 13 19:13:01 1996
++++ angband-280/src/config.h Thu Feb 20 19:56:09 1997
+@@ -48,13 +48,13 @@
+ * OPTION: define "SPECIAL_BSD" for using certain versions of UNIX
+ * that use the 4.4BSD Lite version of Curses in "main-gcu.c"
+ */
+-/* #define SPECIAL_BSD */
++#define SPECIAL_BSD
+
+
+ /*
+ * OPTION: Use the POSIX "termios" methods in "main-gcu.c"
+ */
+-/* #define USE_TPOSIX */
++#define USE_TPOSIX
+
+ /*
+ * OPTION: Use the "termio" methods in "main-gcu.c"
diff --git a/games/angband/pkg-comment b/games/angband/pkg-comment
new file mode 100644
index 000000000000..7e81fbe48e06
--- /dev/null
+++ b/games/angband/pkg-comment
@@ -0,0 +1 @@
+Rogue-like game with color, X11 support.
diff --git a/games/angband/pkg-descr b/games/angband/pkg-descr
new file mode 100644
index 000000000000..497d1f53a7b1
--- /dev/null
+++ b/games/angband/pkg-descr
@@ -0,0 +1,4 @@
+A roguelike game derived from Moria. Features unique
+monsters, artifact items, color support, X11 support.
+
+See http://www.voicenet.com/~benh/angband/ for details.
diff --git a/games/angband/pkg-plist b/games/angband/pkg-plist
new file mode 100644
index 000000000000..8bee6f02f80f
--- /dev/null
+++ b/games/angband/pkg-plist
@@ -0,0 +1,43 @@
+bin/angband
+lib/X11/angband/apex/scores.raw
+lib/X11/angband/help/attack.txt
+lib/X11/angband/help/birth.txt
+lib/X11/angband/help/command.txt
+lib/X11/angband/help/dungeon.txt
+lib/X11/angband/help/general.txt
+lib/X11/angband/help/help.hlp
+lib/X11/angband/help/option.txt
+lib/X11/angband/help/version.txt
+lib/X11/angband/edit/a_info.txt
+lib/X11/angband/edit/e_info.txt
+lib/X11/angband/edit/f_info.txt
+lib/X11/angband/edit/k_info.txt
+lib/X11/angband/edit/r_info.txt
+lib/X11/angband/edit/v_info.txt
+lib/X11/angband/user/font-ami.prf
+lib/X11/angband/user/font-ibm.prf
+lib/X11/angband/user/font-win.prf
+lib/X11/angband/user/graf-ami.prf
+lib/X11/angband/user/graf-win.prf
+lib/X11/angband/user/pref-acn.prf
+lib/X11/angband/user/pref-emx.prf
+lib/X11/angband/user/pref-ibm.prf
+lib/X11/angband/user/pref-lsl.prf
+lib/X11/angband/user/pref-mac.prf
+lib/X11/angband/user/pref-win.prf
+lib/X11/angband/user/pref-x11.prf
+lib/X11/angband/user/pref-xaw.prf
+lib/X11/angband/user/pref.prf
+lib/X11/angband/file/dead.txt
+lib/X11/angband/file/news.txt
+@exec mkdir -p %D/lib/X11/angband/bone
+@exec mkdir -p %D/lib/X11/angband/data
+@exec mkdir -p %D/lib/X11/angband/info
+@exec mkdir -p %D/lib/X11/angband/save
+@exec mkdir -p %D/lib/X11/angband/xtra
+@dirrm lib/X11/angband/bone
+@dirrm lib/X11/angband/data
+@dirrm lib/X11/angband/info
+@dirrm lib/X11/angband/save
+@dirrm lib/X11/angband/xtra
+