From 6e1f19d78463f6da15f5dd2a7937fc496b52afd2 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Tue, 10 Oct 2006 11:42:06 +0000 Subject: Add p5-Lingua-Han-PinYin 0.06, retrieve the Mandarin(PinYin) of Chinese character(HanZi). PR: ports/102939 Submitted by: Gea-Suan Lin --- chinese/Makefile | 1 + chinese/p5-Lingua-Han-PinYin/Makefile | 31 +++++++++++++++++++++++++++++++ chinese/p5-Lingua-Han-PinYin/distinfo | 3 +++ chinese/p5-Lingua-Han-PinYin/pkg-descr | 4 ++++ chinese/p5-Lingua-Han-PinYin/pkg-plist | 10 ++++++++++ 5 files changed, 49 insertions(+) create mode 100644 chinese/p5-Lingua-Han-PinYin/Makefile create mode 100644 chinese/p5-Lingua-Han-PinYin/distinfo create mode 100644 chinese/p5-Lingua-Han-PinYin/pkg-descr create mode 100644 chinese/p5-Lingua-Han-PinYin/pkg-plist (limited to 'chinese') diff --git a/chinese/Makefile b/chinese/Makefile index 795a5208b22a..bef0bfcf4d10 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -91,6 +91,7 @@ SUBDIR += p5-Date-Chinese SUBDIR += p5-Encode-HanConvert SUBDIR += p5-Encode-HanExtra + SUBDIR += p5-Lingua-Han-PinYin SUBDIR += p5-Lingua-Han-Utils SUBDIR += p5-Lingua-ZH-BPMFConvert SUBDIR += p5-Lingua-ZH-HanDetect diff --git a/chinese/p5-Lingua-Han-PinYin/Makefile b/chinese/p5-Lingua-Han-PinYin/Makefile new file mode 100644 index 000000000000..5bf8f9c16095 --- /dev/null +++ b/chinese/p5-Lingua-Han-PinYin/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Lingua-Han-PinYin +# Date created: 2006-09-06 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Lingua-Han-PinYin +PORTVERSION= 0.06 +CATEGORIES= chinese perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Retrieve the Mandarin(PinYin) of Chinese character(HanZi) + +RUN_DEPENDS= ${SITE_PERL}/Lingua/Han/Utils.pm:${PORTSDIR}/chinese/p5-Lingua-Han-Utils +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Lingua::Han::PinYin.3 + +.include + +.if ${PERL_LEVEL} < 500600 # Inherited from converters/p5-Lingua-Han-Utils +IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again +.endif + +.include diff --git a/chinese/p5-Lingua-Han-PinYin/distinfo b/chinese/p5-Lingua-Han-PinYin/distinfo new file mode 100644 index 000000000000..0868445e24eb --- /dev/null +++ b/chinese/p5-Lingua-Han-PinYin/distinfo @@ -0,0 +1,3 @@ +MD5 (Lingua-Han-PinYin-0.06.tar.gz) = b1802919e7ddfc695a11e09ac0e45366 +SHA256 (Lingua-Han-PinYin-0.06.tar.gz) = b6a04636cd61241f9bef68cea5f7f547e46d2c67c9a671f13a85e6c0b12cf49d +SIZE (Lingua-Han-PinYin-0.06.tar.gz) = 148110 diff --git a/chinese/p5-Lingua-Han-PinYin/pkg-descr b/chinese/p5-Lingua-Han-PinYin/pkg-descr new file mode 100644 index 000000000000..8f95960b27dd --- /dev/null +++ b/chinese/p5-Lingua-Han-PinYin/pkg-descr @@ -0,0 +1,4 @@ +There is a Chinese document @ http://www.fayland.org/project/Han-PinYin/. +It tells why and how I write this module. + +WWW: http://search.cpan.org/dist/Lingua-Han-PinYin/ diff --git a/chinese/p5-Lingua-Han-PinYin/pkg-plist b/chinese/p5-Lingua-Han-PinYin/pkg-plist new file mode 100644 index 000000000000..840c289cc7cf --- /dev/null +++ b/chinese/p5-Lingua-Han-PinYin/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han/PinYin/.packlist +%%SITE_PERL%%/Lingua/Han/PinYin.pm +%%SITE_PERL%%/Lingua/Han/PinYin/Mandarin.dat +@dirrmtry %%SITE_PERL%%/Lingua/Han/PinYin +@dirrmtry %%SITE_PERL%%/Lingua/Han +@dirrmtry %%SITE_PERL%%/Lingua +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han/PinYin +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua -- cgit v1.2.3