diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-05 04:52:44 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-10-05 04:52:44 +0000 |
commit | 6c5f5e386b01d66b814994ec696c9487161c9050 (patch) | |
tree | 903ed24a4e461fb9b9c78b81554eb4a60cf59129 /chinese/p5-Lingua-ZH-HanDetect | |
parent | 25b180324dc863f463bf0881269d85ccb72ac71d (diff) |
Notes
Diffstat (limited to 'chinese/p5-Lingua-ZH-HanDetect')
-rw-r--r-- | chinese/p5-Lingua-ZH-HanDetect/Makefile | 22 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-HanDetect/distinfo | 3 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-HanDetect/pkg-descr | 12 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-HanDetect/pkg-plist | 8 |
4 files changed, 45 insertions, 0 deletions
diff --git a/chinese/p5-Lingua-ZH-HanDetect/Makefile b/chinese/p5-Lingua-ZH-HanDetect/Makefile new file mode 100644 index 000000000000..7ffa0178a7a3 --- /dev/null +++ b/chinese/p5-Lingua-ZH-HanDetect/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Lingua-ZH-HanDetect +# Date created: 2006-09-25 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Lingua-ZH-HanDetect +PORTVERSION= 0.04 +CATEGORIES= chinese perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Guess Chinese text\'s variant and encoding + +PERL_CONFIGURE= yes + +MAN3= Lingua::ZH::HanDetect.3 + +.include <bsd.port.mk> diff --git a/chinese/p5-Lingua-ZH-HanDetect/distinfo b/chinese/p5-Lingua-ZH-HanDetect/distinfo new file mode 100644 index 000000000000..0b32bf5b8da4 --- /dev/null +++ b/chinese/p5-Lingua-ZH-HanDetect/distinfo @@ -0,0 +1,3 @@ +MD5 (Lingua-ZH-HanDetect-0.04.tar.gz) = bb86e8119d0d745013e45208468e34cc +SHA256 (Lingua-ZH-HanDetect-0.04.tar.gz) = 92cff3451d13103afbdca1268c3dc51ab93343233a06b63d45f11d9a53d29aec +SIZE (Lingua-ZH-HanDetect-0.04.tar.gz) = 4874 diff --git a/chinese/p5-Lingua-ZH-HanDetect/pkg-descr b/chinese/p5-Lingua-ZH-HanDetect/pkg-descr new file mode 100644 index 000000000000..258f8044d35d --- /dev/null +++ b/chinese/p5-Lingua-ZH-HanDetect/pkg-descr @@ -0,0 +1,12 @@ +Lingua::ZH::HanDetect uses statistical measures to test a text string +to see if it's in Traditional or Simplified Chinese, as well as which +encoding it is in. + +If the string does not contain Chinese characters, both the encoding +and variant values will be set to the empty string. + +This module is needed because the various encodings for Chinese text +tend to occupy the similar byte ranges, rendering Encode::Guess +ineffective. + +WWW: http://search.cpan.org/dist/Lingua-ZH-HanDetect/ diff --git a/chinese/p5-Lingua-ZH-HanDetect/pkg-plist b/chinese/p5-Lingua-ZH-HanDetect/pkg-plist new file mode 100644 index 000000000000..0b47d95ca0a8 --- /dev/null +++ b/chinese/p5-Lingua-ZH-HanDetect/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect/.packlist +%%SITE_PERL%%/Lingua/ZH/HanDetect.pm +@dirrmtry %%SITE_PERL%%/Lingua/ZH +@dirrmtry %%SITE_PERL%%/Lingua +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua |