summaryrefslogtreecommitdiffstats
path: root/games/xataxx
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-14 19:45:45 +0000
committerade <ade@FreeBSD.org>2000-10-14 19:45:45 +0000
commit4133057c48e90b0cede0246cbda2197575688dbd (patch)
tree0777eb8fde6b3ca6a25620c2500a0535d53d9c37 /games/xataxx
parent2f36e4f8d64f6e55f00b64117a5e901814788cb1 (diff)
downloadFreeBSD-ports-4133057c48e90b0cede0246cbda2197575688dbd.zip
FreeBSD-ports-4133057c48e90b0cede0246cbda2197575688dbd.tar.gz
Fix Imakefile breakage under XFree86 4.x
PR: 21969 Submitted by: Ports Fury
Diffstat (limited to 'games/xataxx')
-rw-r--r--games/xataxx/Makefile7
-rw-r--r--games/xataxx/files/patch-aa21
2 files changed, 19 insertions, 9 deletions
diff --git a/games/xataxx/Makefile b/games/xataxx/Makefile
index 6368cf8..e1900b3 100644
--- a/games/xataxx/Makefile
+++ b/games/xataxx/Makefile
@@ -17,13 +17,8 @@ MAINTAINER= ports@FreeBSD.org
USE_IMAKE= yes
MAN6= xataxx.6
-MANCOMPRESSED= no
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xataxx ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/xataxx.man ${PREFIX}/man/man6/xataxx.6
- @${MKDIR} ${PREFIX}/share/xataxx
- ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/xataxx
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xataxx
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xataxx
diff --git a/games/xataxx/files/patch-aa b/games/xataxx/files/patch-aa
index a8534c9..a889bc3 100644
--- a/games/xataxx/files/patch-aa
+++ b/games/xataxx/files/patch-aa
@@ -1,6 +1,12 @@
---- Imakefile Tue Oct 29 04:23:52 1991
-+++ /home/andy/tmp/wrk/Imakefile Sat Jul 4 21:29:46 1998
-@@ -8,7 +8,7 @@
+--- 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 */
@@ -9,3 +15,12 @@
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
OpenPOWER on IntegriCloud