devel/tradcpp 0.5.3 OpenBSD
traditional (K&R-style) C preprocessor
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel
Description
tradcpp is a K&R-style ("traditional") C preprocessor. It was written to support historical uses of the C preprocessor for preprocessing things that aren't C, as the preprocessors that ship with C compilers are increasingly unsuitable for this task and/or don't provide a traditional mode at all.
In particular, tradcpp preserves whitespace as much as possible, so it can be used in contexts where whitespace is significant and/or rearranging whitespace causes things to break, such as makefiles. Preprocessing makefiles with cpp is a fairly common property of sufficiently old legacy build systems, including old versions of Emacs and anything that uses imake.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/tradcpp | 0.5.3 |
| FreeBSD | devel/tradcpp | 0.5.3 |
| NetBSD | devel/tradcpp | 0.5.3 |
| DragonFly | devel/tradcpp | 0.5.3 |
| MidnightBSD | devel/tradcpp | 0.5.3 |
Install
Binary package:
pkg_add tradcpp
From the ports tree:
cd /usr/ports/devel/tradcpp && make install