aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-09-01 20:35:44 +0800
committerleeym <leeym@FreeBSD.org>2005-09-01 20:35:44 +0800
commit6cf4c1bb5dde232ccb2d316d6705b257c024b750 (patch)
treea7e6949f31f378197970927d3605ee457df13949
parent752812576328c8bf5b06c464a5fbbde9a8b22367 (diff)
downloadfreebsd-ports-gnome-6cf4c1bb5dde232ccb2d316d6705b257c024b750.tar.gz
freebsd-ports-gnome-6cf4c1bb5dde232ccb2d316d6705b257c024b750.tar.zst
freebsd-ports-gnome-6cf4c1bb5dde232ccb2d316d6705b257c024b750.zip
- 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/
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Encode-HanExtra/Makefile26
-rw-r--r--chinese/p5-Encode-HanExtra/distinfo2
-rw-r--r--chinese/p5-Encode-HanExtra/pkg-descr13
-rw-r--r--chinese/p5-Encode-HanExtra/pkg-plist13
5 files changed, 55 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index c1377a190581..acf55a3eca9d 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -91,6 +91,7 @@
SUBDIR += oxford
SUBDIR += p5-Date-Chinese
SUBDIR += p5-Encode-HanConvert
+ SUBDIR += p5-Encode-HanExtra
SUBDIR += p5-Lingua-ZH-Keywords
SUBDIR += p5-Lingua-ZH-Numbers
SUBDIR += p5-Lingua-ZH-Summarize
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 <leeym@FreeBSD.org>
+#
+# $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 <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+IGNORE= requires Perl 5.7.3 or above
+.endif
+
+.include <bsd.port.post.mk>
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