summaryrefslogtreecommitdiff
path: root/games/angband/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-09-19 06:46:46 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-09-19 06:46:46 +0000
commita66818d1786610b9133bf644ed77ca9c6e596b6c (patch)
tree49572b1be817afb5ccb5ea7c4e5860701a2a1b8c /games/angband/files
parentRemove RUN_DEPENDS as necessary RUN_DEPENDS is now defined in imlib port. (diff)
Upgrade to 2.8.2
PR: 4566 Submitted by: Matthew Hunt <mph@pobox.com>
Notes
Notes: svn path=/head/; revision=7959
Diffstat (limited to 'games/angband/files')
-rw-r--r--games/angband/files/patch-aa24
-rw-r--r--games/angband/files/patch-ad28
2 files changed, 36 insertions, 16 deletions
diff --git a/games/angband/files/patch-aa b/games/angband/files/patch-aa
index a6739d10f6bd..a1a86335cff8 100644
--- a/games/angband/files/patch-aa
+++ b/games/angband/files/patch-aa
@@ -1,20 +1,22 @@
---- Makefile.orig Mon Mar 31 20:08:53 1997
-+++ Makefile Mon Mar 31 20:08:53 1997
-@@ -0,0 +1,17 @@
+--- Makefile.orig Thu Sep 18 12:53:12 1997
++++ Makefile Thu Sep 18 12:55:59 1997
+@@ -0,0 +1,19 @@
+# My makefile for Angband
+# Matthew Hunt <mph@pobox.com>
+
++CFLAGS+=-I/usr/X11R6/include -D"USE_XAW" -D"USE_GCU" -DDEFAULT_PATH=\\\"$(PREFIX)/lib/X11/angband\\\"
++
+all: angband
+
+angband:
-+ cd src && make
++ cd src && make "CFLAGS=$(CFLAGS)"
+
+install: angband
-+ install -c -o games -g bin -m 4755 testing ${PREFIX}/bin/angband
-+ mkdir -p ${PREFIX}/lib/angband
-+ (cd lib && tar cf - * ) | (cd ${PREFIX}/lib/angband && tar xf - )
-+# install -c lib/* ${PREFIX}/lib/angband
-+ /usr/sbin/chown -R games.bin ${PREFIX}/lib/angband
-+ (cd ${PREFIX}/lib/angband && \
-+ /bin/chmod 755 apex bone data edit file help info xtra && \
++ install -c -o bin -g games -m 2755 angband ${PREFIX}/bin/angband
++ mkdir -p ${PREFIX}/lib/X11/angband
++ (cd lib && tar cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
++ /usr/sbin/chown -R bin.games ${PREFIX}/lib/X11/angband
++ (cd ${PREFIX}/lib/X11/angband && \
++ /bin/chmod 775 apex bone data edit file help info xtra && \
+ /bin/chmod 1777 save user )
++ install -o games -g games -m 664 /dev/null ${PREFIX}/lib/X11/angband/apex/scores.raw
diff --git a/games/angband/files/patch-ad b/games/angband/files/patch-ad
index aef51b9b9df1..ecc7256dcd9c 100644
--- a/games/angband/files/patch-ad
+++ b/games/angband/files/patch-ad
@@ -1,12 +1,30 @@
---- src/Makefile.orig Sat Mar 8 05:52:32 1997
-+++ src/Makefile Mon Mar 31 20:10:52 1997
-@@ -136,8 +136,8 @@
+--- src/Makefile.orig Fri Sep 5 18:01:33 1997
++++ src/Makefile Fri Sep 5 18:05:13 1997
+@@ -94,7 +94,7 @@
+ #
+ # This is my compiler of choice, it seems to work most everywhere
+ #
+-CC = gcc
++#CC = gcc
+
+
+ #
+@@ -115,8 +115,8 @@
+ # including "USE_GETCH" and "USE_CURS_SET". Note that "config.h" will
+ # attempt to "guess" at many of these flags based on your system.
+ #
+-CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU"
+-LIBS = -lX11 -lcurses -ltermcap
++#CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU"
++#LIBS = -L/usr/X11-lX11 -lcurses -ltermcap
+
+
##
+@@ -137,7 +137,7 @@
## Variation -- Use "main-xaw.c" instead of "main-x11.c"
##
--#CFLAGS = -Wall -O1 -pipe -g -D"USE_XAW" -D"USE_GCU"
+ #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/angband/\" -D"USE_XAW" -D"USE_GCU"
+LIBS = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lcurses -ltermcap