BSD Ports

devel/rubygem-rice 4.3.3 DragonFly

C++ interface to Rubys C API

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
devel, rubygems
Package size
89.3 KiB, 735.6 KiB installed

Description

Rice is a C++ header-only library that serves dual purposes. First, it makes it much easier to create Ruby bindings for existing C++ libraries. Second, it provides an object oriented interface to Ruby's C API that makes it easy to embed Ruby and write Ruby extensions in C++.

Rice is similar to Boost.Python and pybind11 in that it minimizes boilerplate code needed to interface with C++. It does this by automatically determining type information allowing Ruby object to be converted to C++ and vice versa.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-rice4.3.3
FreeBSDdevel/rubygem-rice4.3.3

Install

Binary package:

pkg install rubygem-rice

From DPorts:

cd /usr/dports/devel/rubygem-rice && make install clean

Dependencies

Run dependencies 2

No port depends on this one.