# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Alternative C/C++ preprocessor
C/C++ preprocessor defines and expands macros and processes '#if', \
'#include' and some other directives. \
MCPP is an alternative C/C++ preprocessor with the highest conformance.\
It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98. \
MCPP is especially useful for debugging a source program which uses \
complicated macros and also useful for checking portability of a \
Though mcpp could be built as a replacement of GCC's resident \
preprocessor, this port installs a program which behaves independent \
homepage http://mcpp.sourceforge.net/
checksums md5 512de48c87ab023a69250edc7a0c7b05 \
sha1 703356b7c2cd30d7fb6000625bf3ccc2eb977ecb
patchfiles patch-src__internal.h \
configure.args-append --enable-mcpplib --mandir=${prefix}/share/man
# +universal: Install universal binary of mcpp.
# Do not append these options to configure, but append to make.
variant universal { build.args-append CFLAGS+='${configure.universal_cflags}' }
if {![variant_isset universal]} {
build.args-append CFLAGS+='${configure.cc_archflags}'