git: e3fa2999d0df - main - devel/rubygem-nice_partials: Add rubygem-nice_partials 0.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:29:29 UTC
The branch main has been updated by sunpoet:

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

commit e3fa2999d0dfe09b42be68aee0bdcebefc2be3db
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:13:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:49 +0000

    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.
---
 devel/Makefile                        |  1 +
 devel/rubygem-nice_partials/Makefile  | 19 +++++++++++++++++++
 devel/rubygem-nice_partials/distinfo  |  3 +++
 devel/rubygem-nice_partials/pkg-descr |  5 +++++
 4 files changed, 28 insertions(+)

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.