git: 94527ba09864 - main - New port: devel/sol2: C++ header-only library binding to Lua

Yuri Victorovich yuri at FreeBSD.org
Sun May 16 16:50:00 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94527ba0986462345d86f604137bba69adbedce8

commit 94527ba0986462345d86f604137bba69adbedce8
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-16 16:48:42 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-16 16:49:57 +0000

    New port: devel/sol2: C++ header-only library binding to Lua
---
 devel/Makefile       |   1 +
 devel/sol2/Makefile  |  21 ++++++++++
 devel/sol2/distinfo  |   3 ++
 devel/sol2/pkg-descr |   6 +++
 devel/sol2/pkg-plist | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 143 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6e711dc75f4b..50e2bc4ed82c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6842,6 +6842,7 @@
     SUBDIR += smv
     SUBDIR += soapui
     SUBDIR += socket_wrapper
+    SUBDIR += sol2
     SUBDIR += sonar-scanner-cli
     SUBDIR += sonarqube-ant-task
     SUBDIR += sonarqube-community
diff --git a/devel/sol2/Makefile b/devel/sol2/Makefile
new file mode 100644
index 000000000000..5a26965b2bbb
--- /dev/null
+++ b/devel/sol2/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	sol2
+DISTVERSIONPREFIX=	v
+DISTVERSION=	4.0.0-alpha
+CATEGORIES=	devel
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	C++ header-only library binding to Lua
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cmake:testing compiler:c++17-lang lua:run
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ThePhD
+
+CMAKE_TESTING_ON=	SOL2_TESTS
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/sol2/distinfo b/devel/sol2/distinfo
new file mode 100644
index 000000000000..12e53928d860
--- /dev/null
+++ b/devel/sol2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621182410
+SHA256 (ThePhD-sol2-v4.0.0-alpha_GH0.tar.gz) = 4b7e190011baad819a4a3d41febb2201e80274ad89bf10a24f27480ae059ad56
+SIZE (ThePhD-sol2-v4.0.0-alpha_GH0.tar.gz) = 8596230
diff --git a/devel/sol2/pkg-descr b/devel/sol2/pkg-descr
new file mode 100644
index 000000000000..4033b65b564f
--- /dev/null
+++ b/devel/sol2/pkg-descr
@@ -0,0 +1,6 @@
+sol2 is a C++ library binding to Lua. It currently supports all Lua versions
+5.1+ (LuaJIT 2.0+ and MoonJIT included). sol2 aims to be easy to use and easy to
+add to a project. The library is header-only for easy integration with projects,
+and a single header can be used for drag-and-drop start up.
+
+WWW: https://github.com/ThePhD/sol2
diff --git a/devel/sol2/pkg-plist b/devel/sol2/pkg-plist
new file mode 100644
index 000000000000..e83c9f9de8d9
--- /dev/null
+++ b/devel/sol2/pkg-plist
@@ -0,0 +1,112 @@
+include/sol/as_args.hpp
+include/sol/as_returns.hpp
+include/sol/assert.hpp
+include/sol/base_traits.hpp
+include/sol/bind_traits.hpp
+include/sol/bytecode.hpp
+include/sol/call.hpp
+include/sol/compatibility.hpp
+include/sol/compatibility/compat-5.3.c.h
+include/sol/compatibility/compat-5.3.h
+include/sol/compatibility/compat-5.4.h
+include/sol/compatibility/lua_version.hpp
+include/sol/config.hpp
+include/sol/coroutine.hpp
+include/sol/debug.hpp
+include/sol/demangle.hpp
+include/sol/deprecate.hpp
+include/sol/dump_handler.hpp
+include/sol/ebco.hpp
+include/sol/environment.hpp
+include/sol/error.hpp
+include/sol/error_handler.hpp
+include/sol/forward.hpp
+include/sol/forward_detail.hpp
+include/sol/function.hpp
+include/sol/function_result.hpp
+include/sol/function_types.hpp
+include/sol/function_types_core.hpp
+include/sol/function_types_overloaded.hpp
+include/sol/function_types_stateful.hpp
+include/sol/function_types_stateless.hpp
+include/sol/function_types_templated.hpp
+include/sol/in_place.hpp
+include/sol/inheritance.hpp
+include/sol/load_result.hpp
+include/sol/lua_table.hpp
+include/sol/lua_value.hpp
+include/sol/make_reference.hpp
+include/sol/metatable.hpp
+include/sol/object.hpp
+include/sol/object_base.hpp
+include/sol/optional.hpp
+include/sol/optional_implementation.hpp
+include/sol/overload.hpp
+include/sol/packaged_coroutine.hpp
+include/sol/pairs_iterator.hpp
+include/sol/pointer_like.hpp
+include/sol/policies.hpp
+include/sol/property.hpp
+include/sol/protect.hpp
+include/sol/protected_function.hpp
+include/sol/protected_function_result.hpp
+include/sol/protected_handler.hpp
+include/sol/proxy_base.hpp
+include/sol/raii.hpp
+include/sol/reference.hpp
+include/sol/resolve.hpp
+include/sol/sol.hpp
+include/sol/stack.hpp
+include/sol/stack_check.hpp
+include/sol/stack_check_get.hpp
+include/sol/stack_check_get_qualified.hpp
+include/sol/stack_check_get_unqualified.hpp
+include/sol/stack_check_qualified.hpp
+include/sol/stack_check_unqualified.hpp
+include/sol/stack_core.hpp
+include/sol/stack_field.hpp
+include/sol/stack_get.hpp
+include/sol/stack_get_qualified.hpp
+include/sol/stack_get_unqualified.hpp
+include/sol/stack_guard.hpp
+include/sol/stack_iterator.hpp
+include/sol/stack_pop.hpp
+include/sol/stack_probe.hpp
+include/sol/stack_proxy.hpp
+include/sol/stack_proxy_base.hpp
+include/sol/stack_push.hpp
+include/sol/stack_reference.hpp
+include/sol/state.hpp
+include/sol/state_handling.hpp
+include/sol/state_view.hpp
+include/sol/string_view.hpp
+include/sol/table.hpp
+include/sol/table_core.hpp
+include/sol/table_iterator.hpp
+include/sol/table_proxy.hpp
+include/sol/thread.hpp
+include/sol/tie.hpp
+include/sol/traits.hpp
+include/sol/trampoline.hpp
+include/sol/tuple.hpp
+include/sol/types.hpp
+include/sol/unicode.hpp
+include/sol/unique_usertype_traits.hpp
+include/sol/unsafe_function.hpp
+include/sol/unsafe_function_result.hpp
+include/sol/userdata.hpp
+include/sol/usertype.hpp
+include/sol/usertype_container.hpp
+include/sol/usertype_container_launch.hpp
+include/sol/usertype_core.hpp
+include/sol/usertype_proxy.hpp
+include/sol/usertype_storage.hpp
+include/sol/usertype_traits.hpp
+include/sol/variadic_args.hpp
+include/sol/variadic_results.hpp
+include/sol/version.hpp
+include/sol/wrapper.hpp
+lib/cmake/sol2/sol2-config-version.cmake
+lib/cmake/sol2/sol2-config.cmake
+lib/cmake/sol2/sol2-targets.cmake
+share/pkgconfig/sol2.pc


More information about the dev-commits-ports-all mailing list