diff --git a/devel/rubygem-rice/Makefile b/devel/rubygem-rice/Makefile index dc25d7a63658..18c47280165f 100644 --- a/devel/rubygem-rice/Makefile +++ b/devel/rubygem-rice/Makefile @@ -1,5 +1,5 @@ PORTNAME= rice -PORTVERSION= 2.2.0 +PORTVERSION= 4.0.2 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -12,10 +12,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_11_powerpc64= fails to configure: could not find ruby.h BROKEN_FreeBSD_12_powerpc64= fails to configure: could not find ruby.h +USES= gem USE_RUBY= yes -USES= autoreconf:build gem -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/test/unittest +NO_ARCH= yes .include diff --git a/devel/rubygem-rice/distinfo b/devel/rubygem-rice/distinfo index 8ff096de23d3..018aa58ba536 100644 --- a/devel/rubygem-rice/distinfo +++ b/devel/rubygem-rice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1606233446 -SHA256 (rubygem/rice-2.2.0.gem) = 6eb60d5b2f3018df831c2b3dbd17cd03f910401ddaeccb23d54bcd2b7ca9a59b -SIZE (rubygem/rice-2.2.0.gem) = 262656 +TIMESTAMP = 1625323751 +SHA256 (rubygem/rice-4.0.2.gem) = 40d5587c8dc92c2f1d0d4a73e3d03776bf6db06710848ef46135902a94043bd9 +SIZE (rubygem/rice-4.0.2.gem) = 111616 diff --git a/devel/rubygem-rice/pkg-descr b/devel/rubygem-rice/pkg-descr index e81e152aee07..a80df22eac71 100644 --- a/devel/rubygem-rice/pkg-descr +++ b/devel/rubygem-rice/pkg-descr @@ -1,6 +1,10 @@ -Rice is a C++ interface to Ruby's C API. It provides a type-safe and -exception-safe interface in order to make embedding Ruby and writing Ruby -extensions with C++ easier. It is similar to Boost.Python in many ways, but -also attempts to provide an object-oriented interface to all of the Ruby C API. +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++. -WWW: https://rubygems.org/gems/rice +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. + +WWW: https://github.com/jasonroelofs/rice