summaryrefslogtreecommitdiffstats
path: root/games/xataxx/files/patch-Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xataxx/files/patch-Imakefile')
-rw-r--r--games/xataxx/files/patch-Imakefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/xataxx/files/patch-Imakefile b/games/xataxx/files/patch-Imakefile
new file mode 100644
index 0000000..41f9e90
--- /dev/null
+++ b/games/xataxx/files/patch-Imakefile
@@ -0,0 +1,27 @@
+--- ./Imakefile.orig 1991-10-29 02:23:52.000000000 -0200
++++ ./Imakefile 2013-11-16 00:46:31.000000000 -0200
+@@ -4,11 +4,13 @@
+ # in the system default BINDIR
+ # BINDIR =
+
++MANSUFFIX = 6
++
+ # !%^#*
+ DEPLIBS =
+
+ /* DATADIR is where the boards and bitmaps will be installed */
+-DATADIR = /afs/andrew.cmu.edu/usr0/games/lib/xataxx
++DATADIR = $(LOCALBASE)/share/xataxx
+
+ LOCAL_LIBRARIES = $(XLIB)
+ SRCS = bits.c board.c colbits.c demo.c display.c main.c nubot.c parse.c zot.c
+@@ -19,6 +21,8 @@
+ install:: install.lib
+
+ install.lib:
++ @if [ -d $(DESTDIR)$(DATADIR) ]; then set +x; \
++ else (set -x; $(MKDIRHIER) $(DESTDIR)$(DATADIR)); fi
+ for i in lib//**/*; do \
+- (set -x; install -c $$i $(DATADIR)); \
++ (set -x; install -c $$i $(DESTDIR)$(DATADIR)); \
+ done
OpenPOWER on IntegriCloud