summaryrefslogtreecommitdiff
path: root/news/husky-fidoconf
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-fidoconf
parentSet RUBY_DEFAULT_VER to 1.8 on alpha, sparc64 and ia64. Ruby 1.6 has (diff)
correctly specify path to fidoconfig configuration file in man pages
Notes
Notes: svn path=/head/; revision=72897
Diffstat (limited to 'news/husky-fidoconf')
-rw-r--r--news/husky-fidoconf/Makefile8
-rw-r--r--news/husky-fidoconf/files/patch-man::linkedto.111
2 files changed, 19 insertions, 0 deletions
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 <bsd.port.pre.mk>
.include "${PORTSDIR}/news/husky-base/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/news/husky-fidoconf/files/patch-man::linkedto.1 b/news/husky-fidoconf/files/patch-man::linkedto.1
new file mode 100644
index 000000000000..6889e664cc9d
--- /dev/null
+++ b/news/husky-fidoconf/files/patch-man::linkedto.1
@@ -0,0 +1,11 @@
+--- man/linkedto.1.orig Sat Jan 11 17:52:57 2003
++++ man/linkedto.1 Sat Jan 11 17:53:14 2003
+@@ -19,8 +19,6 @@
+ .br
+ .nf
+ .\" set tabstop to longest possible filename, plus a wee bit
+-.ta \w'/etc/fido/config 'u
+-\fI/etc/fido/config\fR
+ .ta \w'/usr/local/etc/fido/config 'u
+ \fI/usr/local/etc/fido/config\fR Default Fidoconfig.
+ .SH NOTES