FreeBSD Ports

Deprecated: Abandoned upstream, does not build with CMake 4

Expires: 2026-11-30

devel/luabind 0.9.1_18

Library that helps you create bindings between C++ and Lua

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a6fbfe434b
License
MIT
Categories
devel

Description

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. It is written towards Lua 5.x, and does not work with Lua 4.

It is implemented utilizing template meta programming. That means that you don't need an extra preprocess pass to compile your project (it is done by the compiler). It also means you don't (usually) have to know the exact signature of each function you register, since the library will generate code depending on the compile-time type of the function (which includes the signature). The main drawback of this approach is that the compilation time will increase for the file that does the registration, it is therefore recommended that you register everything in the same cpp-file.

Install

As a binary package — by origin, or by package name:

pkg install devel/luabind
pkg install luabind

From the ports tree:

cd /usr/ports/devel/luabind/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	luabind>0:devel/luabind
LIB_DEPENDS=	libluabind.so:devel/luabind

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.9.1_17-
FreeBSD:14:quarterly--n/a0.9.1_17-
FreeBSD:15:latest--n/a0.9.1_170.9.1_17
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 14
All run dependencies 14
Required by 1

Configuration

Options name: devel_luabind

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
compiler:c++11-lang localbase lua:51 python:env
Service scripts
none

Files

pkg-plist 82
  • 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/calc_arity.hpp
  • include/luabind/detail/call.hpp
  • include/luabind/detail/call_function.hpp
  • include/luabind/detail/call_member.hpp
  • include/luabind/detail/call_operator_iterate.hpp
  • include/luabind/detail/class_cache.hpp
  • include/luabind/detail/class_registry.hpp
  • include/luabind/detail/class_rep.hpp
  • include/luabind/detail/compute_score.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/inheritance.hpp
  • include/luabind/detail/instance_holder.hpp
  • include/luabind/detail/is_indirect_const.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_funs.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/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/version.hpp
  • include/luabind/weak_ref.hpp
  • include/luabind/wrapper_base.hpp
  • include/luabind/yield_policy.hpp
  • lib/libluabind.a
  • lib/libluabind.so
distinfo 1
FileSizeSHA256
luabind-0.9.1.tar.gz19456080de5e04918678dd8e6dac3b22a34b3247f74bf744c719bae21faaa49649aaae
Master sites 1
  • SF

Commit history 1

DateCommitCreditsLog message
a6fbfe434b Gleb Popov devel/luabind: Mark deprecated