From 63b6853c4eee75f761c3d14906942c7411439057 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Thu, 1 Sep 2005 12:35:44 +0000 Subject: - add p5-Encode-HanExtra Encode::HanExtra - Extra sets of Chinese encodings This version includes the following encoding tables: Canonical Alias Description ----------------------------------------------------------------------------- big5-1984 /\b(tca-)?big5-?(19)?84$/i TCA's original Big5-1984 big5ext /\b(cmex-)?big5-?e(xt)?$/i CMEX's Big5e Extension big5plus /\b(cmex-)?big5-?p(lus)?$/i CMEX's Big5+ Extension /\b(cmex-)?big5\+$/i cccii /\b(ccag-)?cccii$/i Chinese Character Code for Information Interchange cns11643-1 /\bCNS[-_ ]?11643[-_]1$/i Taiwan's CNS map, plane 1 cns11643-2 /\bCNS[-_ ]?11643[-_]2$/i Taiwan's CNS map, plane 2 cns11643-3 /\bCNS[-_ ]?11643[-_]3$/i Taiwan's CNS map, plane 3 cns11643-4 /\bCNS[-_ ]?11643[-_]4$/i Taiwan's CNS map, plane 4 cns11643-5 /\bCNS[-_ ]?11643[-_]5$/i Taiwan's CNS map, plane 5 cns11643-6 /\bCNS[-_ ]?11643[-_]6$/i Taiwan's CNS map, plane 6 cns11643-7 /\bCNS[-_ ]?11643[-_]7$/i Taiwan's CNS map, plane 7 cns11643-f /\bCNS[-_ ]?11643[-_]f$/i Taiwan's CNS map, plane F euc-tw /\beuc.*tw$/i EUC (Extended Unix Character) /\btw.*euc$/i gb18030 /\bGB[-_ ]?18030$/i GBK with Traditional Characters unisys /\bunisys$/i Unisys Traditional Chinese unisys-sosi1 Unisys SOSI1 transport encoding unisys-sosi2 Unisys SOSI2 transport encoding WWW: http://search.cpan.org/dist/Encode-HanExtra/ --- chinese/p5-Encode-HanExtra/Makefile | 26 ++++++++++++++++++++++++++ chinese/p5-Encode-HanExtra/distinfo | 2 ++ chinese/p5-Encode-HanExtra/pkg-descr | 13 +++++++++++++ chinese/p5-Encode-HanExtra/pkg-plist | 13 +++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 chinese/p5-Encode-HanExtra/Makefile create mode 100644 chinese/p5-Encode-HanExtra/distinfo create mode 100644 chinese/p5-Encode-HanExtra/pkg-descr create mode 100644 chinese/p5-Encode-HanExtra/pkg-plist (limited to 'chinese/p5-Encode-HanExtra') diff --git a/chinese/p5-Encode-HanExtra/Makefile b/chinese/p5-Encode-HanExtra/Makefile new file mode 100644 index 000000000000..aa17430fa18e --- /dev/null +++ b/chinese/p5-Encode-HanExtra/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-Encode-HanExtra +# Date created: 19 August 2005 +# Whom: Yen-Ming Lee +# +# $FreeBSD$ +# + +PORTNAME= Encode-HanExtra +PORTVERSION= 0.10 +CATEGORIES= chinese perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Encode +PKGNAMEPREFIX= p5- + +MAINTAINER= leeym@FreeBSD.org +COMMENT= Extra sets of Chinese encodings + +PERL_CONFIGURE= yes + +.include + +.if ${PERL_LEVEL} < 500703 +IGNORE= requires Perl 5.7.3 or above +.endif + +.include diff --git a/chinese/p5-Encode-HanExtra/distinfo b/chinese/p5-Encode-HanExtra/distinfo new file mode 100644 index 000000000000..70272d1ab521 --- /dev/null +++ b/chinese/p5-Encode-HanExtra/distinfo @@ -0,0 +1,2 @@ +MD5 (Encode-HanExtra-0.10.tar.gz) = f6d47b3b698eb87574b873478cf09fee +SIZE (Encode-HanExtra-0.10.tar.gz) = 1328734 diff --git a/chinese/p5-Encode-HanExtra/pkg-descr b/chinese/p5-Encode-HanExtra/pkg-descr new file mode 100644 index 000000000000..de23addb46b3 --- /dev/null +++ b/chinese/p5-Encode-HanExtra/pkg-descr @@ -0,0 +1,13 @@ +Perl 5.7.3 and later ships with an adequate set of Chinese encodings, +including the commonly used CP950, CP936 (also known as GBK), Big5 +(alias for Big5-Eten), Big5-HKSCS, EUC-CN, HZ, and ISO-IR-165. + +However, the numbers of Chinese encodings are staggering, and a complete +coverage will easily increase the size of perl distribution by several +megabytes; hence, this CPAN module tries to provide the rest of them. + +If you are using perl 5.8 or later, Encode::CN and Encode::TW will +automatically load the extra encodings for you, so there's no need to +explicitly write use Encode::HanExtra if you are using one of them already. + +WWW: http://search.cpan.org/dist/Encode-HanExtra/ diff --git a/chinese/p5-Encode-HanExtra/pkg-plist b/chinese/p5-Encode-HanExtra/pkg-plist new file mode 100644 index 000000000000..127e5630ad22 --- /dev/null +++ b/chinese/p5-Encode-HanExtra/pkg-plist @@ -0,0 +1,13 @@ +lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Encode/ConfigLocal.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanExtra/HanExtra.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanExtra/HanExtra.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanExtra/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/HanExtra.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/TW/Unisys/SOSI1.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/TW/Unisys/SOSI2.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanExtra +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Encode/TW/Unisys +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Encode/TW +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Encode -- cgit v1.2.3