2003-07-17 23:41:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2003/07/17 21:44:06 grant Exp $
|
1999-11-17 15:48:18 +01:00
|
|
|
|
|
|
|
DISTNAME= cint5.14
|
2000-06-19 21:59:32 +02:00
|
|
|
PKGNAME= cint-5.14.40
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
1999-11-17 15:48:18 +01:00
|
|
|
CATEGORIES= lang
|
2001-05-09 17:14:16 +02:00
|
|
|
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}
|
2000-02-05 20:45:33 +01:00
|
|
|
|
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"
|