diff options
author | mat <mat@FreeBSD.org> | 2003-10-13 20:52:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-13 20:52:25 +0800 |
commit | ae60080b7d9381acdd8ab43246560cc201bc6976 (patch) | |
tree | bcda6eb80f22ccbf641190c6bc3773ee8499f40e /chinese | |
parent | c3bb235d44851d186fbec2d807f88fa3923a4bd1 (diff) | |
download | freebsd-ports-gnome-ae60080b7d9381acdd8ab43246560cc201bc6976.tar.gz freebsd-ports-gnome-ae60080b7d9381acdd8ab43246560cc201bc6976.tar.zst freebsd-ports-gnome-ae60080b7d9381acdd8ab43246560cc201bc6976.zip |
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 15bbda625cae..2a8f615bf810 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 000000000000..1b82621c8cbc --- /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 000000000000..6155154bb0ab --- /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 000000000000..b0c221a851cc --- /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 000000000000..479fca35a85e --- /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 |