summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-21 13:02:40 +0000
committerwiz <wiz@pkgsrc.org>2002-10-21 13:02:40 +0000
commit0e5e13c9fe946e832c806fae9f894d0f4971e2d4 (patch)
tree5c14531871c8e5122f6b4bf2d1f7098fde232813 /misc
parent1badb783dd4c2c936904d42625ed60f5a54e427d (diff)
downloadpkgsrc-0e5e13c9fe946e832c806fae9f894d0f4971e2d4.tar.gz
Convert to buildlink2. Fix do-configure step (not good using INSTALL_* here,
since we should not have to be root at this point).
Diffstat (limited to 'misc')
-rw-r--r--misc/root/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/misc/root/Makefile b/misc/root/Makefile
index 822c1d83e73..c718628a679 100644
--- a/misc/root/Makefile
+++ b/misc/root/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/06/08 12:40:19 cjep Exp $
+# $NetBSD: Makefile,v 1.10 2002/10/21 13:02:40 wiz Exp $
DISTNAME= root_v2.23.08.source
PKGNAME= root-2.23
@@ -11,8 +11,8 @@ COMMENT= OO framework for data analysis and visualisation
BUILD_DEPENDS+= cint-5.14.40:../../lang/cint
+USE_BUILDLINK2= YES
USE_GMAKE= YES
-USE_XPM= YES
ALL_TARGET= netbsd
MAKE_ENV= LD_LIBRARY_PATH=${WRKDIR}/lib ROOTSYS=${WRKDIR}
@@ -25,10 +25,10 @@ WRKSRC= ${WRKDIR}
do-configure:
${CP} ${FILESDIR}/Makefile.netbsd ${WRKDIR}/src
- ${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
+ ${MKDIR} ${WRKDIR}/bin
+ ${MKDIR} ${WRKDIR}/lib
+ ${CP} ${PREFIX}/cint/MAKEINFO ${WRKDIR}/cint
+ ${CP} ${PREFIX}/cint/include/iosenum.h ${WRKDIR}/cint/include
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/root
@@ -38,4 +38,5 @@ do-install:
${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/root.sh >${PREFIX}/bin/root
${CHMOD} +x ${PREFIX}/bin/root
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"