aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-27 23:12:36 +0800
committerclsung <clsung@FreeBSD.org>2006-09-27 23:12:36 +0800
commit83ea99d09d123fc22404e7020681328d031517ae (patch)
treeea78b66f23fe722a2b5014471b9d63b8dc940c97 /chinese
parentdbd91444b0c5a3d492fa2613404772b385185002 (diff)
downloadfreebsd-ports-gnome-83ea99d09d123fc22404e7020681328d031517ae.tar.gz
freebsd-ports-gnome-83ea99d09d123fc22404e7020681328d031517ae.tar.zst
freebsd-ports-gnome-83ea99d09d123fc22404e7020681328d031517ae.zip
Add p5-Lingua-ZH-BPMFConvert 0.01, rule-based conversion of BPMF
(bopomofo) into Hanyu Pinyin. PR: ports/102941 Submitted by: Gea-Suan Lin <gslin at gslin.org>
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