aboutsummaryrefslogtreecommitdiff
path: root/news/husky-hpt
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-01-11 12:14:54 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-01-11 12:14:54 +0000
commitc2f735f15b3d157650e68df3f56d2676f3928021 (patch)
treec36a68c0751f15b948ff379a62d2b2aaf5c9d570 /news/husky-hpt
parentc0f1f9895859e3350f2093a1c1b0fe3f65c3f10a (diff)
downloadports-c2f735f15b3d157650e68df3f56d2676f3928021.tar.gz
ports-c2f735f15b3d157650e68df3f56d2676f3928021.zip
correctly specify path to fidoconfig configuration file in man pages
Notes
Notes: svn path=/head/; revision=72897
Diffstat (limited to 'news/husky-hpt')
-rw-r--r--news/husky-hpt/Makefile10
1 files changed, 10 insertions, 0 deletions
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}