summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-19 09:04:02 +0000
committerjlam <jlam>2002-09-19 09:04:02 +0000
commit1bd30abdbbb690fe95daba3498fba27281ff9953 (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /sysutils/ups-nut
parent042d5014efea62d9f06a7b10728c1dbc40a98dfa (diff)
downloadpkgsrc-1bd30abdbbb690fe95daba3498fba27281ff9953.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'sysutils/ups-nut')
-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}