diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-04-27 08:09:52 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-04-27 08:09:52 +0800 |
commit | 7940b34c116b8cb8924d4eb75d7abaed473a5512 (patch) | |
tree | 64c0f2bab63d6b9f72740cd5a222bc7747fc6aa3 | |
parent | 0124c2052e0d83785339deba3da582b500bb6c12 (diff) | |
download | freebsd-ports-gnome-7940b34c116b8cb8924d4eb75d7abaed473a5512.tar.gz freebsd-ports-gnome-7940b34c116b8cb8924d4eb75d7abaed473a5512.tar.zst freebsd-ports-gnome-7940b34c116b8cb8924d4eb75d7abaed473a5512.zip |
Add p5-Encode-HanConvert 0.24,
traditional and Simplified Chinese
mappings.
PR: 50950
Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/p5-Encode-HanConvert/Makefile | 24 | ||||
-rw-r--r-- | chinese/p5-Encode-HanConvert/distinfo | 1 | ||||
-rw-r--r-- | chinese/p5-Encode-HanConvert/pkg-descr | 14 | ||||
-rw-r--r-- | chinese/p5-Encode-HanConvert/pkg-plist | 12 |
5 files changed, 52 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index e5d103c3e90c..5d0af7fe830d 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -76,6 +76,7 @@ SUBDIR += openoffice-zh_CN SUBDIR += openoffice-zh_TW SUBDIR += p5-Date-Chinese + SUBDIR += p5-Encode-HanConvert SUBDIR += p5-Lingua-ZH-Numbers SUBDIR += p5-Lingua-ZH-TaBE SUBDIR += pine4 diff --git a/chinese/p5-Encode-HanConvert/Makefile b/chinese/p5-Encode-HanConvert/Makefile new file mode 100644 index 000000000000..a719e407df4a --- /dev/null +++ b/chinese/p5-Encode-HanConvert/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Encode-HanConvert +# Date created: 15 April 2003 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= Encode-HanConvert +PORTVERSION= 0.24 +CATEGORIES= chinese +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= LWP/AUTRIJUS +PKGNAMEPREFIX= p5- + +MAINTAINER= statue@freebsd.sinica.edu.tw +COMMENT= Traditional and Simplified Chinese mappings + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN1= b2g.pl.1 g2b.pl.1 +#MAN3= Encode::HanConvert.3 Encode::HanConvert::Perl.3 + +.include <bsd.port.mk> diff --git a/chinese/p5-Encode-HanConvert/distinfo b/chinese/p5-Encode-HanConvert/distinfo new file mode 100644 index 000000000000..af7990dbf648 --- /dev/null +++ b/chinese/p5-Encode-HanConvert/distinfo @@ -0,0 +1 @@ +MD5 (Encode-HanConvert-0.24.tar.gz) = 1b098ca2a6ca68436c3de475e1edecc9 diff --git a/chinese/p5-Encode-HanConvert/pkg-descr b/chinese/p5-Encode-HanConvert/pkg-descr new file mode 100644 index 000000000000..138c7143d9dc --- /dev/null +++ b/chinese/p5-Encode-HanConvert/pkg-descr @@ -0,0 +1,14 @@ +This module is an attempt to solve most common problems occured in +Traditional vs. Simplified Chinese conversion, in an efficient, +flexible way, without resorting to external tools or modules. + +After installing this module, you'll have two additional encoding +formats: big5-simp maps Big5 into Unicode's Simplified Chinese +(and vice versa), and gbk-trad maps CP936 (better known as GBK) +into Unicode's Traditional Chinese and back. + +The module exports various xxx_to_yyy functions by default, where +xxx and yyy are one of big5, gb (i.e. GBK/CP936), simp (simplified +Chinese unicode), or trad (traditional Chinese unicode). + +WWW: http://search.cpan.org/search?dist=Encode-HanConvert diff --git a/chinese/p5-Encode-HanConvert/pkg-plist b/chinese/p5-Encode-HanConvert/pkg-plist new file mode 100644 index 000000000000..6fba0c65a995 --- /dev/null +++ b/chinese/p5-Encode-HanConvert/pkg-plist @@ -0,0 +1,12 @@ +bin/b2g.pl +bin/g2b.pl +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/HanConvert.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/HanConvert/Perl.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Encode/HanConvert/Perl.pm-orig +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanConvert/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanConvert/HanConvert.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanConvert/HanConvert.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/HanConvert +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Encode/HanConvert +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Encode |