diff options
author | jlam <jlam@pkgsrc.org> | 2006-03-31 22:43:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-03-31 22:43:03 +0000 |
commit | 83131945884bbd2e3fa5c3f0a03b6b7da44c4e95 (patch) | |
tree | f9ee81152bc6c5458f23f4e19a6e2c1984565599 /net | |
parent | ac3d4d96f39f3bff67bd53f1fc216600725f781e (diff) | |
download | pkgsrc-83131945884bbd2e3fa5c3f0a03b6b7da44c4e95.tar.gz |
List info files directly in the PLIST, and honor PKGMANDIR.
Diffstat (limited to 'net')
-rw-r--r-- | net/freewais-sf/Makefile | 20 | ||||
-rw-r--r-- | net/freewais-sf/PLIST | 3 |
2 files changed, 13 insertions, 10 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" diff --git a/net/freewais-sf/PLIST b/net/freewais-sf/PLIST index 148526efedb..7a0451eea90 100644 --- a/net/freewais-sf/PLIST +++ b/net/freewais-sf/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2004/09/22 08:09:47 jlam Exp $ +@comment $NetBSD: PLIST,v 1.6 2006/03/31 22:43:03 jlam Exp $ bin/catalog bin/check-sources bin/dictionary @@ -17,6 +17,7 @@ bin/waissearch bin/waisserver bin/ws include/wais.h +info/fwsf.info lib/libwais.la man/man1/catalog.1 man/man1/dictionary.1 |