2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2004/10/03 00:15:02 tv Exp $
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= opencxx2512
|
|
|
|
PKGNAME= openc++-2.5.12
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 3
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencxx/}
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
HOMEPAGE= http://www.csg.is.titech.ac.jp/~chiba/openc++.html
|
|
|
|
COMMENT= OpenC++ is a version of C++ with a Metaobject Protocol
|
|
|
|
|
2004-01-24 14:51:13 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
MAKEFILE= Makefile.SunOSandBSD
|
|
|
|
MAKE_FLAGS+= CXXFLAGS=-I${PREFIX}/include
|
|
|
|
MAKE_FLAGS+= GCLIBDIR=${BUILDLINK_DIR}
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/openc++2.5.12/src/Unix
|
2004-05-09 04:26:14 +02:00
|
|
|
USE_BUILDLINK3= YES
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
|
|
|
|
OPENCXX_SHAREDIR= ${PREFIX}/share/openc++
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
${MV} ${WRKSRC}/../../sample/Makefile ${WRKSRC}/../../sample/Makefile.temp
|
|
|
|
${SED} -e "s|__LOCALBASE__|${LOCALBASE}|g" ${WRKSRC}/../../sample/Makefile.temp >${WRKSRC}/../../sample/Makefile
|
|
|
|
${RM} -f ${WRKSRC}/../../sample/Makefile.orig ${WRKSRC}/../../sample/Makefile.temp
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/opencxx.a ${PREFIX}/lib/opencxx.a
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/occ ${PREFIX}/bin/occ
|
|
|
|
${INSTALL_DATA_DIR} ${OPENCXX_SHAREDIR}/examples
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../../sample/* ${OPENCXX_SHAREDIR}/examples/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/openc++
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../*.h ${PREFIX}/include/openc++
|
|
|
|
${INSTALL_DATA_DIR} ${OPENCXX_SHAREDIR}/doc/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../../html/* ${OPENCXX_SHAREDIR}/doc/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../../reference.pdf ${OPENCXX_SHAREDIR}/doc
|
|
|
|
|
2004-05-09 04:26:14 +02:00
|
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
Initial import of OpenC++ 2.5.12 into the NetBSD packages collection as
lang/openc++.
OpenC++ is a version of C++ with a Metaobject Protocol. In other
words, it is a tool of source-code translation for C++. Programmers
can easily implement various kinds of translation so that they can
define new syntax, new annotation, and new object behavior. OpenC++ is
useful if they need, for example: developing extensions to C++, to
provide support for things like parallelism, distribution,
concurrency, and persistence; Adding domain-, application-, or
class-specific compiler optimizations; Building their own version of
(runtime) MOP for C++.
Supplied by Marko Schuetz in PR#19203. Thanks!
Thanks also to Masao Uebayashi for his help.
2002-12-11 20:03:17 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|