git: e0117995c936 - main - www/rubygem-propshaft: Add rubygem-propshaft 0.4.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:35 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e0117995c936d0b023ba2282bddb2d19d996de8f

commit e0117995c936d0b023ba2282bddb2d19d996de8f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:56:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:49 +0000

    www/rubygem-propshaft: Add rubygem-propshaft 0.4.4
    
    Propshaft is an asset pipeline library for Rails. It's built for an era where
    bundling assets to save on HTTP connections is no longer urgent, where
    JavaScript and CSS are either compiled by dedicated Node.js bundlers or served
    directly to the browsers, and where increases in bandwidth have made the need
    for minification less pressing. These factors allow for a dramatically simpler
    and faster asset pipeline compared to previous options, like Sprockets.
    
    WWW: https://github.com/rails/propshaft
---
 www/Makefile                    |  1 +
 www/rubygem-propshaft/Makefile  | 26 ++++++++++++++++++++++++++
 www/rubygem-propshaft/distinfo  |  3 +++
 www/rubygem-propshaft/pkg-descr |  8 ++++++++
 4 files changed, 38 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 7955422d10db..291f0e46c662 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2032,6 +2032,7 @@
     SUBDIR += rubygem-pagerduty
     SUBDIR += rubygem-passenger
     SUBDIR += rubygem-platform-api
+    SUBDIR += rubygem-propshaft
     SUBDIR += rubygem-protocol-hpack
     SUBDIR += rubygem-protocol-http
     SUBDIR += rubygem-protocol-http1
diff --git a/www/rubygem-propshaft/Makefile b/www/rubygem-propshaft/Makefile
new file mode 100644
index 000000000000..7b9b94f736b4
--- /dev/null
+++ b/www/rubygem-propshaft/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	propshaft
+PORTVERSION=	0.4.4
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Deliver assets for Rails
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+BROKEN_RUBY26=	yes
+
+RUN_DEPENDS=	rubygem-actionpack70>=7.0.0:www/rubygem-actionpack70 \
+		rubygem-activesupport70>=7.0.0:devel/rubygem-activesupport70 \
+		rubygem-rack>=0,3:www/rubygem-rack \
+		rubygem-railties70>=7.0.0:www/rubygem-railties70
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-propshaft/distinfo b/www/rubygem-propshaft/distinfo
new file mode 100644
index 000000000000..82c398fcde0a
--- /dev/null
+++ b/www/rubygem-propshaft/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045746
+SHA256 (rubygem/propshaft-0.4.4.gem) = a8b16997119ce4c2074f289ddf38feda5efef6edc8c9ad63f542872c06c8f810
+SIZE (rubygem/propshaft-0.4.4.gem) = 12288
diff --git a/www/rubygem-propshaft/pkg-descr b/www/rubygem-propshaft/pkg-descr
new file mode 100644
index 000000000000..1ad769fab639
--- /dev/null
+++ b/www/rubygem-propshaft/pkg-descr
@@ -0,0 +1,8 @@
+Propshaft is an asset pipeline library for Rails. It's built for an era where
+bundling assets to save on HTTP connections is no longer urgent, where
+JavaScript and CSS are either compiled by dedicated Node.js bundlers or served
+directly to the browsers, and where increases in bandwidth have made the need
+for minification less pressing. These factors allow for a dramatically simpler
+and faster asset pipeline compared to previous options, like Sprockets.
+
+WWW: https://github.com/rails/propshaft