aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-06-16 03:43:49 +0800
committerjrm <jrm@FreeBSD.org>2017-06-16 03:43:49 +0800
commit7da01539e98b7903bb912265ec64f80539dd0e4a (patch)
treeeba6d73fb5c14970ef5abc1355620dce7e481b2c
parent7b699e34cf87f45c945ced9be283077ce437265b (diff)
downloadfreebsd-ports-gnome-7da01539e98b7903bb912265ec64f80539dd0e4a.tar.gz
freebsd-ports-gnome-7da01539e98b7903bb912265ec64f80539dd0e4a.tar.zst
freebsd-ports-gnome-7da01539e98b7903bb912265ec64f80539dd0e4a.zip
Create devel/rubygem-webpacker1-rails5, a 1.x version copied from
devel/rubygem-webpacker-rails5
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-webpacker1-rails5/Makefile24
-rw-r--r--devel/rubygem-webpacker1-rails5/distinfo3
-rw-r--r--devel/rubygem-webpacker1-rails5/pkg-descr9
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e97375a1fd54..1aa64d32db80 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5704,6 +5704,7 @@
SUBDIR += rubygem-webby
SUBDIR += rubygem-webpacker-rails5
SUBDIR += rubygem-webpacker-rails50
+ SUBDIR += rubygem-webpacker1-rails5
SUBDIR += rubygem-will_paginate
SUBDIR += rubygem-windows_error
SUBDIR += rubygem-wmi-lite
diff --git a/devel/rubygem-webpacker1-rails5/Makefile b/devel/rubygem-webpacker1-rails5/Makefile
new file mode 100644
index 000000000000..fa96f8e2e1ee
--- /dev/null
+++ b/devel/rubygem-webpacker1-rails5/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= webpacker
+PORTVERSION= 1.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 1-rails5
+
+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-activesupport5>0:devel/rubygem-activesupport5 \
+ rubygem-multi_json>=1.2:devel/rubygem-multi_json \
+ rubygem-railties5>0:www/rubygem-railties5 \
+ yarn>0:www/yarn
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-webpacker1-rails5/distinfo b/devel/rubygem-webpacker1-rails5/distinfo
new file mode 100644
index 000000000000..8ba3b983363f
--- /dev/null
+++ b/devel/rubygem-webpacker1-rails5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1497538719
+SHA256 (rubygem/webpacker-1.2.gem) = eb6b66b313a3cfdaaab9b48d592563ae08fc6ec8a7aadc14253b3064446e34c5
+SIZE (rubygem/webpacker-1.2.gem) = 33792
diff --git a/devel/rubygem-webpacker1-rails5/pkg-descr b/devel/rubygem-webpacker1-rails5/pkg-descr
new file mode 100644
index 000000000000..0910de7ca8db
--- /dev/null
+++ b/devel/rubygem-webpacker1-rails5/pkg-descr
@@ -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