git: beea21fca436 - main - converters/p5-Unicode-UTF8: Add new port

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 14:16:19 UTC
The branch main has been updated by mikael:

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

commit beea21fca436a70a53c36e75603682261079066c
Author:     Geoffroy Desvernay <dgeo@centrale-med.fr>
AuthorDate: 2025-02-04 14:08:39 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-02-04 14:13:44 +0000

    converters/p5-Unicode-UTF8: Add new port
    
    Unicode::UTF8 - Encoding and decoding of UTF-8 encoding form
    
    This module provides functions to encode and decode UTF-8 encoding form as
    specified by Unicode and ISO/IEC 10646:2011.
    
    PR:             283921
---
 converters/Makefile                  |  1 +
 converters/p5-Unicode-UTF8/Makefile  | 17 +++++++++++++++++
 converters/p5-Unicode-UTF8/distinfo  |  3 +++
 converters/p5-Unicode-UTF8/pkg-descr |  4 ++++
 converters/p5-Unicode-UTF8/pkg-plist |  4 ++++
 5 files changed, 29 insertions(+)

diff --git a/converters/Makefile b/converters/Makefile
index 85393a192764..154f39bbf8e4 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -130,6 +130,7 @@
     SUBDIR += p5-Unicode-RecursiveDowngrade
     SUBDIR += p5-Unicode-String
     SUBDIR += p5-Unicode-Stringprep
+    SUBDIR += p5-Unicode-UTF8
     SUBDIR += p5-Unicode-UTF8simple
     SUBDIR += p5-WAP-wbxml
     SUBDIR += p5-XML-WBXML
diff --git a/converters/p5-Unicode-UTF8/Makefile b/converters/p5-Unicode-UTF8/Makefile
new file mode 100644
index 000000000000..98b8306a8ddb
--- /dev/null
+++ b/converters/p5-Unicode-UTF8/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	Unicode-UTF8
+PORTVERSION=	0.62
+CATEGORIES=	textproc converters perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	dgeo@centrale-med.fr
+COMMENT=	Encoding and decoding of UTF-8 encoding form
+WWW=		https://metacpan.org/pod/Unicode::UTF8
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>
diff --git a/converters/p5-Unicode-UTF8/distinfo b/converters/p5-Unicode-UTF8/distinfo
new file mode 100644
index 000000000000..2f71bed54e0b
--- /dev/null
+++ b/converters/p5-Unicode-UTF8/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736948730
+SHA256 (Unicode-UTF8-0.62.tar.gz) = fa8722d0b74696e332fddd442994436ea93d3bfc7982d4babdcedfddd657d0f6
+SIZE (Unicode-UTF8-0.62.tar.gz) = 87838
diff --git a/converters/p5-Unicode-UTF8/pkg-descr b/converters/p5-Unicode-UTF8/pkg-descr
new file mode 100644
index 000000000000..eeaa83113761
--- /dev/null
+++ b/converters/p5-Unicode-UTF8/pkg-descr
@@ -0,0 +1,4 @@
+Unicode::UTF8 - Encoding and decoding of UTF-8 encoding form
+
+This module provides functions to encode and decode UTF-8 encoding form as
+specified by Unicode and ISO/IEC 10646:2011.
diff --git a/converters/p5-Unicode-UTF8/pkg-plist b/converters/p5-Unicode-UTF8/pkg-plist
new file mode 100644
index 000000000000..ecc6e67e020d
--- /dev/null
+++ b/converters/p5-Unicode-UTF8/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_ARCH%%/Unicode/UTF8.pm
+%%SITE_ARCH%%/Unicode/UTF8.pod
+%%SITE_ARCH%%/auto/Unicode/UTF8/UTF8.so
+%%PERL5_MAN3%%/Unicode::UTF8.3.gz