Fix manpage installation with XFree86-4.

PR:		23424
Submitted by:	FUJISHIMA Satsuki <k5@cheerful.com>
This commit is contained in:
Thomas Gellekum
2000-12-13 12:03:22 +00:00
parent b36ae732b4
commit efd701973a
2 changed files with 27 additions and 8 deletions

View File

@@ -17,13 +17,9 @@ LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
WRKSRC= ${WRKDIR}/awele
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
MAN6= xawele.6
post-patch:
@/usr/bin/perl -pi -e "s|\@\@LOCALBASE\@\@|${LOCALBASE}|g;" ${WRKSRC}/Imakefile
post-install:
${INSTALL_DATA} ${WRKSRC}/xawele.man ${PREFIX}/man/man6/xawele.6
${PERL} -pi -e "s|\@\@LOCALBASE\@\@|${LOCALBASE}|g;" ${WRKSRC}/Imakefile
.include <bsd.port.mk>

View File

@@ -1,6 +1,6 @@
--- Imakefile.orig Fri Dec 8 16:35:38 1995
+++ Imakefile Fri May 1 09:44:16 1998
@@ -2,14 +2,14 @@
--- Imakefile.orig Sat Dec 9 00:35:38 1995
+++ Imakefile Wed Nov 1 06:58:15 2000
@@ -2,31 +2,31 @@
XCOMM install directory
@@ -18,3 +18,26 @@
DEFINES = $(TK_INCLUDE)
LOCAL_LIBRARIES = $(TK_LIB) -lX11 -lm
XCOMM ANSI-C compiler
- CC = gcc
+XCOMM CC = gcc
XCOMM Please don't change anything below this point
DEPLIBS = $(DEPXLIB)
- SRCS1 = tkAppInit.c awelewish.c alphabeta.c move.c util.c
- OBJS1 = tkAppInit.o awelewish.o alphabeta.o move.o util.o
+ SRCS = tkAppInit.c awelewish.c alphabeta.c move.c util.c
+ OBJS = tkAppInit.o awelewish.o alphabeta.o move.o util.o
PROGRAMS = awelewish
+ MANSUFFIX = 6
-all:: $(PROGRAMS)
-
-ComplexProgramTarget_1($(PROGRAMS), $(LOCAL_LIBRARIES), )
+ComplexProgramTargetNoMan($(PROGRAMS))
+InstallManPage(xawele,$(MANDIR))
install:: $(PROGRAMS) $(AWELE_SCRIPT)
@echo "AWELE directory is " $(AWELE_DIR)