svn commit: r440738 - in head/devel: . rubygem-webpacker-rails5

Joseph Mingrone jrm at FreeBSD.org
Fri May 12 22:50:06 UTC 2017


Author: jrm
Date: Fri May 12 22:50:05 2017
New Revision: 440738
URL: https://svnweb.freebsd.org/changeset/ports/440738

Log:
  New port, devel/rubygem-webpacker-rails5: manage app-like JavaScript
  modules in Rails
  
  WWW: https://github.com/rails/webpacker
  
  Approved by:	swills (mentor, implicit)

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri May 12 22:35:53 2017	(r440737)
+++ head/devel/Makefile	Fri May 12 22:50:05 2017	(r440738)
@@ -5641,6 +5641,7 @@
     SUBDIR += rubygem-web-console
     SUBDIR += rubygem-web-console2
     SUBDIR += rubygem-webby
+    SUBDIR += rubygem-webpacker-rails5
     SUBDIR += rubygem-will_paginate
     SUBDIR += rubygem-windows_error
     SUBDIR += rubygem-wmi-lite

Added: head/devel/rubygem-webpacker-rails5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-webpacker-rails5/Makefile	Fri May 12 22:50:05 2017	(r440738)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	webpacker
+PORTVERSION=	1.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails5
+
+MAINTAINER=	jrm at FreeBSD.org
+COMMENT=	Use Webpack to manage app-like JavaScript modules in Rails
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport5>0:devel/rubygem-activesupport5 \
+		rubygem-multi_json>=1.2:devel/rubygem-multi_json \
+		rubygem-railties5>0:www/rubygem-railties5 \
+		node6>0:www/node6 \
+		yarn>0:www/yarn
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-webpacker-rails5/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-webpacker-rails5/distinfo	Fri May 12 22:50:05 2017	(r440738)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1493989493
+SHA256 (rubygem/webpacker-1.2.gem) = eb6b66b313a3cfdaaab9b48d592563ae08fc6ec8a7aadc14253b3064446e34c5
+SIZE (rubygem/webpacker-1.2.gem) = 33792

Added: head/devel/rubygem-webpacker-rails5/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-webpacker-rails5/pkg-descr	Fri May 12 22:50:05 2017	(r440738)
@@ -0,0 +1,9 @@
+Webpacker makes it easy to use the JavaScript preprocessor and bundler Webpack
+to manage application-like JavaScript in Rails. It coexists with the asset
+pipeline, as the primary purpose for Webpack is app-like JavaScript, not images,
+css, or even JavaScript Sprinkles (that all continues to live in app/assets). It
+is, however, possible to use Webpacker for CSS and images assets as well, in
+which case you may not even need the asset pipeline. This is mostly relevant
+when exclusively using component-based JavaScript frameworks.
+
+WWW: https://github.com/rails/webpacker


More information about the svn-ports-all mailing list