summaryrefslogtreecommitdiff
path: root/net/freewais-sf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/freewais-sf/Makefile')
-rw-r--r--net/freewais-sf/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index 92cdd0a05b3..0ccc220edd5 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/05 16:27:27 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2006/03/31 22:43:03 jlam Exp $
#
DISTNAME= freeWAIS-sf-2.2.12
@@ -19,18 +19,20 @@ USE_TOOLS+= makeinfo perl:run
HAS_CONFIGURE= yes
CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
CONFIGURE_SCRIPT= ./Configure
-CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX:Q} \
- -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS}
+CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX:Q} \
+ -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS} \
+ -Dmansrc=${PREFIX:Q}/${PKGMANDIR:Q}/man1
CONFIGURE_ENV+= PERL5=${PERL5:Q}
-INSTALL_TARGET= install install.man
-
-USE_MAKEINFO= YES
-INFO_FILES= fwsf.info
+INSTALL_TARGET= install install.man
+INFO_FILES= # PLIST
post-build:
- cd ${WRKSRC}/doc/SF; ${MAKEINFO} fwsf.texi
+ cd ${WRKSRC}/doc/SF && makeinfo fwsf.texi
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.info* ${PREFIX}/info
+ cd ${WRKSRC}/doc/SF; for f in fwsf.info fwsf.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"