mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
a66818d178
PR: 4566 Submitted by: Matthew Hunt <mph@pobox.com>
23 lines
797 B
Plaintext
23 lines
797 B
Plaintext
--- 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 "CFLAGS=$(CFLAGS)"
|
|
+
|
|
+install: angband
|
|
+ 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
|