diff options
author | clsung <clsung@FreeBSD.org> | 2007-07-09 11:55:48 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-07-09 11:55:48 +0800 |
commit | 3c59bd8a8c58e394df3d966d0b562b92c55385a3 (patch) | |
tree | 7f6fb6cc356ed58dcce64acbb8d760494962cc4f /chinese/p5-Lingua-ZH-Segment | |
parent | 0ee5f4cfcb55c1ff758b4f2e955a89eb5a0e0352 (diff) | |
download | freebsd-ports-gnome-3c59bd8a8c58e394df3d966d0b562b92c55385a3.tar.gz freebsd-ports-gnome-3c59bd8a8c58e394df3d966d0b562b92c55385a3.tar.zst freebsd-ports-gnome-3c59bd8a8c58e394df3d966d0b562b92c55385a3.zip |
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/
PR: ports/113475
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'chinese/p5-Lingua-ZH-Segment')
-rw-r--r-- | chinese/p5-Lingua-ZH-Segment/Makefile | 28 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Segment/distinfo | 3 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Segment/pkg-descr | 4 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Segment/pkg-plist | 8 |
4 files changed, 43 insertions, 0 deletions
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 |