ports/103585: [NEW PORT] chinese/p5-Lingua-ZH-HanDetect: Guess Chinese text\'s variant and encoding

Gea-Suan Lin gslin at gslin.org
Sun Sep 24 19:50:26 UTC 2006


>Number:         103585
>Category:       ports
>Synopsis:       [NEW PORT] chinese/p5-Lingua-ZH-HanDetect: Guess Chinese text\'s variant and encoding
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 24 19:50:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
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/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Lingua-ZH-HanDetect-0.04.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Lingua-ZH-HanDetect
#	p5-Lingua-ZH-HanDetect/pkg-descr
#	p5-Lingua-ZH-HanDetect/Makefile
#	p5-Lingua-ZH-HanDetect/pkg-plist
#	p5-Lingua-ZH-HanDetect/distinfo
#
echo c - p5-Lingua-ZH-HanDetect
mkdir -p p5-Lingua-ZH-HanDetect > /dev/null 2>&1
echo x - p5-Lingua-ZH-HanDetect/pkg-descr
sed 's/^X//' >p5-Lingua-ZH-HanDetect/pkg-descr << 'END-of-p5-Lingua-ZH-HanDetect/pkg-descr'
XLingua::ZH::HanDetect uses statistical measures to test a text string
Xto see if it's in Traditional or Simplified Chinese, as well as which
Xencoding it is in.
X
XIf the string does not contain Chinese characters, both the encoding
Xand variant values will be set to the empty string.
X
XThis module is needed because the various encodings for Chinese text
Xtend to occupy the similar byte ranges, rendering Encode::Guess
Xineffective.
X
XWWW:	http://search.cpan.org/dist/Lingua-ZH-HanDetect/
END-of-p5-Lingua-ZH-HanDetect/pkg-descr
echo x - p5-Lingua-ZH-HanDetect/Makefile
sed 's/^X//' >p5-Lingua-ZH-HanDetect/Makefile << 'END-of-p5-Lingua-ZH-HanDetect/Makefile'
X# New ports collection makefile for:	p5-Lingua-ZH-HanDetect
X# Date created:		2006-09-25
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Lingua-ZH-HanDetect
XPORTVERSION=	0.04
XCATEGORIES=	chinese perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Lingua
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Guess Chinese text\'s variant and encoding
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Lingua::ZH::HanDetect.3
X
X.include <bsd.port.mk>
END-of-p5-Lingua-ZH-HanDetect/Makefile
echo x - p5-Lingua-ZH-HanDetect/pkg-plist
sed 's/^X//' >p5-Lingua-ZH-HanDetect/pkg-plist << 'END-of-p5-Lingua-ZH-HanDetect/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect/.packlist
X%%SITE_PERL%%/Lingua/ZH/HanDetect.pm
X at dirrmtry %%SITE_PERL%%/Lingua/ZH
X at dirrmtry %%SITE_PERL%%/Lingua
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/HanDetect
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua
END-of-p5-Lingua-ZH-HanDetect/pkg-plist
echo x - p5-Lingua-ZH-HanDetect/distinfo
sed 's/^X//' >p5-Lingua-ZH-HanDetect/distinfo << 'END-of-p5-Lingua-ZH-HanDetect/distinfo'
XMD5 (Lingua-ZH-HanDetect-0.04.tar.gz) = bb86e8119d0d745013e45208468e34cc
XSHA256 (Lingua-ZH-HanDetect-0.04.tar.gz) = 92cff3451d13103afbdca1268c3dc51ab93343233a06b63d45f11d9a53d29aec
XSIZE (Lingua-ZH-HanDetect-0.04.tar.gz) = 4874
END-of-p5-Lingua-ZH-HanDetect/distinfo
exit
--- p5-Lingua-ZH-HanDetect-0.04.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list