summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorreed <reed>2004-10-11 22:14:51 +0000
committerreed <reed>2004-10-11 22:14:51 +0000
commitb32f248fbc460246d52c860c79d20d0401c3d850 (patch)
treeae44ee69c13dd407b642338a295661db7eae0a64 /sysutils
parent533b7e5c097c7d627a2660092240295be8fa27e0 (diff)
downloadpkgsrc-b32f248fbc460246d52c860c79d20d0401c3d850.tar.gz
RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory
under ${PREFIX} instead of being an absolute path. So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}. This should have no changes to use before. Please note that the MESSAGE files in most cases are wrong in the first place. We have automated mechanisms and could have an automated message for explaining rc.d script usage. (This is something to do!)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile4
-rw-r--r--sysutils/bkpupsd/MESSAGE4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 9f3febe121d..6c62f3242ae 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/10/03 00:18:14 tv Exp $
+# $NetBSD: Makefile,v 1.30 2004/10/11 22:14:51 reed Exp $
DISTNAME= apcupsd-3.8.6
PKGREVISION= 2
@@ -96,7 +96,7 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/apcupsd.slave.conf \
${PREFIX}/share/examples/apcupsd
${INSTALL_SCRIPT} ${WRKSRC}/distributions/netbsd/apcupsd \
- ${RCD_SCRIPTS_EXAMPLEDIR}
+ ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apcupsd
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/apcupsd
diff --git a/sysutils/bkpupsd/MESSAGE b/sysutils/bkpupsd/MESSAGE
index 45aa0851ed2..779c6c13b00 100644
--- a/sysutils/bkpupsd/MESSAGE
+++ b/sysutils/bkpupsd/MESSAGE
@@ -1,12 +1,12 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $
+$NetBSD: MESSAGE,v 1.5 2004/10/11 22:14:51 reed Exp $
${DOCDIR}/rc.conf.d.sample contains some shell variables
for helping bkpupsd start up.
Simple way to install NetBSD 1.5 or later is below.
-(1) Copy ${RCD_SCRIPTS_EXAMPLEDIR}/bkpupsd to ${RCD_SCRIPTS_DIR}/rc.d/bkpupsd.
+(1) Copy ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/bkpupsd to ${RCD_SCRIPTS_DIR}/rc.d/bkpupsd.
(2) Append ${DOCDIR}/rc.conf.d.sample to /etc/rc.conf.
(3) Edit /etc/rc.conf for your needs, serial device and UPS type for
example.