summaryrefslogtreecommitdiff
path: root/misc/root
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-25 04:17:35 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-25 04:17:35 +0000
commitd32e698de6a63cf0273391b498d5c8e2bc3ea265 (patch)
treef7733ee24f18b76cbeda1e577b4cec2485f4cf3e /misc/root
parentb1fe99775bd942bbd05e584ba34834516831b04a (diff)
downloadpkgsrc-d32e698de6a63cf0273391b498d5c8e2bc3ea265.tar.gz
Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
Diffstat (limited to 'misc/root')
-rw-r--r--misc/root/Makefile14
1 files changed, 7 insertions, 7 deletions
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