git: 3d7543db900a - main - devel/libasyncplusplus: Lightweight concurrency framework for C++

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 19 Dec 2023 16:14:47 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7543db900a7eff60e0b79bcd596209197ccaeb

commit 3d7543db900a7eff60e0b79bcd596209197ccaeb
Author:     Peter <peter@flytrace.com>
AuthorDate: 2023-12-17 19:37:50 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-12-19 16:10:37 +0000

    devel/libasyncplusplus: Lightweight concurrency framework for C++
---
 devel/Makefile                   |  1 +
 devel/libasyncplusplus/Makefile  | 21 +++++++++++++++++++++
 devel/libasyncplusplus/distinfo  |  3 +++
 devel/libasyncplusplus/pkg-descr |  3 +++
 devel/libasyncplusplus/pkg-plist | 20 ++++++++++++++++++++
 5 files changed, 48 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 41aab2b274b6..0c6f1a0aea7e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1161,6 +1161,7 @@
     SUBDIR += libast
     SUBDIR += libastylej
     SUBDIR += libastylej-arduino
+    SUBDIR += libasyncplusplus
     SUBDIR += libatomic_ops
     SUBDIR += libaura
     SUBDIR += libavl
diff --git a/devel/libasyncplusplus/Makefile b/devel/libasyncplusplus/Makefile
new file mode 100644
index 000000000000..8fc90dff317c
--- /dev/null
+++ b/devel/libasyncplusplus/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	libasyncplusplus
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.1
+CATEGORIES=	devel
+
+MAINTAINER=	peter@flytrace.com
+COMMENT=	Lightweight concurrency framework for C++
+WWW=		https://github.com/Amanieu/asyncplusplus
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=	cmake compiler:c++11-lang
+
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Amanieu
+GH_PROJECT=	asyncplusplus
+
+.include <bsd.port.mk>
diff --git a/devel/libasyncplusplus/distinfo b/devel/libasyncplusplus/distinfo
new file mode 100644
index 000000000000..bbbc013ecb91
--- /dev/null
+++ b/devel/libasyncplusplus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702137089
+SHA256 (Amanieu-asyncplusplus-v1.1_GH0.tar.gz) = d160d3a433a1e08f51c785742843182c2b81a7bc872766f57bf5f3108377b858
+SIZE (Amanieu-asyncplusplus-v1.1_GH0.tar.gz) = 34095
diff --git a/devel/libasyncplusplus/pkg-descr b/devel/libasyncplusplus/pkg-descr
new file mode 100644
index 000000000000..ed9ba5d6fca9
--- /dev/null
+++ b/devel/libasyncplusplus/pkg-descr
@@ -0,0 +1,3 @@
+Async++ is a lightweight concurrency framework for C++11.
+The concept was inspired by the Microsoft PPL library
+and the N3428 C++ standard proposal.
diff --git a/devel/libasyncplusplus/pkg-plist b/devel/libasyncplusplus/pkg-plist
new file mode 100644
index 000000000000..19177d80ad1e
--- /dev/null
+++ b/devel/libasyncplusplus/pkg-plist
@@ -0,0 +1,20 @@
+cmake/Async++-%%CMAKE_BUILD_TYPE%%.cmake
+cmake/Async++.cmake
+cmake/Async++Config.cmake
+include/async++.h
+include/async++/aligned_alloc.h
+include/async++/cancel.h
+include/async++/continuation_vector.h
+include/async++/parallel_for.h
+include/async++/parallel_invoke.h
+include/async++/parallel_reduce.h
+include/async++/partitioner.h
+include/async++/range.h
+include/async++/ref_count.h
+include/async++/scheduler.h
+include/async++/scheduler_fwd.h
+include/async++/task.h
+include/async++/task_base.h
+include/async++/traits.h
+include/async++/when_all_any.h
+lib/libasync++.so