aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Unicode-CheckUTF8
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-07-26 05:50:41 +0800
committersat <sat@FreeBSD.org>2006-07-26 05:50:41 +0800
commitc31846a38a8dc3f018ecf733a7b00748adfd751c (patch)
tree03dee724a4d360747792ddc54f71db69b4fe37b6 /textproc/p5-Unicode-CheckUTF8
parentcb55707baf5a81da3c2d2011ba3b0a543cfc7af4 (diff)
downloadfreebsd-ports-gnome-c31846a38a8dc3f018ecf733a7b00748adfd751c.tar.gz
freebsd-ports-gnome-c31846a38a8dc3f018ecf733a7b00748adfd751c.tar.zst
freebsd-ports-gnome-c31846a38a8dc3f018ecf733a7b00748adfd751c.zip
Add port textproc/p5-Unicode-CheckUTF8:
This is an XS wrapper around some Unicode Consortium code to check if a string is valid UTF-8, revised to conform to what expat/Mozilla think is valid UTF-8, especially with regard to low-ASCII characters. Note that this module has NOTHING to do with Perl's internal UTF8 flag on scalars. This module is for use when you're getting input from users and want to make sure it's valid UTF-8 before continuing. WWW: http://search.cpan.org/dist/Unicode-CheckUTF8/
Diffstat (limited to 'textproc/p5-Unicode-CheckUTF8')
-rw-r--r--textproc/p5-Unicode-CheckUTF8/Makefile22
-rw-r--r--textproc/p5-Unicode-CheckUTF8/distinfo3
-rw-r--r--textproc/p5-Unicode-CheckUTF8/pkg-descr11
-rw-r--r--textproc/p5-Unicode-CheckUTF8/pkg-plist5
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/p5-Unicode-CheckUTF8/Makefile b/textproc/p5-Unicode-CheckUTF8/Makefile
new file mode 100644
index 000000000000..976f18593b45
--- /dev/null
+++ b/textproc/p5-Unicode-CheckUTF8/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Unicode-CheckUTF8
+# Date created: 23 July 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Unicode-CheckUTF8
+DISTVERSION= 1.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Unicode
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Check if scalar is valid UTF-8
+
+PERL_CONFIGURE= YES
+
+MAN3= Unicode::CheckUTF8.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Unicode-CheckUTF8/distinfo b/textproc/p5-Unicode-CheckUTF8/distinfo
new file mode 100644
index 000000000000..41f26d9f8361
--- /dev/null
+++ b/textproc/p5-Unicode-CheckUTF8/distinfo
@@ -0,0 +1,3 @@
+MD5 (Unicode-CheckUTF8-1.01.tar.gz) = 317a54ded8fa126936c61a39f7746e34
+SHA256 (Unicode-CheckUTF8-1.01.tar.gz) = b0930af586416682927b873cbfa83b37a9e3c617cb622e787500332ef28db56b
+SIZE (Unicode-CheckUTF8-1.01.tar.gz) = 25245
diff --git a/textproc/p5-Unicode-CheckUTF8/pkg-descr b/textproc/p5-Unicode-CheckUTF8/pkg-descr
new file mode 100644
index 000000000000..c9b79950d9da
--- /dev/null
+++ b/textproc/p5-Unicode-CheckUTF8/pkg-descr
@@ -0,0 +1,11 @@
+This is an XS wrapper around some Unicode Consortium code to check if
+a string is valid UTF-8, revised to conform to what expat/Mozilla
+think is valid UTF-8, especially with regard to low-ASCII characters.
+
+Note that this module has NOTHING to do with Perl's internal UTF8 flag
+on scalars.
+
+This module is for use when you're getting input from users and want
+to make sure it's valid UTF-8 before continuing.
+
+WWW: http://search.cpan.org/dist/Unicode-CheckUTF8/
diff --git a/textproc/p5-Unicode-CheckUTF8/pkg-plist b/textproc/p5-Unicode-CheckUTF8/pkg-plist
new file mode 100644
index 000000000000..24dbf8317185
--- /dev/null
+++ b/textproc/p5-Unicode-CheckUTF8/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Unicode/CheckUTF8.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CheckUTF8/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CheckUTF8/CheckUTF8.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CheckUTF8/CheckUTF8.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unicode/CheckUTF8