BSD Ports

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

SystemPortVersion
OpenBSDdevel/gflags2.2.2p0
FreeBSDdevel/gflags2.3.1
NetBSDdevel/gflags2.3.1
DragonFlydevel/gflags2.2.2_2
MidnightBSDdevel/gflags2.2.2_1

Install

Binary package:

pkg_add gflags

From the ports tree:

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

Dependencies

Build dependencies 2