From c31846a38a8dc3f018ecf733a7b00748adfd751c Mon Sep 17 00:00:00 2001 From: sat Date: Tue, 25 Jul 2006 21:50:41 +0000 Subject: 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/ --- textproc/p5-Unicode-CheckUTF8/Makefile | 22 ++++++++++++++++++++++ textproc/p5-Unicode-CheckUTF8/distinfo | 3 +++ textproc/p5-Unicode-CheckUTF8/pkg-descr | 11 +++++++++++ textproc/p5-Unicode-CheckUTF8/pkg-plist | 5 +++++ 4 files changed, 41 insertions(+) create mode 100644 textproc/p5-Unicode-CheckUTF8/Makefile create mode 100644 textproc/p5-Unicode-CheckUTF8/distinfo create mode 100644 textproc/p5-Unicode-CheckUTF8/pkg-descr create mode 100644 textproc/p5-Unicode-CheckUTF8/pkg-plist (limited to 'textproc/p5-Unicode-CheckUTF8') 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 +# +# $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 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 -- cgit