aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-27 15:12:36 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-27 15:12:36 +0000
commit610a8e28b39f94d65753ff4d93682f1b58777611 (patch)
tree197ca9f3aff38618551b87188f4e0ec874266c33 /chinese
parentc505c1b45e84edea56a407db66881bdf73dbf02b (diff)
downloadports-610a8e28b39f94d65753ff4d93682f1b58777611.tar.gz
ports-610a8e28b39f94d65753ff4d93682f1b58777611.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-ZH-BPMFConvert/Makefile28
-rw-r--r--chinese/p5-Lingua-ZH-BPMFConvert/distinfo3
-rw-r--r--chinese/p5-Lingua-ZH-BPMFConvert/pkg-descr6
-rw-r--r--chinese/p5-Lingua-ZH-BPMFConvert/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 0b165e0a1f6f..ae51da74fa53 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-ZH-BPMFConvert
SUBDIR += p5-Lingua-ZH-Keywords
SUBDIR += p5-Lingua-ZH-Numbers
SUBDIR += p5-Lingua-ZH-Summarize
diff --git a/chinese/p5-Lingua-ZH-BPMFConvert/Makefile b/chinese/p5-Lingua-ZH-BPMFConvert/Makefile
new file mode 100644
index 000000000000..86bfc9639e52
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-BPMFConvert/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Lingua-ZH-BPMFConvert
+# Date created: 2006-09-06
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-ZH-BPMFConvert
+PORTVERSION= 0.01
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Rule-based conversion of BPMF (bopomofo) into Hanyu Pinyin
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::ZH::BPMFConvert.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/chinese/p5-Lingua-ZH-BPMFConvert/distinfo b/chinese/p5-Lingua-ZH-BPMFConvert/distinfo
new file mode 100644
index 000000000000..c3f3e64e5069
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-BPMFConvert/distinfo
@@ -0,0 +1,3 @@
+MD5 (Lingua-ZH-BPMFConvert-0.01.tar.gz) = 15d8f278622f141c008a662d998d3cdf
+SHA256 (Lingua-ZH-BPMFConvert-0.01.tar.gz) = f30b972af237108f0c3692101ba756059b3463988f9a8025dbd2e13570238171
+SIZE (Lingua-ZH-BPMFConvert-0.01.tar.gz) = 3505
diff --git a/chinese/p5-Lingua-ZH-BPMFConvert/pkg-descr b/chinese/p5-Lingua-ZH-BPMFConvert/pkg-descr
new file mode 100644
index 000000000000..1a4a3e10f8ec
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-BPMFConvert/pkg-descr
@@ -0,0 +1,6 @@
+This is a rule-based convertor of BPMF into Hanyu Pinyin. Unlike
+previous modules it does not rely on any data table, therefore it is
+possible to convert neophonisms (new phonetic combinations previously
+not existing in Mandarin) into corresponding Hanyu Pinyin.
+
+WWW: http://search.cpan.org/dist/Lingua-ZH-BPMFConvert/
diff --git a/chinese/p5-Lingua-ZH-BPMFConvert/pkg-plist b/chinese/p5-Lingua-ZH-BPMFConvert/pkg-plist
new file mode 100644
index 000000000000..c79132162177
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-BPMFConvert/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/BPMFConvert/.packlist
+%%SITE_PERL%%/Lingua/ZH/BPMFConvert.pm
+@dirrmtry %%SITE_PERL%%/Lingua/ZH
+@dirrmtry %%SITE_PERL%%/Lingua
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/BPMFConvert
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua