aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-07-09 03:55:48 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-07-09 03:55:48 +0000
commita8a0a1e8ca72dab512535d30840ed25a6ea25bf2 (patch)
tree47d7ac691540a64bdba5d707965c85828e23e700 /chinese
parent0f9888f066b1b662e674c9753e9a9cbc54aa5758 (diff)
downloadports-a8a0a1e8ca72dab512535d30840ed25a6ea25bf2.tar.gz
ports-a8a0a1e8ca72dab512535d30840ed25a6ea25bf2.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-ZH-Segment/Makefile28
-rw-r--r--chinese/p5-Lingua-ZH-Segment/distinfo3
-rw-r--r--chinese/p5-Lingua-ZH-Segment/pkg-descr4
-rw-r--r--chinese/p5-Lingua-ZH-Segment/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 810a428c7279..001c05eba4fc 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -95,6 +95,7 @@
SUBDIR += p5-Lingua-ZH-HanDetect
SUBDIR += p5-Lingua-ZH-Keywords
SUBDIR += p5-Lingua-ZH-Numbers
+ SUBDIR += p5-Lingua-ZH-Segment
SUBDIR += p5-Lingua-ZH-Summarize
SUBDIR += p5-Lingua-ZH-TaBE
SUBDIR += p5-Lingua-ZH-Toke
diff --git a/chinese/p5-Lingua-ZH-Segment/Makefile b/chinese/p5-Lingua-ZH-Segment/Makefile
new file mode 100644
index 000000000000..8699e9b7fdb1
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Segment/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Lingua-ZH-Segment
+# Date created: 2007-06-08
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-ZH-Segment
+PORTVERSION= 0.01
+CATEGORIES= chinese perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Chinese Text Segmentation
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::ZH::Segment.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500801
+IGNORE= requires Perl 5.8.1 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/chinese/p5-Lingua-ZH-Segment/distinfo b/chinese/p5-Lingua-ZH-Segment/distinfo
new file mode 100644
index 000000000000..1033895719ee
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Segment/distinfo
@@ -0,0 +1,3 @@
+MD5 (Lingua-ZH-Segment-0.01.tar.gz) = 2d8328b3e274514125d00e89da4ebf8a
+SHA256 (Lingua-ZH-Segment-0.01.tar.gz) = 9efc9f3c988959d8cd50dab4310a540776efcdd50485bf0bf84990363937ba3d
+SIZE (Lingua-ZH-Segment-0.01.tar.gz) = 8238
diff --git a/chinese/p5-Lingua-ZH-Segment/pkg-descr b/chinese/p5-Lingua-ZH-Segment/pkg-descr
new file mode 100644
index 000000000000..e79602647cf8
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Segment/pkg-descr
@@ -0,0 +1,4 @@
+This module currently only break chinese text into single character
+(Chinese word), it will not break up any alphabet.
+
+WWW: http://search.cpan.org/dist/Lingua-ZH-Segment/
diff --git a/chinese/p5-Lingua-ZH-Segment/pkg-plist b/chinese/p5-Lingua-ZH-Segment/pkg-plist
new file mode 100644
index 000000000000..02a7457cc3c9
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Segment/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Segment/.packlist
+%%SITE_PERL%%/Lingua/ZH/Segment.pm
+@dirrmtry %%SITE_PERL%%/Lingua/ZH
+@dirrmtry %%SITE_PERL%%/Lingua
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Segment
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua