a16fc84f19
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2001/09/09 20:36:37 agc Exp $
|
|
|
|
DISTNAME= root_v2.23.08.source
|
|
PKGNAME= root-2.23
|
|
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}
|
|
|
|
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
|
|
|
|
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"
|