2005-05-19 19:11:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2005/05/19 17:11:45 drochner Exp $
|
1999-11-17 15:48:18 +01:00
|
|
|
|
2005-05-02 19:01:34 +02:00
|
|
|
DISTNAME= cint5.15
|
2005-05-19 19:11:45 +02:00
|
|
|
PKGNAME= cint-5.15.174
|
1999-11-17 15:48:18 +01:00
|
|
|
CATEGORIES= lang
|
2005-05-02 19:01:34 +02:00
|
|
|
MASTER_SITES= ftp://root.cern.ch/root/
|
|
|
|
#MASTER_SITES= ${MASTER_SITE_BACKUP}
|
1999-11-17 15:48:18 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= drochner@NetBSD.org
|
1999-11-17 15:48:18 +01:00
|
|
|
HOMEPAGE= http://root.cern.ch/root/Cint.html
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= C/C++ interpreter
|
1999-11-17 15:48:18 +01:00
|
|
|
|
2000-06-19 21:59:32 +02:00
|
|
|
#same distribution file name for minor versions
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-02-05 20:45:33 +01:00
|
|
|
|
2005-05-19 19:11:45 +02:00
|
|
|
post-extract:
|
|
|
|
${FIND} -d ${WRKSRC} -type d -name CVS -exec ${RM} -rf {} \;
|
|
|
|
${FIND} ${WRKSRC} -type f -name .cvsignore -exec ${RM} -f {} \;
|
|
|
|
|
1999-11-17 15:48:18 +01:00
|
|
|
do-build:
|
2000-02-05 20:45:33 +01:00
|
|
|
@cd ${WRKDIR}; \
|
1999-11-18 12:00:41 +01:00
|
|
|
case ${OPSYS} in \
|
|
|
|
NetBSD) \
|
|
|
|
${SH} ./setup platform/netbsd ;; \
|
|
|
|
SunOS) \
|
|
|
|
${SH} ./setup platform/solaris_gcc ;; \
|
|
|
|
esac
|
1999-11-17 15:48:18 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/cint
|
2000-02-05 20:45:33 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/cint ${PREFIX}/cint
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/makecint ${PREFIX}/cint
|
|
|
|
${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh >${PREFIX}/bin/cint
|
|
|
|
${CHMOD} +x ${PREFIX}/bin/cint
|
|
|
|
${LN} ${PREFIX}/bin/cint ${PREFIX}/bin/makecint
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/MAKEINFO ${PREFIX}/cint
|
|
|
|
${CP} -r ${WRKDIR}/include ${WRKDIR}/stl ${PREFIX}/cint
|
|
|
|
${RM} ${PREFIX}/cint/include/Makeit ${PREFIX}/cint/include/make*
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/cint/lib
|
2000-02-05 20:45:33 +01:00
|
|
|
${CP} -r ${WRKDIR}/lib/prec_stl ${PREFIX}/cint/lib
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/G__ci.h ${PREFIX}/cint
|
1999-11-17 15:48:18 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|