Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 19:28:50 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438200 - in head/devel: . rubygem-react-rails
Message-ID:  <201704101928.v3AJSoi1002273@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Mon Apr 10 19:28:49 2017
New Revision: 438200
URL: https://svnweb.freebsd.org/changeset/ports/438200

Log:
  New port, devel/rubygem-react-rails: React/JSX adapter for the Ruby on
  Rails asset pipeline
  
  Adding this because it is a dependency for the upcoming www/mastodon port.
  
  WWW: https://github.com/reactjs/react-rails/
  
  Approved by:    swills (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D10343

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Apr 10 19:16:30 2017	(r438199)
+++ head/devel/Makefile	Mon Apr 10 19:28:49 2017	(r438200)
@@ -5450,6 +5450,7 @@
     SUBDIR += rubygem-rb-kqueue
     SUBDIR += rubygem-rbtrace
     SUBDIR += rubygem-rdoc
+    SUBDIR += rubygem-react-rails
     SUBDIR += rubygem-readwritesettings
     SUBDIR += rubygem-recaptcha
     SUBDIR += rubygem-recursive-open-struct

Added: head/devel/rubygem-react-rails/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-react-rails/Makefile	Mon Apr 10 19:28:49 2017	(r438200)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	react-rails
+PORTVERSION=	1.11.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	React/JSX adapter for the Ruby on Rails asset pipeline
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-babel-transpiler>=0.7.0:textproc/rubygem-babel-transpiler \
+		rubygem-connection_pool>=0:net/rubygem-connection_pool \
+		rubygem-execjs>=0:devel/rubygem-execjs \
+		rubygem-railties4>0:www/rubygem-railties4 \
+		rubygem-tilt>=0:devel/rubygem-tilt
+
+NO_ARCH=	yes
+
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-react-rails/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-react-rails/distinfo	Mon Apr 10 19:28:49 2017	(r438200)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491835416
+SHA256 (rubygem/react-rails-1.11.0.gem) = 4fdbc3d9f3d1a5d8abdbba3735015efa6417c1d29478b7761053fd9facd3f491
+SIZE (rubygem/react-rails-1.11.0.gem) = 968704

Added: head/devel/rubygem-react-rails/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-react-rails/pkg-descr	Mon Apr 10 19:28:49 2017	(r438200)
@@ -0,0 +1,11 @@
+react-rails makes it easy to use React and JSX in your Ruby on Rails
+application.  It can
+
+- provide various react builds to your asset bundle
+- transform .jsx in the asset pipeline
+- render components into views and mount them via view helper and react_ujs
+- render components server-side with prerender: true
+- generate components with a Rails generator
+- be extended with custom renderers, transformers and view helpers
+
+WWW: https://github.com/reactjs/react-rails



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