summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ups-nut/Makefile')
-rw-r--r--sysutils/ups-nut/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile
index a9c4fb76ee6..224c780a2ef 100644
--- a/sysutils/ups-nut/Makefile
+++ b/sysutils/ups-nut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 17:42:21 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/02/25 04:18:15 hubertf Exp $
#
DISTNAME= nut-0.44.2
@@ -67,8 +67,8 @@ post-install:
>${LOCALBASE}/etc/rc.d/upsd
@${CHMOD} 0755 ${LOCALBASE}/etc/rc.d/upsd
@${INSTALL} -d -o ${NUT_USER} -g ${NUT_GROUP} -m 0770 /var/db/nut
- @if ! [ -d ${NUT_DOCDIR} ]; then ${MKDIR} ${NUT_DOCDIR}; fi
- @if ! [ -d ${NUT_DOCDIR}/cables ]; then ${MKDIR} ${NUT_DOCDIR}/cables; fi
+ ${INSTALL_DATA_DIR} ${NUT_DOCDIR}
+ ${INSTALL_DATA_DIR} ${NUT_DOCDIR}/cables
${INSTALL_DATA} ${WRKSRC}/docs/cables/*.txt ${NUT_DOCDIR}/cables
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${NUT_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${NUT_DOCDIR}