aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskcheckd/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /sysutils/diskcheckd/Makefile
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
Diffstat (limited to 'sysutils/diskcheckd/Makefile')
-rw-r--r--sysutils/diskcheckd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile
index 40799c3531b6..767db2b02a67 100644
--- a/sysutils/diskcheckd/Makefile
+++ b/sysutils/diskcheckd/Makefile
@@ -20,6 +20,7 @@ STARTUP= diskcheckd.sh
MAN8= diskcheckd.8
MLINKS= diskcheckd.8 diskcheckd.conf.5
+USE_REINPLACE= yes
NO_WRKSUBDIR= yes
CFLAGS+= -D_PATH_CONF='\"${PREFIX}/etc/diskcheckd.conf\"'
@@ -38,8 +39,8 @@ do-extract:
.endfor
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
+ @${REINPLACE_CMD} -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${PREFIX}/sbin