./devel/libargparse, Argument parsing library in C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 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: 5574468f84618677f6a7f46547c49fede109cb7c
RMD160: 64d0a53a0f7d65c7f6864704761dc92a7ac31451
Filesize: 110.522 KB

Version history: (Expand)


CVS history: (Expand)


   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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)
Log message:
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)
Log message:
Fix missing prototypes errors with newer GCC
   2009-03-20 20:25:55 by Joerg Sonnenberger | Files touched by this commit (1252)
Log message:
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)
Log message:
Mark as destdir ready.
   2006-07-09 01:11:17 by Johnny C. Lam | Files touched by this commit (877)
Log message:
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:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
   2006-07-09 00:39:49 by Johnny C. Lam | Files touched by this commit (877)
Log message:
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)
Log message:
Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.