diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-10-20 15:06:58 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-10-20 15:06:58 +0000 |
commit | d58d25d1787be76634882e475566ae9e16a82f41 (patch) | |
tree | 9d6f7b788009fa43f3629bf8b13661d97f9c283d | |
parent | a1cbb2155d5982a46cb147b074cf3dd8112b34cc (diff) | |
download | pkgsrc-d58d25d1787be76634882e475566ae9e16a82f41.tar.gz |
Import mcpp-2.7.2 as devel/mcpp.
mcpp is a C/C++ preprocessor with the following features.
* Implements all of C90, C99 and C++98 specifications.
* Provides a validation suite to test C/C++ preprocessor's conformance
and quality comprehensively. When this validation suite is applied,
mcpp distinguishes itself among many existing preprocessors.
* Has plentiful and on-target diagnostics to check all the
preprocessing problems such as latent bug or lack of portability
in source code. * Has #pragma directives to output debugging
information.
* Is portable and has been ported to many compiler-systems, including
GCC and Visual C++, on UNIX-like systems and Windows.
* Has various behavior modes.
* Can be built either as a compiler-specific preprocessor to replace
the resident preprocessor of a particular compiler system, or as
a compiler-independent command, or even as a subroutine called from
some other main program.
* Provides comprehensive documents both in Japanese and in English.
* Is an open source software released under BSD-style-license.
-rw-r--r-- | devel/mcpp/DESCR | 19 | ||||
-rw-r--r-- | devel/mcpp/Makefile | 18 | ||||
-rw-r--r-- | devel/mcpp/PLIST | 11 | ||||
-rw-r--r-- | devel/mcpp/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/mcpp/distinfo | 5 |
5 files changed, 65 insertions, 0 deletions
diff --git a/devel/mcpp/DESCR b/devel/mcpp/DESCR new file mode 100644 index 00000000000..510ebd4b950 --- /dev/null +++ b/devel/mcpp/DESCR @@ -0,0 +1,19 @@ +mcpp is a C/C++ preprocessor with the following features. + +* Implements all of C90, C99 and C++98 specifications. +* Provides a validation suite to test C/C++ preprocessor's conformance +and quality comprehensively. When this validation suite is applied, +mcpp distinguishes itself among many existing preprocessors. +* Has plentiful and on-target diagnostics to check all the +preprocessing problems such as latent bug or lack of portability +in source code. * Has #pragma directives to output debugging +information. +* Is portable and has been ported to many compiler-systems, including +GCC and Visual C++, on UNIX-like systems and Windows. +* Has various behavior modes. +* Can be built either as a compiler-specific preprocessor to replace +the resident preprocessor of a particular compiler system, or as +a compiler-independent command, or even as a subroutine called from +some other main program. +* Provides comprehensive documents both in Japanese and in English. +* Is an open source software released under BSD-style-license. diff --git a/devel/mcpp/Makefile b/devel/mcpp/Makefile new file mode 100644 index 00000000000..7ca4e4c4765 --- /dev/null +++ b/devel/mcpp/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2013/10/20 15:06:58 ryoon Exp $ + +DISTNAME= mcpp-2.7.2 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcpp/} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/mcpp/files/mcpp/V.2.7.2/ +COMMENT= Portable C/C++ preprocessor +LICENSE= 2-clause-bsd + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= --enable-mcpplib + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/mcpp/PLIST b/devel/mcpp/PLIST new file mode 100644 index 00000000000..dbe30000140 --- /dev/null +++ b/devel/mcpp/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2013/10/20 15:06:58 ryoon Exp $ +bin/mcpp +include/mcpp_lib.h +include/mcpp_out.h +lib/libmcpp.la +man/man1/mcpp.1 +share/doc/mcpp/LICENSE +share/doc/mcpp/NEWS +share/doc/mcpp/README +share/doc/mcpp/mcpp-manual-jp.html +share/doc/mcpp/mcpp-manual.html diff --git a/devel/mcpp/buildlink3.mk b/devel/mcpp/buildlink3.mk new file mode 100644 index 00000000000..5a7aaebdff1 --- /dev/null +++ b/devel/mcpp/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/10/20 15:06:58 ryoon Exp $ + +BUILDLINK_TREE+= mcpp + +.if !defined(MCPP_BUILDLINK3_MK) +MCPP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.mcpp+= mcpp>=2.7.2 +BUILDLINK_PKGSRCDIR.mcpp?= ../../devel/mcpp +.endif # MCPP_BUILDLINK3_MK + +BUILDLINK_TREE+= -mcpp diff --git a/devel/mcpp/distinfo b/devel/mcpp/distinfo new file mode 100644 index 00000000000..f9fa4c0859c --- /dev/null +++ b/devel/mcpp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/10/20 15:06:58 ryoon Exp $ + +SHA1 (mcpp-2.7.2.tar.gz) = 703356b7c2cd30d7fb6000625bf3ccc2eb977ecb +RMD160 (mcpp-2.7.2.tar.gz) = 05bc2c8d8e032e75b8a9b1d22f11c007d5829d1f +Size (mcpp-2.7.2.tar.gz) = 1533457 bytes |