aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:13:40 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:21:49 +0000
commite3fa2999d0dfe09b42be68aee0bdcebefc2be3db (patch)
treecdde6596550ed0b5a589fcf223f26e90096f7b9f
parent24bd1fcf60c1c5a34d846371c876094565b57409 (diff)
devel/rubygem-nice_partials: Add rubygem-nice_partials 0.10.0
Nice Partials adds ad-hoc named content areas, or sections, to Action View partials with a lot of extra power on top. Everything happens through a new partial method, which at the base of it have method shorthands for partial specific content_for and content_for?s.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-nice_partials/Makefile19
-rw-r--r--devel/rubygem-nice_partials/distinfo3
-rw-r--r--devel/rubygem-nice_partials/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7435321cf3f5..da8d78f6c4b0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7274,6 +7274,7 @@
SUBDIR += rubygem-newrelic-grape
SUBDIR += rubygem-newrelic_rpm
SUBDIR += rubygem-nice-ffi
+ SUBDIR += rubygem-nice_partials
SUBDIR += rubygem-nio4r
SUBDIR += rubygem-nori
SUBDIR += rubygem-notiffany
diff --git a/devel/rubygem-nice_partials/Makefile b/devel/rubygem-nice_partials/Makefile
new file mode 100644
index 000000000000..07933d8b47ff
--- /dev/null
+++ b/devel/rubygem-nice_partials/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= nice_partials
+PORTVERSION= 0.10.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Make partials perfect for components
+WWW= https://github.com/bullet-train-co/nice_partials
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
+
+RUN_DEPENDS= rubygem-actionview71>=4.2.6:devel/rubygem-actionview71
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-nice_partials/distinfo b/devel/rubygem-nice_partials/distinfo
new file mode 100644
index 000000000000..fbe5251c6ff4
--- /dev/null
+++ b/devel/rubygem-nice_partials/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714227808
+SHA256 (rubygem/nice_partials-0.10.0.gem) = 8b895333e2c31ac04a34493aeac418954be790e8e58ac0a907c461f42591eb43
+SIZE (rubygem/nice_partials-0.10.0.gem) = 19456
diff --git a/devel/rubygem-nice_partials/pkg-descr b/devel/rubygem-nice_partials/pkg-descr
new file mode 100644
index 000000000000..e3d12ce840b2
--- /dev/null
+++ b/devel/rubygem-nice_partials/pkg-descr
@@ -0,0 +1,5 @@
+Nice Partials adds ad-hoc named content areas, or sections, to Action View
+partials with a lot of extra power on top.
+
+Everything happens through a new partial method, which at the base of it have
+method shorthands for partial specific content_for and content_for?s.