aboutsummaryrefslogtreecommitdiff
path: root/games/xataxx
diff options
context:
space:
mode:
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 6368cf81a5b2..e1900b3aef17 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 a8534c9520d2..a889bc3797a0 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