blob: 4c98ba3571b3004742f0cf518c2c8526d47a22f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.7 2001/03/27 03:20:08 hubertf Exp $
DISTNAME= root_v2.23.08.source
PKGNAME= root-2.23
NO_WRKSUBDIR= yes
CATEGORIES= misc
MASTER_SITES= ftp://root.cern.ch/root/
MAINTAINER= drochner@netbsd.org
HOMEPAGE= http://root.cern.ch/
COMMENT= OO framework for data analysis and visualisation
BUILD_DEPENDS+= cint-5.14.40:../../lang/cint
USE_GMAKE= YES
USE_XPM= YES
ALL_TARGET= netbsd
MAKE_ENV= LD_LIBRARY_PATH=${WRKDIR}/lib ROOTSYS=${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
do-install:
${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
${CHMOD} +x ${PREFIX}/bin/root
.include "../../mk/bsd.pkg.mk"
|