diff options
author | hubertf <hubertf> | 2001-02-25 04:17:35 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-02-25 04:17:35 +0000 |
commit | 4998ed1120ceba68dfd376a31c35cc7e7560d644 (patch) | |
tree | f7733ee24f18b76cbeda1e577b4cec2485f4cf3e /sysutils/ups-nut | |
parent | 404fa988da3e4b378114094a680f0dd6928e6d43 (diff) | |
download | pkgsrc-4998ed1120ceba68dfd376a31c35cc7e7560d644.tar.gz |
Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
Diffstat (limited to 'sysutils/ups-nut')
-rw-r--r-- | sysutils/ups-nut/Makefile | 6 |
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} |