pkgsrc-WIP-changes archive

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

Add optional-lite version 3.5.0 to pkgsrc-wip A single-file header-only version of a C++17-like optional, a nullable object for C++98, C++11 and later.



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%pkgsrc.org@localhost>
Pushed By:	nros
Date:		Thu Nov 9 22:39:06 2023 +0100
Changeset:	5d2c03ff5a913f771c0a56694591e58e56cfce49

Modified Files:
	Makefile
Added Files:
	optional-lite/DESCR
	optional-lite/Makefile
	optional-lite/PLIST
	optional-lite/buildlink3.mk
	optional-lite/distinfo

Log Message:
Add optional-lite version 3.5.0 to pkgsrc-wip
A single-file header-only version of a C++17-like optional,
a nullable object for C++98, C++11 and later.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5d2c03ff5a913f771c0a56694591e58e56cfce49

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

diffstat:
 Makefile                    |  1 +
 optional-lite/DESCR         |  2 ++
 optional-lite/Makefile      | 16 ++++++++++++++++
 optional-lite/PLIST         |  5 +++++
 optional-lite/buildlink3.mk | 13 +++++++++++++
 optional-lite/distinfo      |  5 +++++
 6 files changed, 42 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 687fd798ff..003333b88e 100644
--- a/Makefile
+++ b/Makefile
@@ -2562,6 +2562,7 @@ SUBDIR+=	openxcom
 SUBDIR+=	openzwave
 SUBDIR+=	opera60-bin
 SUBDIR+=	ophcrack
+SUBDIR+=	optional-lite
 SUBDIR+=	oqtplayer
 SUBDIR+=	or1ksim
 SUBDIR+=	oranchelo-icon-theme
diff --git a/optional-lite/DESCR b/optional-lite/DESCR
new file mode 100644
index 0000000000..c6ebb64c65
--- /dev/null
+++ b/optional-lite/DESCR
@@ -0,0 +1,2 @@
+A single-file header-only version of a C++17-like optional,
+a nullable object for C++98, C++11 and later.
diff --git a/optional-lite/Makefile b/optional-lite/Makefile
new file mode 100644
index 0000000000..c219333e95
--- /dev/null
+++ b/optional-lite/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	optional-lite-3.5.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=martinmoene/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/martinmoene/optional-lite/
+COMMENT=	C++17-like optional for earlier c++ versions
+LICENSE=	boost-license
+
+USE_LANGUAGES=	c++
+
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/optional-lite/PLIST b/optional-lite/PLIST
new file mode 100644
index 0000000000..1f78222d3f
--- /dev/null
+++ b/optional-lite/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+include/nonstd/optional.hpp
+lib/cmake/optional-lite/optional-lite-config-version.cmake
+lib/cmake/optional-lite/optional-lite-config.cmake
+lib/cmake/optional-lite/optional-lite-targets.cmake
diff --git a/optional-lite/buildlink3.mk b/optional-lite/buildlink3.mk
new file mode 100644
index 0000000000..4897a161b1
--- /dev/null
+++ b/optional-lite/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	optional-lite
+
+.if !defined(OPTIONAL_LITE_BUILDLINK3_MK)
+OPTIONAL_LITE_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.optional-lite?=	build
+BUILDLINK_API_DEPENDS.optional-lite+=	optional-lite>=3.5.0
+BUILDLINK_PKGSRCDIR.optional-lite?=	../../wip/optional-lite
+.endif	# OPTIONAL_LITE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-optional-lite
diff --git a/optional-lite/distinfo b/optional-lite/distinfo
new file mode 100644
index 0000000000..156c8625d7
--- /dev/null
+++ b/optional-lite/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (optional-lite-3.5.0.tar.gz) = 08a00aad3ece56c154c0b80d78755aab598fad2ec238c6db4f8e299eaada2d46
+SHA512 (optional-lite-3.5.0.tar.gz) = e578d391bc95e2a5302b4b02e0b17659026b2743fc5c1e16cd83f6227fa9b5990fa3fa23e808a4ea0f5bdafbf80834b0c462d563ab615907f113ee5a09ae88f5
+Size (optional-lite-3.5.0.tar.gz) = 50846 bytes


Home | Main Index | Thread Index | Old Index