diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-02-25 04:17:35 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-02-25 04:17:35 +0000 |
commit | d32e698de6a63cf0273391b498d5c8e2bc3ea265 (patch) | |
tree | f7733ee24f18b76cbeda1e577b4cec2485f4cf3e /sysutils | |
parent | b1fe99775bd942bbd05e584ba34834516831b04a (diff) | |
download | pkgsrc-d32e698de6a63cf0273391b498d5c8e2bc3ea265.tar.gz |
Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/amanda-server/Makefile | 6 | ||||
-rw-r--r-- | sysutils/lsof/Makefile | 4 | ||||
-rw-r--r-- | sysutils/ups-nut/Makefile | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/amanda-server/Makefile b/sysutils/amanda-server/Makefile index f28c870af33..b436b588d9d 100644 --- a/sysutils/amanda-server/Makefile +++ b/sysutils/amanda-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/02/17 17:42:10 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2001/02/25 04:18:15 hubertf Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -26,8 +26,8 @@ CONFIGURE_ARGS+= --without-client BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR # post-install: -# ${MKDIR} ${PREFIX}/share/doc/amanda -# ${MKDIR} ${PREFIX}/share/examples/amanda +# ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amanda +# ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/amanda # for i in ${WRKDIR}/${DISTNAME}/docs/* ; do \ # ${INSTALL_DATA} $$i ${PREFIX}/share/doc/amanda; \ # done diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 9d5d33f31b1..d815f9fddf0 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2001/02/17 17:42:15 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2001/02/25 04:18:15 hubertf Exp $ # FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp # @@ -51,7 +51,7 @@ do-install: ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m 2755 ${REAL_GROUP} \ ${WRKSRC}/lsof ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/lsof.man ${PREFIX}/man/man1/lsof.1 - @${MKDIR} ${PREFIX}/share/lsof + @${INSTALL_DATA_DIR} ${PREFIX}/share/lsof ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof @${CHMOD} 0444 ${PREFIX}/share/lsof/00* 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} |