summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-webpacker4-rails60/Makefile27
-rw-r--r--devel/rubygem-webpacker4-rails60/distinfo3
-rw-r--r--devel/rubygem-webpacker4-rails60/pkg-descr9
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index af3b59697f44..5c4c577ca13c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6468,6 +6468,7 @@
SUBDIR += rubygem-webpacker-rails5
SUBDIR += rubygem-webpacker-rails50
SUBDIR += rubygem-webpacker-rails60
+ SUBDIR += rubygem-webpacker4-rails60
SUBDIR += rubygem-will_paginate
SUBDIR += rubygem-windows_error
SUBDIR += rubygem-wisper
diff --git a/devel/rubygem-webpacker4-rails60/Makefile b/devel/rubygem-webpacker4-rails60/Makefile
new file mode 100644
index 000000000000..c2f72253dd99
--- /dev/null
+++ b/devel/rubygem-webpacker4-rails60/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= webpacker
+PORTVERSION= 4.2.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 4-rails60
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Use Webpack to manage app-like JavaScript modules in Rails
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activesupport60>=4.2:devel/rubygem-activesupport60 \
+ rubygem-rack-proxy>=0.6.1:www/rubygem-rack-proxy \
+ rubygem-railties60>=4.2:www/rubygem-railties60 \
+ yarn:www/yarn
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^4\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-webpacker4-rails60/distinfo b/devel/rubygem-webpacker4-rails60/distinfo
new file mode 100644
index 000000000000..bf3b77efdcf6
--- /dev/null
+++ b/devel/rubygem-webpacker4-rails60/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1580562345
+SHA256 (rubygem/webpacker-4.2.2.gem) = 52b14bce1882b7024c8dbb6820b2813e3ed01652b5fa0f88b7ed52be4cf3a940
+SIZE (rubygem/webpacker-4.2.2.gem) = 223232
diff --git a/devel/rubygem-webpacker4-rails60/pkg-descr b/devel/rubygem-webpacker4-rails60/pkg-descr
new file mode 100644
index 000000000000..0910de7ca8db
--- /dev/null
+++ b/devel/rubygem-webpacker4-rails60/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