devel/gflags 2.2.2p0 OpenBSD
c++ commandline flags processing library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel
Description
The gflags package contains a library that implements commandline flags processing. As such it's a replacement for getopt(). It has increased flexibility, including built-in support for C++ types like string, and the ability to define flags in the source file in which they're used.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/gflags | 2.2.2p0 |
| FreeBSD | devel/gflags | 2.3.1 |
| NetBSD | devel/gflags | 2.3.1 |
| DragonFly | devel/gflags | 2.2.2_2 |
| MidnightBSD | devel/gflags | 2.2.2_1 |
Install
Binary package:
pkg_add gflags
From the ports tree:
cd /usr/ports/devel/gflags && make install