BSD Ports

devel/tclap 1.2.3 NetBSD

Templatized C++ Command Line Parser Library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
40.0 KiB, 213.9 KiB installed

Description

TCLAP is a small, flexible library that provides a simple interface for defining and accessing command line arguments. It was intially 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.

TCLAP is now a mature, stable, and feature rich package. Unless I get really bored, it probably won't see much further development aside from bug fixes and compatibility updates. Please don't let any apparent project inactivity discourage you from using the software!

In the other systems

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

Install

Binary package:

pkgin install tclap

From pkgsrc:

cd /usr/pkgsrc/devel/tclap && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_641.2.3
NetBSD 10.1 aarch641.2.3
SmartOS / illumos x86_641.2.3
macOS 15 arm641.2.3

Dependencies