git: 3a4c24fe3a8c - main - textproc/p5-utf8-all: Add new port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Thu, 07 Apr 2022 03:04:43 UTC
The branch main has been updated by wen:

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

commit 3a4c24fe3a8cd5a0933526d7b2c7ee4f83f790cf
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-04-07 03:03:28 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-04-07 03:03:28 +0000

    textproc/p5-utf8-all: Add new port
    
    The use utf8 pragma tells the Perl parser to allow UTF-8 in the
    program text in the current lexical scope. This also means that
    you can now use literal Unicode characters as part of strings,
    variable names, and regular expressions.
    
    utf8::all goes further.
    
    WWW: https://metacpan.org/release/utf8-all
---
 textproc/Makefile              |  1 +
 textproc/p5-utf8-all/Makefile  | 23 +++++++++++++++++++++++
 textproc/p5-utf8-all/distinfo  |  3 +++
 textproc/p5-utf8-all/pkg-descr |  8 ++++++++
 textproc/p5-utf8-all/pkg-plist |  2 ++
 5 files changed, 37 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 3981589c9533..88d0f548faae 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1172,6 +1172,7 @@
     SUBDIR += p5-libxml
     SUBDIR += p5-pod2pdf
     SUBDIR += p5-podlators
+    SUBDIR += p5-utf8-all
     SUBDIR += p5-xmltv
     SUBDIR += pa-aspell
     SUBDIR += pageedit
diff --git a/textproc/p5-utf8-all/Makefile b/textproc/p5-utf8-all/Makefile
new file mode 100644
index 000000000000..68d8abaec851
--- /dev/null
+++ b/textproc/p5-utf8-all/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	utf8-all
+DISTVERSION=	0.024
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:HAYOBAAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Turn on Unicode - all of it
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-PerlIO-utf8_strict>=0:devel/p5-PerlIO-utf8_strict
+TEST_DEPENDS=	p5-Test-Exception>=0:devel/p5-Test-Exception \
+		p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+		p5-Test-Warn>=0:devel/p5-Test-Warn
+
+USES=		perl5
+USE_PERL5=	configure
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-utf8-all/distinfo b/textproc/p5-utf8-all/distinfo
new file mode 100644
index 000000000000..88705c10c994
--- /dev/null
+++ b/textproc/p5-utf8-all/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1649294508
+SHA256 (utf8-all-0.024.tar.gz) = 9233465d41174077ccdbc04f751ab7d68c8d19114e36cd02f2c5fdc2bc3937b7
+SIZE (utf8-all-0.024.tar.gz) = 27272
diff --git a/textproc/p5-utf8-all/pkg-descr b/textproc/p5-utf8-all/pkg-descr
new file mode 100644
index 000000000000..805d4a8e64c9
--- /dev/null
+++ b/textproc/p5-utf8-all/pkg-descr
@@ -0,0 +1,8 @@
+The use utf8 pragma tells the Perl parser to allow UTF-8 in the
+program text in the current lexical scope. This also means that
+you can now use literal Unicode characters as part of strings,
+variable names, and regular expressions.
+
+utf8::all goes further.
+
+WWW: https://metacpan.org/release/utf8-all
diff --git a/textproc/p5-utf8-all/pkg-plist b/textproc/p5-utf8-all/pkg-plist
new file mode 100644
index 000000000000..321533ab6fa0
--- /dev/null
+++ b/textproc/p5-utf8-all/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/utf8/all.pm
+%%PERL5_MAN3%%/utf8::all.3.gz