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.
This commit is contained in:
ryoon 2013-10-20 15:06:58 +00:00
parent a1cbb2155d
commit d58d25d178
5 changed files with 65 additions and 0 deletions

19
devel/mcpp/DESCR Normal file
View file

@ -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.

18
devel/mcpp/Makefile Normal file
View file

@ -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"

11
devel/mcpp/PLIST Normal file
View file

@ -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

12
devel/mcpp/buildlink3.mk Normal file
View file

@ -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

5
devel/mcpp/distinfo Normal file
View file

@ -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