git: 850cc8364ac9 - main - print/rubygem-prawn-rails: Add rubygem-prawn-rails 1.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 04:25:27 UTC
The branch main has been updated by sunpoet:

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

commit 850cc8364ac9bd8d740a6f842e3242229bcd5738
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:05:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:22:25 +0000

    print/rubygem-prawn-rails: Add rubygem-prawn-rails 1.5.0
    
    Prawn-Rails provides prawn handler for Rails. It handles and registers pdf
    formats.
---
 print/Makefile                      |  1 +
 print/rubygem-prawn-rails/Makefile  | 22 ++++++++++++++++++++++
 print/rubygem-prawn-rails/distinfo  |  3 +++
 print/rubygem-prawn-rails/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index a2d7eff21cd0..a6091958c394 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -220,6 +220,7 @@
     SUBDIR += rubygem-prawn-icon
     SUBDIR += rubygem-prawn-js
     SUBDIR += rubygem-prawn-layout
+    SUBDIR += rubygem-prawn-rails
     SUBDIR += rubygem-prawn-security
     SUBDIR += rubygem-prawn-svg
     SUBDIR += rubygem-prawn-table
diff --git a/print/rubygem-prawn-rails/Makefile b/print/rubygem-prawn-rails/Makefile
new file mode 100644
index 000000000000..ed1cbdd514c0
--- /dev/null
+++ b/print/rubygem-prawn-rails/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	prawn-rails
+PORTVERSION=	1.5.0
+CATEGORIES=	print rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Prawn Handler for Rails
+WWW=		https://github.com/cortiz/prawn-rails
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-actionview72>=3.1.0:devel/rubygem-actionview72 \
+		rubygem-activesupport72>=3.1.0:devel/rubygem-activesupport72 \
+		rubygem-prawn>=0:print/rubygem-prawn \
+		rubygem-prawn-table>=0:print/rubygem-prawn-table
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-prawn-rails/distinfo b/print/rubygem-prawn-rails/distinfo
new file mode 100644
index 000000000000..1fe8ff7ee78e
--- /dev/null
+++ b/print/rubygem-prawn-rails/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726740915
+SHA256 (rubygem/prawn-rails-1.5.0.gem) = b80d7ec2189729c8dba16eb9af40b2aab0b772ebe8e1208929163937f6bde794
+SIZE (rubygem/prawn-rails-1.5.0.gem) = 9216
diff --git a/print/rubygem-prawn-rails/pkg-descr b/print/rubygem-prawn-rails/pkg-descr
new file mode 100644
index 000000000000..21d44e4da905
--- /dev/null
+++ b/print/rubygem-prawn-rails/pkg-descr
@@ -0,0 +1,2 @@
+Prawn-Rails provides prawn handler for Rails. It handles and registers pdf
+formats.