From e1a24b66ad9facd1de0e1138bcda41d7f745a398 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Wed, 29 Aug 2001 05:16:22 +0000 Subject: Update manpage to refer to diskcheckd.conf in new location Make Makefile patch manpage to comply with prefix --- sysutils/diskcheckd/Makefile | 3 ++- sysutils/diskcheckd/files/diskcheckd.8 | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile index 59d2434986b8..493957dc5e29 100644 --- a/sysutils/diskcheckd/Makefile +++ b/sysutils/diskcheckd/Makefile @@ -8,7 +8,7 @@ PORTNAME= diskcheckd PORTVERSION= 20010823 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= # part of port DISTFILES= # part of port @@ -41,6 +41,7 @@ do-extract: do-patch: @${PERL} -pi.fbsd -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile + @${PERL} -pi.fbsd -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${PREFIX}/sbin diff --git a/sysutils/diskcheckd/files/diskcheckd.8 b/sysutils/diskcheckd/files/diskcheckd.8 index 83d78785d3ad..6462aef84032 100644 --- a/sysutils/diskcheckd/files/diskcheckd.8 +++ b/sysutils/diskcheckd/files/diskcheckd.8 @@ -43,7 +43,7 @@ The disks which should be scanned, and the rates at which they should be scanned, must be specified in the configuration file, which is -.Pa /etc/diskcheckd.conf +.Pa /usr/local/etc/diskcheckd.conf by default. .Pp Any blank lines or lines starting with a @@ -137,7 +137,7 @@ This flag is primarily used for debugging. .It Fl f Specify the configuration file to use, instead of the default -.Pa /etc/diskcheckd.conf . +.Pa /usr/local/etc/diskcheckd.conf . .It Fl o Specify the file to save disk offsets to, instead of the default @@ -145,7 +145,7 @@ instead of the default .El .Sh FILES .Bl -tag -width /var/db/diskcheckd.offsets -compact -.It Pa /etc/diskcheckd.conf +.It Pa /usr/local/etc/diskcheckd.conf Default configuration file. .It Pa /var/db/diskcheckd.offsets Default location of saved offsets. -- cgit v1.2.3