From 342c76ce34e84f3efc6cb274459583fd5f53a09d Mon Sep 17 00:00:00 2001 From: fjoe Date: Sat, 11 Jan 2003 12:14:54 +0000 Subject: correctly specify path to fidoconfig configuration file in man pages --- news/husky-hpt/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'news/husky-hpt/Makefile') diff --git a/news/husky-hpt/Makefile b/news/husky-hpt/Makefile index 430008b4881a..0149998c7fca 100644 --- a/news/husky-hpt/Makefile +++ b/news/husky-hpt/Makefile @@ -15,9 +15,19 @@ MAINTAINER= fjoe@FreeBSD.org LIB_DEPENDS= fidoconfig.0:${PORTSDIR}/news/husky-fidoconf +USE_REINPLACE= yes + MAN1= hpt.1 hptlink.1 hpttree.1 txt2pkt.1 MANCOMPRESSED= yes +post-patch: + @${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \ + ${WRKSRC}/man/hptlink.1 + @${REINPLACE_CMD} -e 's^/some/path/config^${PREFIX}/etc/fido/config^' \ + ${WRKSRC}/man/hpttree.1 + @${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \ + ${WRKSRC}/man/txt2pkt.1 + post-build: @cd ${WRKSRC}/doc && ${GMAKE} -- cgit