907ce9897f
3.1.1 Fix version number in header. 3.1.0 - Support for multiple long names for the same option (= multiple long aliases) - Add a program() function to retrieve the program name. - Added a .clang-format file. - Added iterator and printing for a ParseResult. - Cleanup exception code, add cxxopts::exceptions namespace. - Fix arguments() having no key for options that only have a short name.
20 lines
482 B
Makefile
20 lines
482 B
Makefile
# $NetBSD: Makefile,v 1.2 2023/09/06 17:57:00 bsiegert Exp $
|
|
#
|
|
|
|
DISTNAME= cxxopts-3.1.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jarro2783/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/jarro2783/cxxopts
|
|
COMMENT= Lightweight C++ option parser library
|
|
LICENSE= mit
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
CMAKE_ARGS+= -DCXXOPTS_BUILD_EXAMPLES=OFF
|
|
CMAKE_ARGS+= -DCXXOPTS_BUILD_TESTS=OFF
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|