Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 17:11:10 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415267 - in head/devel: . rubygem-rice
Message-ID:  <201605151711.u4FHBAtu013836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Sun May 15 17:11:09 2016
New Revision: 415267
URL: https://svnweb.freebsd.org/changeset/ports/415267

Log:
  Add devel/rubygem-rice.
  
  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.
  
  Approved by:    swills (mentor)

Added:
  head/devel/rubygem-rice/
  head/devel/rubygem-rice/Makefile   (contents, props changed)
  head/devel/rubygem-rice/distinfo   (contents, props changed)
  head/devel/rubygem-rice/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun May 15 16:44:44 2016	(r415266)
+++ head/devel/Makefile	Sun May 15 17:11:09 2016	(r415267)
@@ -5099,6 +5099,7 @@
     SUBDIR += rubygem-require_all
     SUBDIR += rubygem-retryable
     SUBDIR += rubygem-rgl
+    SUBDIR += rubygem-rice
     SUBDIR += rubygem-rodzilla
     SUBDIR += rubygem-rotp
     SUBDIR += rubygem-rr

Added: head/devel/rubygem-rice/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-rice/Makefile	Sun May 15 17:11:09 2016	(r415267)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	rice
+PORTVERSION=	2.1.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	A C++ interface to Rubys C API
+
+USE_RUBY=	yes
+USES=		gem
+USE_AUTOTOOLS=	aclocal autoconf
+INSTDIR=	${PREFIX}/${GEM_LIB_DIR}
+
+# Fixup path in mkmf-rice.rb so things that build using it can find -lrice.
+post-stage:
+	${REINPLACE_CMD} -e 's,${STAGEDIR}${INSTDIR},${INSTDIR},g' \
+		${STAGEDIR}${INSTDIR}/ruby/lib/mkmf-rice.rb
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-rice/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-rice/distinfo	Sun May 15 17:11:09 2016	(r415267)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rice-2.1.0.gem) = 33fbd1e3fd4b78ae7f824cc73bee35239d1c276329e3bf649ee75b0ffda33794
+SIZE (rubygem/rice-2.1.0.gem) = 261120

Added: head/devel/rubygem-rice/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-rice/pkg-descr	Sun May 15 17:11:09 2016	(r415267)
@@ -0,0 +1,6 @@
+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.
+
+WWW: http://rubygems.org/gems/rice



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605151711.u4FHBAtu013836>