git: 02e7cbf801ea - main - print/rubygem-pdf-core09: Add rubygem-pdf-core09 0.9.0 (copied from rubygem-pdf-core)

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

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

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

    print/rubygem-pdf-core09: Add rubygem-pdf-core09 0.9.0 (copied from rubygem-pdf-core)
    
    - Add PORTSCOUT
---
 print/Makefile                     |  1 +
 print/rubygem-pdf-core09/Makefile  | 24 ++++++++++++++++++++++++
 print/rubygem-pdf-core09/distinfo  |  3 +++
 print/rubygem-pdf-core09/pkg-descr | 13 +++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 0627f27b1662..352bef324b2e 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -204,6 +204,7 @@
     SUBDIR += rubygem-color-tools
     SUBDIR += rubygem-color_diff
     SUBDIR += rubygem-pdf-core
+    SUBDIR += rubygem-pdf-core09
     SUBDIR += rubygem-pdf-reader
     SUBDIR += rubygem-pdf-writer
     SUBDIR += rubygem-prawn
diff --git a/print/rubygem-pdf-core09/Makefile b/print/rubygem-pdf-core09/Makefile
new file mode 100644
index 000000000000..b6024c3f7f5d
--- /dev/null
+++ b/print/rubygem-pdf-core09/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	pdf-core
+PORTVERSION=	0.9.0
+CATEGORIES=	print rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	09
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby library to render PDF documents
+WWW=		https://prawnpdf.org/ \
+		https://github.com/prawnpdf/pdf-core
+
+LICENSE=	GPLv2 GPLv3 RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv2=	${WRKSRC}/GPLv2
+LICENSE_FILE_GPLv3=	${WRKSRC}/GPLv3
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^0\.9\.
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-pdf-core09/distinfo b/print/rubygem-pdf-core09/distinfo
new file mode 100644
index 000000000000..db94f1b754b3
--- /dev/null
+++ b/print/rubygem-pdf-core09/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928711
+SHA256 (rubygem/pdf-core-0.9.0.gem) = 4f368b2f12b57ec979872d4bf4bd1a67e8648e0c81ab89801431d2fc89f4e0bb
+SIZE (rubygem/pdf-core-0.9.0.gem) = 43520
diff --git a/print/rubygem-pdf-core09/pkg-descr b/print/rubygem-pdf-core09/pkg-descr
new file mode 100644
index 000000000000..16f236b29865
--- /dev/null
+++ b/print/rubygem-pdf-core09/pkg-descr
@@ -0,0 +1,13 @@
+PDF::Core is a pure Ruby library to render PDF documents.
+
+It supports several PDF features, such as among others:
+ * low-level annotation
+ * istream objects and stream filters
+ * NameTree
+ * object repository
+ * object serialization
+ * indirect objects
+ * page geometries
+
+It is used internally by Prawn (provided in the rubygems-prawn package),
+a Ruby PDF generation library.