git: 7d30f610ceb4 - main - print/rubygem-afm0: Add rubygem-afm0 0.2.2 (copied from rubygem-afm)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 11:31:30 UTC
The branch main has been updated by sunpoet:

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

commit 7d30f610ceb4329c99c525bc175393de1be412b4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 10:23:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 11:29:35 +0000

    print/rubygem-afm0: Add rubygem-afm0 0.2.2 (copied from rubygem-afm)
    
    - Add PORTSCOUT
---
 print/Makefile               |  1 +
 print/rubygem-afm0/Makefile  | 19 +++++++++++++++++++
 print/rubygem-afm0/distinfo  |  3 +++
 print/rubygem-afm0/pkg-descr |  1 +
 4 files changed, 24 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 6f635fd5a1af..0e1d3e6f1f2b 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -203,6 +203,7 @@
     SUBDIR += rlpr
     SUBDIR += rtf2latex2e
     SUBDIR += rubygem-afm
+    SUBDIR += rubygem-afm0
     SUBDIR += rubygem-color
     SUBDIR += rubygem-color-tools
     SUBDIR += rubygem-color_diff
diff --git a/print/rubygem-afm0/Makefile b/print/rubygem-afm0/Makefile
new file mode 100644
index 000000000000..16c396be0789
--- /dev/null
+++ b/print/rubygem-afm0/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	afm
+PORTVERSION=	0.2.2
+CATEGORIES=	print rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	0
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Read AFM files and use the data conveniently
+WWW=		https://github.com/halfbyte/afm
+
+LICENSE=	MIT
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^0\.
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-afm0/distinfo b/print/rubygem-afm0/distinfo
new file mode 100644
index 000000000000..467fe34a55f3
--- /dev/null
+++ b/print/rubygem-afm0/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1750933404
+SHA256 (rubygem/afm-0.2.2.gem) = c83e698e759ab0063331ff84ca39c4673b03318f4ddcbe8e90177dd01e4c721a
+SIZE (rubygem/afm-0.2.2.gem) = 17408
diff --git a/print/rubygem-afm0/pkg-descr b/print/rubygem-afm0/pkg-descr
new file mode 100644
index 000000000000..a1a720c81afe
--- /dev/null
+++ b/print/rubygem-afm0/pkg-descr
@@ -0,0 +1 @@
+A simple library to read Adobe Font Metrics files and use the data conveniently