From 5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 19 Sep 2002 09:04:02 +0000 Subject: Take advantage of the auto-generation and installation of rc.d scripts. --- sysutils/ups-nut/Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sysutils') 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} -- cgit v1.2.3