pkgsrc-WIP-changes archive

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

Add luabind, a C++ wrapper for Lua



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sun Oct 21 13:56:51 2018 -0700
Changeset:	1953331a792d44cabd245bcdc60f78e622f3b4b7

Modified Files:
	Makefile
Added Files:
	luabind/DESCR
	luabind/Makefile
	luabind/PLIST
	luabind/buildlink3.mk
	luabind/distinfo

Log Message:
Add luabind, a C++ wrapper for Lua

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

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

diffstat:
 Makefile              |  1 +
 luabind/DESCR         |  5 +++
 luabind/Makefile      | 20 ++++++++++++
 luabind/PLIST         | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++
 luabind/buildlink3.mk | 14 +++++++++
 luabind/distinfo      |  1 +
 6 files changed, 125 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2b8ecbca7e..04b4f8228b 100644
--- a/Makefile
+++ b/Makefile
@@ -2004,6 +2004,7 @@ SUBDIR+=	lua-ldoc
 SUBDIR+=	lua-luafilesystem
 SUBDIR+=	lua-mpack
 SUBDIR+=	lua-penlight
+SUBDIR+=	luabind
 SUBDIR+=	luakit
 SUBDIR+=	luakit-git
 SUBDIR+=	lucene
diff --git a/luabind/DESCR b/luabind/DESCR
new file mode 100644
index 0000000000..dc96053c57
--- /dev/null
+++ b/luabind/DESCR
@@ -0,0 +1,5 @@
+Luabind is a library that helps you create bindings between C++ and Lua. It
+has the ability to expose functions and classes, written in C++, to Lua. It
+will also supply the functionality to define classes in Lua and let them
+derive from other Lua classes or C++ classes. Lua classes can override
+virtual functions from their C++ baseclasses.
diff --git a/luabind/Makefile b/luabind/Makefile
new file mode 100644
index 0000000000..3a099060d7
--- /dev/null
+++ b/luabind/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+PKGNAME=	luabind-0.9.2
+CATEGORIES=	devel
+HG_REPO=	https://hg.kervala.net/luabind
+HG_TAG=		d579cb61c2d2
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+HOMEPAGE=	${HG_REPO}
+COMMENT=	Lua bindings for C++
+LICENSE=	mit
+
+USE_LANGUAGES+=	c c++
+USE_CMAKE=	yes
+CMAKE_ARGS+=	-DWITH_LUA53:BOOL=ON
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../lang/lua53/buildlink3.mk"
+.include "../../wip/mk/hg-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/luabind/PLIST b/luabind/PLIST
new file mode 100644
index 0000000000..0ed8857635
--- /dev/null
+++ b/luabind/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD$
+include/luabind/adopt_policy.hpp
+include/luabind/back_reference.hpp
+include/luabind/back_reference_fwd.hpp
+include/luabind/class.hpp
+include/luabind/class_info.hpp
+include/luabind/config.hpp
+include/luabind/container_policy.hpp
+include/luabind/copy_policy.hpp
+include/luabind/dependency_policy.hpp
+include/luabind/detail/call.hpp
+include/luabind/detail/call_0x.hpp
+include/luabind/detail/call_function.hpp
+include/luabind/detail/call_member.hpp
+include/luabind/detail/call_operator_iterate.hpp
+include/luabind/detail/class_registry.hpp
+include/luabind/detail/class_rep.hpp
+include/luabind/detail/constructor.hpp
+include/luabind/detail/conversion_storage.hpp
+include/luabind/detail/convert_to_lua.hpp
+include/luabind/detail/debug.hpp
+include/luabind/detail/decorate_type.hpp
+include/luabind/detail/deduce_signature.hpp
+include/luabind/detail/enum_maker.hpp
+include/luabind/detail/format_signature.hpp
+include/luabind/detail/garbage_collector.hpp
+include/luabind/detail/has_get_pointer.hpp
+include/luabind/detail/index_tuple.hpp
+include/luabind/detail/inheritance.hpp
+include/luabind/detail/instance_holder.hpp
+include/luabind/detail/link_compatibility.hpp
+include/luabind/detail/make_instance.hpp
+include/luabind/detail/most_derived.hpp
+include/luabind/detail/object_call.hpp
+include/luabind/detail/object_rep.hpp
+include/luabind/detail/open.hpp
+include/luabind/detail/operator_id.hpp
+include/luabind/detail/other.hpp
+include/luabind/detail/pcall.hpp
+include/luabind/detail/pointee_sizeof.hpp
+include/luabind/detail/pointee_typeid.hpp
+include/luabind/detail/policy.hpp
+include/luabind/detail/primitives.hpp
+include/luabind/detail/property.hpp
+include/luabind/detail/ref.hpp
+include/luabind/detail/signature_match.hpp
+include/luabind/detail/stack_utils.hpp
+include/luabind/detail/typetraits.hpp
+include/luabind/detail/yes_no.hpp
+include/luabind/discard_result_policy.hpp
+include/luabind/error.hpp
+include/luabind/exception_handler.hpp
+include/luabind/from_stack.hpp
+include/luabind/function.hpp
+include/luabind/get_main_thread.hpp
+include/luabind/get_pointer.hpp
+include/luabind/handle.hpp
+include/luabind/iterator_policy.hpp
+include/luabind/lua_include.hpp
+include/luabind/luabind.hpp
+include/luabind/make_function.hpp
+include/luabind/nil.hpp
+include/luabind/no_dependency.hpp
+include/luabind/object.hpp
+include/luabind/open.hpp
+include/luabind/operator.hpp
+include/luabind/out_value_policy.hpp
+include/luabind/prefix.hpp
+include/luabind/raw_policy.hpp
+include/luabind/return_reference_to_policy.hpp
+include/luabind/scope.hpp
+include/luabind/shared_ptr_converter.hpp
+include/luabind/tag_function.hpp
+include/luabind/typeid.hpp
+include/luabind/value_wrapper.hpp
+include/luabind/vector.hpp
+include/luabind/version.hpp
+include/luabind/weak_ref.hpp
+include/luabind/wrapper_base.hpp
+include/luabind/yield_policy.hpp
+lib/libluabind_lua53.so
+lib/libluabind_lua53.so.0
+lib/libluabind_lua53.so.0.9.2
+lib/pkgconfig/luabind.pc
diff --git a/luabind/buildlink3.mk b/luabind/buildlink3.mk
new file mode 100644
index 0000000000..f81fcde622
--- /dev/null
+++ b/luabind/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	luabind
+
+.if !defined(LUABIND_BUILDLINK3_MK)
+LUABIND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.luabind+=	luabind>=0.9.2
+BUILDLINK_ABI_DEPENDS.luabind+=	luabind>=0.9.2
+BUILDLINK_PKGSRCDIR.luabind?=	../../wip/luabind
+
+.endif # LUABIND_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-luabind
diff --git a/luabind/distinfo b/luabind/distinfo
new file mode 100644
index 0000000000..c641c554c2
--- /dev/null
+++ b/luabind/distinfo
@@ -0,0 +1 @@
+$NetBSD$


Home | Main Index | Thread Index | Old Index