BSD Ports

devel/tclap 1.2.2p0 OpenBSD

templatized C++ command line parser

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

Description

TCLAP is a small, flexible library that provides a simple interface for defining and accessing command line arguments. It was initially inspired by the user friendly CLAP libary. The difference is that this library is templatized, so the argument class is type independent. Type independence avoids identical-except-for-type objects, such as IntArg, FloatArg, and StringArg. While the library is not strictly compliant with the GNU or POSIX standards, it is close.

TCLAP is written in ANSI C++ and is meant to be compatible with any standards-compliant C++ compiler. It is known to work on Linux, MacOS X, Windows, and Solaris platforms. The library is implemented entirely in header files making it easy to use and distribute with other software. It is licensed under the MIT License for worry free distribution.

In the other systems

SystemPortVersion
OpenBSDdevel/tclap1.2.2p0
FreeBSDdevel/tclap1.4.0.r1
NetBSDdevel/tclap1.2.3
DragonFlydevel/tclap1.4.0.r1
MidnightBSDdevel/tclap1.4.0.r1_1
HardenedBSDdevel/tclap1.4.0.r1
GhostBSDdevel/tclap1.4.0.r1

Install

Binary package:

pkg_add tclap

From the ports tree:

cd /usr/ports/devel/tclap && make install

Dependencies

No port depends on this one.