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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/mcpp | 2.7.2.1 |
| NetBSD | devel/mcpp | 2.7.2 |
| DragonFly | devel/mcpp | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.7.2.1 | 2.7.2.1 | 2.7.2_3 | 2.7.2.1 | 2.7.2.1 |
| FreeBSD:14:quarterly | 2.7.2.1 | 2.7.2.1 | n/a | 2.7.2.1 | 2.7.2.1 |
| FreeBSD:15:latest | 2.7.2.1 | 2.7.2.1 | n/a | 2.7.2.1 | 2.7.2.1 |
| FreeBSD:15:quarterly | 2.7.2.1 | 2.7.2.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.7.2.1 | 2.7.2.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| museoa-mcpp-2.7.2.1_GH0.tar.gz | 1.523105e+06 | ec6c2ead79b2334fccf56b8811256c4fccbbe2350e6a2e52dc83a1c7ad995af4 |
Commit history 0
No commits in the history this site was built from.