diff options
author | mat <mat@FreeBSD.org> | 2003-10-13 12:52:25 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-13 12:52:25 +0000 |
commit | ae60080b7d9381acdd8ab43246560cc201bc6976 (patch) | |
tree | bcda6eb80f22ccbf641190c6bc3773ee8499f40e /chinese | |
parent | c3bb235d44851d186fbec2d807f88fa3923a4bd1 (diff) | |
download | FreeBSD-ports-ae60080b7d9381acdd8ab43246560cc201bc6976.zip FreeBSD-ports-ae60080b7d9381acdd8ab43246560cc201bc6976.tar.gz |
Add p5-Lingua-ZH-Toke 0.01, a Chinese Tokenizer on steroids.
PR: 57950
Submitted by: clsung@dragon2.net
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Toke/Makefile | 30 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Toke/distinfo | 1 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Toke/pkg-descr | 6 | ||||
-rw-r--r-- | chinese/p5-Lingua-ZH-Toke/pkg-plist | 7 |
5 files changed, 45 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 15bbda6..2a8f615 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -82,6 +82,7 @@ SUBDIR += p5-Lingua-ZH-Keywords SUBDIR += p5-Lingua-ZH-Numbers SUBDIR += p5-Lingua-ZH-TaBE + SUBDIR += p5-Lingua-ZH-Toke SUBDIR += pine4 SUBDIR += pyDict SUBDIR += qe diff --git a/chinese/p5-Lingua-ZH-Toke/Makefile b/chinese/p5-Lingua-ZH-Toke/Makefile new file mode 100644 index 0000000..1b82621 --- /dev/null +++ b/chinese/p5-Lingua-ZH-Toke/Makefile @@ -0,0 +1,30 @@ +# Ports collection makefile for: p5-Lingua-ZH-Toke +# Date Created: Oct 13th 2003 +# Whom: clsung@dragon2.net +# +# $FreeBSD$ + +PORTNAME= Lingua-ZH-Toke +PORTVERSION= 0.01 +CATEGORIES= chinese perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org +COMMENT= A Chinese Tokenizer on steroids + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Lingua/ZH/TaBE.pm:${PORTSDIR}/chinese/p5-Lingua-ZH-TaBE +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Lingua::ZH::Toke.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/chinese/p5-Lingua-ZH-Toke/distinfo b/chinese/p5-Lingua-ZH-Toke/distinfo new file mode 100644 index 0000000..6155154 --- /dev/null +++ b/chinese/p5-Lingua-ZH-Toke/distinfo @@ -0,0 +1 @@ +MD5 (Lingua-ZH-Toke-0.01.tar.gz) = 7fd47ebb027f9472e05a514a310a5241 diff --git a/chinese/p5-Lingua-ZH-Toke/pkg-descr b/chinese/p5-Lingua-ZH-Toke/pkg-descr new file mode 100644 index 0000000..b0c221a --- /dev/null +++ b/chinese/p5-Lingua-ZH-Toke/pkg-descr @@ -0,0 +1,6 @@ +This modules requires Lingua::ZH::TaBE, a Chinese Tokenizer on +steroids; it's a thin wrapper around Lingua::ZH::TaBE, as well as its +interface with overload and utf8 semantics. + +-- Autrijus Tang +autrijus@autrijus.org diff --git a/chinese/p5-Lingua-ZH-Toke/pkg-plist b/chinese/p5-Lingua-ZH-Toke/pkg-plist new file mode 100644 index 0000000..479fca3 --- /dev/null +++ b/chinese/p5-Lingua-ZH-Toke/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Lingua/ZH/Toke.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Toke/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Toke +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Lingua/ZH 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true |