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 /misc | |
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 'misc')
-rw-r--r-- | misc/astrolog/Makefile | 6 | ||||
-rw-r--r-- | misc/dotfile/Makefile | 4 | ||||
-rw-r--r-- | misc/fd/Makefile | 4 | ||||
-rw-r--r-- | misc/git/Makefile | 4 | ||||
-rw-r--r-- | misc/jitterbug/Makefile | 16 | ||||
-rw-r--r-- | misc/root/Makefile | 14 | ||||
-rw-r--r-- | misc/rpm/Makefile | 4 | ||||
-rw-r--r-- | misc/sci/Makefile | 4 | ||||
-rw-r--r-- | misc/screen/Makefile | 4 | ||||
-rw-r--r-- | misc/zorro/Makefile | 4 |
10 files changed, 32 insertions, 32 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile index 477a61ba0a2..18c6f2c788a 100644 --- a/misc/astrolog/Makefile +++ b/misc/astrolog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/02/17 18:08:51 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2001/02/25 04:18:01 hubertf Exp $ # FreeBSD Id: Makefile,v 1.12 1997/08/10 22:31:15 fenner Exp # @@ -24,7 +24,7 @@ ALL_TARGET= astrolog NO_WRKSUBDIR= yes do-install: - -@${MKDIR} ${PREFIX}/lib/astrolog + -@${INSTALL_DATA_DIR} ${PREFIX}/lib/astrolog cd ${DISTDIR}/${DIST_SUBDIR} && \ ${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog cd ${WRKSRC} && \ @@ -34,7 +34,7 @@ do-install: ${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \ fi cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin - -@${MKDIR} ${PREFIX}/share/doc/astrolog + -@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/astrolog cd ${WRKSRC} && \ ${INSTALL_DATA} Helpfile.530 ${PREFIX}/share/doc/astrolog cd ${WRKSRC} && \ diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile index ff99270f85d..d8d5365e863 100644 --- a/misc/dotfile/Makefile +++ b/misc/dotfile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/02/17 18:08:58 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2001/02/25 04:18:01 hubertf Exp $ # FreeBSD Id: Makefile,v 1.5 1997/04/20 13:19:30 wosch Exp # @@ -21,7 +21,7 @@ GNU_CONFIGURE= yes NO_BUILD= post-install: - ${MKDIR} ${PREFIX}/share/doc/${PKGNAME} + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME} cd ${WRKSRC}/Doc && ${GTAR} cf - . | ( cd ${PREFIX}/share/doc/${PKGNAME} && ${GTAR} xf - ) ${CHOWN} -R root:${ROOT_GROUP} ${PREFIX}/share/doc/${PKGNAME} diff --git a/misc/fd/Makefile b/misc/fd/Makefile index 9bbd517e5c8..a5024c4b3a1 100644 --- a/misc/fd/Makefile +++ b/misc/fd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/02/17 18:09:01 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2001/02/25 04:18:01 hubertf Exp $ # FreeBSD: ports/misc/fd/Makefile,v 1.14 1999/08/25 07:21:37 obrien Exp # @@ -21,7 +21,7 @@ do-configure: ${SED} 's/\(distributor = \)NULL/\1"${MAINTAINER}"/' $$v.orig > $$v post-install: - @${MKDIR} ${PREFIX}/share/doc/fd + @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fd @for i in ${DOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/fd; \ done diff --git a/misc/git/Makefile b/misc/git/Makefile index 4af88b45faf..6d015aa5104 100644 --- a/misc/git/Makefile +++ b/misc/git/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/02/17 18:09:03 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2001/02/25 04:18:02 hubertf Exp $ # FreeBSD Id: Makefile,v 1.8 1996/11/21 11:54:39 asami Exp # @@ -20,7 +20,7 @@ pre-install: (cd ${WRKSRC}/term ; ${PATCH} --quiet -p0 <${FILESDIR}/gitrc.cons25.patch ) post-install: - ${MKDIR} ${PREFIX}/share/doc + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc ${MV} ${PREFIX}/lib/git/html ${PREFIX}/share/doc/git .include "../../mk/bsd.pkg.mk" diff --git a/misc/jitterbug/Makefile b/misc/jitterbug/Makefile index 8d8b1a7e442..350f91fb5a1 100644 --- a/misc/jitterbug/Makefile +++ b/misc/jitterbug/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/02/17 18:09:08 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2001/02/25 04:18:02 hubertf Exp $ DISTNAME= jitterbug-1.6.2 WRKSRC= ${WRKDIR}/${PKGNAME}/source @@ -170,8 +170,8 @@ pre-install: ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL do-install: - ${MKDIR} ${PREFIX}/${JB_CONFIGDIR} - -${MKDIR} ${PREFIX}/${JB_DATADIR} + ${INSTALL_DATA_DIR} ${PREFIX}/${JB_CONFIGDIR} + -${INSTALL_DATA_DIR} ${PREFIX}/${JB_DATADIR} ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ ${CONFIGDIR}/footer.html ${PREFIX}/${JB_CONFIGDIR} [ -f ${PREFIX}/${JB_DATADIR}/footer.html ] || \ @@ -202,23 +202,23 @@ do-install: [ -f ${PREFIX}/${JB_DATADIR}/users ] || \ ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ ${CONFIGDIR}/users ${PREFIX}/${JB_DATADIR} - -${MKDIR} ${PREFIX}/${CGIBINDIR} + -${INSTALL_PROGRAM_DIR} ${PREFIX}/${CGIBINDIR} ${INSTALL} -c -o root -g nobody -m 4710 \ ${WRKSRC}/jitterbug ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE} ${LN} -f ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE} ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE}.private ${CHOWN} root ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE}.private ${CHGRP} nobody ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE}.private ${CHMOD} 4710 ${PREFIX}/${CGIBINDIR}/${JB_PACKAGE}.private - ${MKDIR} ${PREFIX}/${JB_USER}/bin + ${INSTALL_PROGRAM_DIR} ${PREFIX}/${JB_USER}/bin ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 755 \ ${WRKSRC}/new_message ${PREFIX}/${JB_USER}/bin ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ ${WRKSRC}/jitterbug ${PREFIX}/${JB_USER}/bin - ${MKDIR} ${PREFIX}/${JB_USER}/etc + ${INSTALL_DATA_DIR} ${PREFIX}/${JB_USER}/etc [ -f ${PREFIX}/${JB_USER}/etc ] || \ ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 755 \ ${WRKDIR}/jitterbug.auth ${PREFIX}/${JB_USER}/etc - ${MKDIR} ${PREFIX}/${JB_USER}/doc + ${INSTALL_DATA_DIR} ${PREFIX}/${JB_USER}/doc ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ ${MESSAGE} ${PREFIX}/${JB_USER}/doc/POSTINSTALL ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ @@ -239,7 +239,7 @@ do-install: >${PREFIX}/${JB_CONFIGDIR}/jitterbug.config ${CHOWN} -R ${JB_USER} ${PREFIX}/${JB_USER} ${CHGRP} -R ${JB_GROUP} ${PREFIX}/${JB_USER} - -${MKDIR} ${PREFIX}/etc/jitterbug + -${INSTALL_DATA_DIR} ${PREFIX}/etc/jitterbug [ -f ${PREFIX}/etc/jitterbug/${JB_PACKAGE} ] || \ ${INSTALL} -c -o ${JB_USER} -g ${JB_GROUP} -m 644 \ ${PREFIX}/${JB_CONFIGDIR}/jitterbug.config \ diff --git a/misc/root/Makefile b/misc/root/Makefile index bfdcb65318c..06756e42eaf 100644 --- a/misc/root/Makefile +++ b/misc/root/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/02/17 18:09:21 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2001/02/25 04:18:02 hubertf Exp $ DISTNAME= root_v2.23.08.source PKGNAME= root-2.23 @@ -20,14 +20,14 @@ MAKE_ENV= LD_LIBRARY_PATH=${WRKDIR}/lib ROOTSYS=${WRKDIR} do-configure: ${CP} ${FILESDIR}/Makefile.netbsd ${WRKDIR}/src - ${MKDIR} ${WRKDIR}/bin - ${MKDIR} ${WRKDIR}/lib - ${CP} ${PREFIX}/cint/MAKEINFO ${WRKDIR}/cint - ${CP} ${PREFIX}/cint/include/iosenum.h ${WRKDIR}/cint/include + ${INSTALL_PROGRAM_DIR} ${WRKDIR}/bin + ${INSTALL_DATA_DIR} ${WRKDIR}/lib + ${INSTALL_DATA} ${PREFIX}/cint/MAKEINFO ${WRKDIR}/cint + ${INSTALL_DATA} ${PREFIX}/cint/include/iosenum.h ${WRKDIR}/cint/include do-install: - ${MKDIR} ${PREFIX}/root - ${MKDIR} ${PREFIX}/root/include + ${INSTALL_DATA_DIR} ${PREFIX}/root + ${INSTALL_DATA_DIR} ${PREFIX}/root/include (cd ${WRKDIR}/src; ${CP} *.h MAIN_rmain.cxx ${PREFIX}/root/include) (cd ${WRKDIR}; tar cf - lib bin cint)|(cd ${PREFIX}/root;tar xf -) ${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/root.sh >${PREFIX}/bin/root diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index d9bf92a9be2..db5f2682d32 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2001/02/17 18:09:22 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2001/02/25 04:18:02 hubertf Exp $ # DISTNAME= rpm-2.5.4 @@ -17,7 +17,7 @@ USE_GMAKE= yes USE_LIBINTL= yes pre-install: - ${MKDIR} ${PREFIX}/include/rpm + ${INSTALL_DATA_DIR} ${PREFIX}/include/rpm post-install: ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL diff --git a/misc/sci/Makefile b/misc/sci/Makefile index 1ad56d3549e..65fd564d0bd 100644 --- a/misc/sci/Makefile +++ b/misc/sci/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/02/17 18:09:23 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2001/02/25 04:18:02 hubertf Exp $ # DISTNAME= sci-0.5.6 @@ -12,7 +12,7 @@ COMMENT= Curses based data entry via templates GNU_CONFIGURE= # Yupp post-install: - ${MKDIR} ${PREFIX}/share/doc/sci ${PREFIX}/share/examples/sci + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sci ${PREFIX}/share/examples/sci for i in COPYING README INSTALL NEWS ; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/sci ; \ done diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 2561693590f..011f5229bbe 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2001/02/17 18:09:23 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2001/02/25 04:18:03 hubertf Exp $ # FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp # @@ -16,7 +16,7 @@ INFO_FILES= screen.info PLIST_SUBST= DISTNAME=${DISTNAME} post-install: - @${MKDIR} ${PREFIX}/share/examples/screen + @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/share/examples/screen/screenrc .include "../../mk/bsd.pkg.mk" diff --git a/misc/zorro/Makefile b/misc/zorro/Makefile index a718862e4cf..00460694e96 100644 --- a/misc/zorro/Makefile +++ b/misc/zorro/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/02/17 18:09:31 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2001/02/25 04:18:03 hubertf Exp $ # FreeBSD Id: Makefile,v 1.9 1997/11/22 19:55:25 jseger Exp # @@ -21,7 +21,7 @@ post-patch: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/zorro ${PREFIX}/bin/zorro - ${MKDIR} ${PREFIX}/share/zorro + ${INSTALL_DATA_DIR} ${PREFIX}/share/zorro ${INSTALL_DATA} ${WRKSRC}/DOTzorrorc ${PREFIX}/share/zorro @${ECHO} "" @${ECHO} "Take a look at ${PREFIX}/share/zorro/DOTzorrorc" |