freebsd-ports/games/xataxx/files/patch-aa
Ade Lovett cc71f9a6ee Fix Imakefile breakage under XFree86 4.x
PR:		21969
Submitted by:	Ports Fury
2000-10-14 19:45:45 +00:00

26 lines
686 B
Text

--- Imakefile.orig Tue Oct 29 13:23:52 1991
+++ Imakefile Fri Oct 13 21:42:28 2000
@@ -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 = $(X11BASE)/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)); \
done