From c2f735f15b3d157650e68df3f56d2676f3928021 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Sat, 11 Jan 2003 12:14:54 +0000 Subject: correctly specify path to fidoconfig configuration file in man pages --- news/husky-fidoconf/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'news/husky-fidoconf/Makefile') diff --git a/news/husky-fidoconf/Makefile b/news/husky-fidoconf/Makefile index 0fd155dd9dea..634baa39d2c5 100644 --- a/news/husky-fidoconf/Makefile +++ b/news/husky-fidoconf/Makefile @@ -18,6 +18,7 @@ LIB_DEPENDS= smapi.2:${PORTSDIR}/news/husky-smapi INSTALLS_SHLIB= yes NO_FILTER_SHLIBS= yes INSTALL_TARGET= install install-man +USE_REINPLACE= yes MAN1= dumpfcfg.1 fconf2.1 linkedto.1 tparser.1 MLINKS= fconf2.1 fconf2aquaed.1 \ @@ -27,6 +28,13 @@ MLINKS= fconf2.1 fconf2aquaed.1 \ fconf2.1 fconf2msged.1 \ fconf2.1 fconf2squish.1 +post-patch: + @${REINPLACE_CMD} -e 's^/fido/etc/config^${PREFIX}/etc/fido/config^' \ + ${WRKSRC}/man/dumpfcfg.1 + @${REINPLACE_CMD} -e 's^/etc/fido/config^${PREFIX}/etc/fido/config^' \ + ${WRKSRC}/man/fconf2.1 \ + ${WRKSRC}/man/tparser.1 + .include .include "${PORTSDIR}/news/husky-base/Makefile.inc" .include -- cgit v1.2.3