BSD Ports

devel/mcpp 2.7.2.1 FreeBSD

Alternative C/C++ preprocessor

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
devel
Package size
285.6 KiB, 1245.6 KiB installed

Description

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 use complicated macros and also useful for checking portability of a source.

Though mcpp could be built as a replacement of GCC's resident preprocessor or as a stand-alone program without using library build of mcpp, this package installs a program named 'mcpp' which links shared library of libmcpp and behaves independent from GCC.

In the other systems

SystemPortVersion
FreeBSDdevel/mcpp2.7.2.1
NetBSDdevel/mcpp2.7.2
DragonFlydevel/mcpp2.7.2.1

Install

Binary package:

pkg install mcpp

From the ports tree:

cd /usr/ports/devel/mcpp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mcpp>0:devel/mcpp
LIB_DEPENDS=	libmcpp.so:devel/mcpp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.7.2.12.7.2.12.7.2_32.7.2.12.7.2.1
FreeBSD:14:quarterly2.7.2.12.7.2.1n/a2.7.2.12.7.2.1
FreeBSD:15:latest2.7.2.12.7.2.1n/a2.7.2.12.7.2.1
FreeBSD:15:quarterly2.7.2.12.7.2.1n/an/an/a
FreeBSD:16:latest2.7.2.12.7.2.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Configuration

Options name: devel_mcpp

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cpe libtool
Service scripts
none

Files

Manual pages 1
  • mcpp(1)
pkg-plist 12
  • bin/mcpp
  • include/mcpp_lib.h
  • include/mcpp_out.h
  • lib/libmcpp.a
  • lib/libmcpp.so
  • lib/libmcpp.so.0
  • lib/libmcpp.so.0.3.0
  • share/man/man1/mcpp.1.gz
  • share/doc/mcpp/NEWS
  • share/doc/mcpp/README
  • share/doc/mcpp/mcpp-manual-jp.html
  • share/doc/mcpp/mcpp-manual.html
distinfo 1
FileSizeSHA256
museoa-mcpp-2.7.2.1_GH0.tar.gz1.523105e+06ec6c2ead79b2334fccf56b8811256c4fccbbe2350e6a2e52dc83a1c7ad995af4

Commit history 0

No commits in the history this site was built from.