2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2020/01/26 17:30:58 rillig Exp $
|
Initial import of libargparse-0.1.0000 into the NetBSD Packages Collection.
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.
2002-10-28 14:09:08 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libargparse-0.1.0000
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
Initial import of libargparse-0.1.0000 into the NetBSD Packages Collection.
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.
2002-10-28 14:09:08 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aqsis/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.aqsis.org/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Argument parsing library in C++
|
Initial import of libargparse-0.1.0000 into the NetBSD Packages Collection.
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.
2002-10-28 14:09:08 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2004-02-02 14:02:49 +01:00
|
|
|
USE_LANGUAGES= c c++
|
Initial import of libargparse-0.1.0000 into the NetBSD Packages Collection.
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.
2002-10-28 14:09:08 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|