pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cxxopts



Module Name:    pkgsrc
Committed By:   plunky
Date:           Fri Dec 31 17:23:19 UTC 2021

Added Files:
        pkgsrc/devel/cxxopts: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add cxxopts-3.0.0

This is a lightweight C++ option parser library, supporting the
standard GNU style syntax for options.

Options can be given as:

  --long
  --long=argument
  --long argument
  -a
  -ab
  -abc argument

where c takes an argument, but a and b do not.

Additionally, anything after -- will be parsed as a positional
argument.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cxxopts/DESCR \
    pkgsrc/devel/cxxopts/Makefile pkgsrc/devel/cxxopts/PLIST \
    pkgsrc/devel/cxxopts/buildlink3.mk pkgsrc/devel/cxxopts/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/cxxopts/DESCR
diff -u /dev/null pkgsrc/devel/cxxopts/DESCR:1.1
--- /dev/null   Fri Dec 31 17:23:19 2021
+++ pkgsrc/devel/cxxopts/DESCR  Fri Dec 31 17:23:19 2021
@@ -0,0 +1,16 @@
+This is a lightweight C++ option parser library, supporting the
+standard GNU style syntax for options.
+
+Options can be given as:
+
+  --long
+  --long=argument
+  --long argument
+  -a
+  -ab
+  -abc argument
+
+where c takes an argument, but a and b do not.
+
+Additionally, anything after -- will be parsed as a positional
+argument.
Index: pkgsrc/devel/cxxopts/Makefile
diff -u /dev/null pkgsrc/devel/cxxopts/Makefile:1.1
--- /dev/null   Fri Dec 31 17:23:19 2021
+++ pkgsrc/devel/cxxopts/Makefile       Fri Dec 31 17:23:19 2021
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2021/12/31 17:23:19 plunky Exp $
+#
+
+DISTNAME=      cxxopts-3.0.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jarro2783/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+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"
Index: pkgsrc/devel/cxxopts/PLIST
diff -u /dev/null pkgsrc/devel/cxxopts/PLIST:1.1
--- /dev/null   Fri Dec 31 17:23:19 2021
+++ pkgsrc/devel/cxxopts/PLIST  Fri Dec 31 17:23:19 2021
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/31 17:23:19 plunky Exp $
+include/cxxopts.hpp
+lib/cmake/cxxopts/cxxopts-config-version.cmake
+lib/cmake/cxxopts/cxxopts-config.cmake
+lib/cmake/cxxopts/cxxopts-targets.cmake
+lib/pkgconfig/cxxopts.pc
Index: pkgsrc/devel/cxxopts/buildlink3.mk
diff -u /dev/null pkgsrc/devel/cxxopts/buildlink3.mk:1.1
--- /dev/null   Fri Dec 31 17:23:19 2021
+++ pkgsrc/devel/cxxopts/buildlink3.mk  Fri Dec 31 17:23:19 2021
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/12/31 17:23:19 plunky Exp $
+
+BUILDLINK_TREE+=       cxxopts
+
+.if !defined(CXXOPTS_BUILDLINK3_MK)
+CXXOPTS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cxxopts+=        cxxopts>=3.0.0
+BUILDLINK_PKGSRCDIR.cxxopts?=  ../../devel/cxxopts
+.endif
+
+BUILDLINK_TREE+=       -cxxopts
Index: pkgsrc/devel/cxxopts/distinfo
diff -u /dev/null pkgsrc/devel/cxxopts/distinfo:1.1
--- /dev/null   Fri Dec 31 17:23:19 2021
+++ pkgsrc/devel/cxxopts/distinfo       Fri Dec 31 17:23:19 2021
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/12/31 17:23:19 plunky Exp $
+
+BLAKE2s (cxxopts-3.0.0.tar.gz) = ba40d90e78624b8e781c5cbd0a35dc3cdc0530b87113a6fb009aa1e5687b6d7d
+SHA512 (cxxopts-3.0.0.tar.gz) = 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c
+Size (cxxopts-3.0.0.tar.gz) = 97020 bytes



Home | Main Index | Thread Index | Old Index