aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2022-04-07 03:03:28 +0000
committerWen Heping <wen@FreeBSD.org>2022-04-07 03:03:28 +0000
commit3a4c24fe3a8cd5a0933526d7b2c7ee4f83f790cf (patch)
tree2674a4ac3787aa5f77dd6e7dc96967c4efa69e82
parent30c5b8b6db9c08c49de611dc581e56e243095b3b (diff)
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
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-utf8-all/Makefile23
-rw-r--r--textproc/p5-utf8-all/distinfo3
-rw-r--r--textproc/p5-utf8-all/pkg-descr8
-rw-r--r--textproc/p5-utf8-all/pkg-plist2
5 files changed, 37 insertions, 0 deletions
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