1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Add LICENSE

- Reformat pkg-descr
- Use single space after WWW:
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-06 18:49:27 +00:00
parent 81bb7c662b
commit 9fdce81a58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360960
3 changed files with 12 additions and 11 deletions

View File

@ -10,7 +10,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Guess Chinese text\'s variant and encoding
USES= perl5
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>

View File

@ -1,12 +1,10 @@
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.
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.
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.
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/
WWW: http://search.cpan.org/dist/Lingua-ZH-HanDetect/

View File

@ -1,6 +1,6 @@
%%PERL5_MAN3%%/Lingua::ZH::HanDetect.3.gz
%%SITE_PERL%%/Lingua/ZH/HanDetect.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect/.packlist
%%PERL5_MAN3%%/Lingua::ZH::HanDetect.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua