aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Unicode-CheckUTF8
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-07-25 21:50:41 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-07-25 21:50:41 +0000
commit17248c23f776b631712375e43a994c4ae591784e (patch)
tree813f16959cdc8163d5adb3131feda0db79f3c93a /textproc/p5-Unicode-CheckUTF8
parent4f90c8580e79960bee04afb5e2bc3c8e1336cef2 (diff)
downloadports-17248c23f776b631712375e43a994c4ae591784e.tar.gz
ports-17248c23f776b631712375e43a994c4ae591784e.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/
Notes
Notes: svn path=/head/; revision=168762
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