git: aab5b8663046 - main - print/rubygem-prawn24: Add rubygem-prawn24 2.4.0 (copied from rubygem-prawn)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:57:58 UTC
The branch main has been updated by sunpoet:

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

commit aab5b8663046ccf86a05f6f9645383b71fa655d4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:15:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:38 +0000

    print/rubygem-prawn24: Add rubygem-prawn24 2.4.0 (copied from rubygem-prawn)
    
    - Add PORTSCOUT
---
 print/Makefile                  |  1 +
 print/rubygem-prawn24/Makefile  | 27 +++++++++++++++++++++++++++
 print/rubygem-prawn24/distinfo  |  3 +++
 print/rubygem-prawn24/pkg-descr |  2 ++
 4 files changed, 33 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 2dd0b18cb896..40ca17d160a7 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -219,6 +219,7 @@
     SUBDIR += rubygem-prawn-svg
     SUBDIR += rubygem-prawn-table
     SUBDIR += rubygem-prawn-templates
+    SUBDIR += rubygem-prawn24
     SUBDIR += rubygem-prawn_shapes
     SUBDIR += rubygem-rbpdf
     SUBDIR += rubygem-rbpdf-font
diff --git a/print/rubygem-prawn24/Makefile b/print/rubygem-prawn24/Makefile
new file mode 100644
index 000000000000..f7fc9c1d6124
--- /dev/null
+++ b/print/rubygem-prawn24/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	prawn
+PORTVERSION=	2.4.0
+CATEGORIES=	print rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	24
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast, tiny, and nimble PDF generator for Ruby
+WWW=		https://prawnpdf.org/ \
+		https://github.com/prawnpdf/prawn
+
+LICENSE=	RUBY GPLv2 GPLv3
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv2=	${WRKSRC}/GPLv2
+LICENSE_FILE_GPLv3=	${WRKSRC}/GPLv3
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-pdf-core09>=0.9.0<0.10:print/rubygem-pdf-core09 \
+		rubygem-ttfunk>=1.7<2:print/rubygem-ttfunk
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^2\.4\.
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-prawn24/distinfo b/print/rubygem-prawn24/distinfo
new file mode 100644
index 000000000000..7d39062143e3
--- /dev/null
+++ b/print/rubygem-prawn24/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928713
+SHA256 (rubygem/prawn-2.4.0.gem) = 82062744f7126c2d77501da253a154271790254dfa8c309b8e52e79bc5de2abd
+SIZE (rubygem/prawn-2.4.0.gem) = 349696
diff --git a/print/rubygem-prawn24/pkg-descr b/print/rubygem-prawn24/pkg-descr
new file mode 100644
index 000000000000..e454f1d08f23
--- /dev/null
+++ b/print/rubygem-prawn24/pkg-descr
@@ -0,0 +1,2 @@
+Prawn is a pure Ruby PDF generation library that provides a lot of great
+functionality while trying to remain simple and reasonably performant.