/libargparse, Argument parsing library in C++
0.1.0000nb1, Package name:
libargparse-0.1.0000nb1, Maintainer: pkgsrc-users
libargparse is a command line argument parser library in C++
The ArgParse class allows you to specify names of options that you
want parsed, along with a usage message for them. Options come in
four flavors: flag, int, float, and string. Flags don't take
arguments, but the other kinds do. For an option that takes an
argument, it can be specified with an equals sign, with a colon, or by
putting it in the next element of argv. ("--foo=stuff",
"--foo:stuff", or "--foo stuff", respectively)
The flavors that take arguments also come in array flavors. With an
array, you specify a pointer to a vector of the basic type, instead of
just a pointer to a basic type. This allows the option to appear more
than once, and the new values are appended to the array. Optionally,
you can also specify a separator character, so that multiple array
elements can be parsed up from a single instance of the option.
Options can start with either a single dash or a double dash, but see
allowOneCharOptionsToBeCombined() for more information.
Master sites: SHA1:
Version history: (Expand)
- (2005-10-05) Package added to pkgsrc.se, version libargparse-0.1.0000nb1 (created)
CVS history: (Expand)
| 2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
| 2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460) |
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
| 2011-11-22 19:04:58 by Joerg Sonnenberger | Files touched by this commit (2) |
Fix missing prototypes errors with newer GCC
| 2009-03-20 20:25:55 by Joerg Sonnenberger | Files touched by this commit (1252) |
Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
| 2008-07-14 14:56:20 by Joerg Sonnenberger | Files touched by this commit (563) |
Mark as destdir ready.
| 2006-07-09 01:11:17 by Johnny C. Lam | Files touched by this commit (877) |
Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
| 2006-07-09 00:39:49 by Johnny C. Lam | Files touched by this commit (877) |
Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
| 2006-04-12 12:27:47 by Roland Illig | Files touched by this commit (749) |
Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.