devel/rubygem-webpacker-rails50: Create rails version 5.0 port by copying

devel/rubygem-webpacker-rails5

Approved by:	swills (mentor, implicit)
This commit is contained in:
Joseph Mingrone 2017-05-25 02:06:33 +00:00
parent 031bd0825e
commit f640a9e049
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441646
4 changed files with 37 additions and 0 deletions

View file

@ -5670,6 +5670,7 @@
SUBDIR += rubygem-web-console2
SUBDIR += rubygem-webby
SUBDIR += rubygem-webpacker-rails5
SUBDIR += rubygem-webpacker-rails50
SUBDIR += rubygem-will_paginate
SUBDIR += rubygem-windows_error
SUBDIR += rubygem-wmi-lite

View file

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= webpacker
PORTVERSION= 1.2
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -rails50
MAINTAINER= jrm@FreeBSD.org
COMMENT= Use Webpack to manage app-like JavaScript modules in Rails
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-activesupport50>0:devel/rubygem-activesupport50 \
rubygem-multi_json>=1.2:devel/rubygem-multi_json \
rubygem-railties50>0:www/rubygem-railties50 \
yarn>0:www/yarn
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1493989493
SHA256 (rubygem/webpacker-1.2.gem) = eb6b66b313a3cfdaaab9b48d592563ae08fc6ec8a7aadc14253b3064446e34c5
SIZE (rubygem/webpacker-1.2.gem) = 33792

View file

@ -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