aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-Han-PinYin/Makefile31
-rw-r--r--chinese/p5-Lingua-Han-PinYin/distinfo3
-rw-r--r--chinese/p5-Lingua-Han-PinYin/pkg-descr4
-rw-r--r--chinese/p5-Lingua-Han-PinYin/pkg-plist10
5 files changed, 49 insertions, 0 deletions
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 <gslin@gslin.org>
+#
+# $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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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