summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
committerjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
commit5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /sysutils
parent26ffd9ecf001eea6ac61f806c06dfb733a4c6634 (diff)
downloadpkgsrc-5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ups-nut/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index 6b092b46284..c6329512f8f 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2002/08/25 21:51:04 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2002/09/19 09:04:27 jlam Exp $
#
DISTNAME= nut-0.50.0
@@ -63,16 +63,8 @@ pre-configure:
pre-install:
@${INSTALL_DATA_DIR} ${NUT_EGDIR}
- @for script in ${RCD_SCRIPTS}; do \
- ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \
- > ${WRKDIR}/$${script}; \
- done
post-install:
- for script in ${RCD_SCRIPTS}; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
- ${PREFIX}/etc/rc.d/$${script}; \
- done
${INSTALL_DATA_DIR} ${NUT_DOCDIR}
${INSTALL_DATA_DIR} ${NUT_DOCDIR}/cables ${NUT_DOCDIR}/drivers
${INSTALL_DATA} ${WRKSRC}/README ${NUT_DOCDIR}