aboutsummaryrefslogtreecommitdiff
path: root/chinese/p5-Lingua-ZH-Toke
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-13 12:52:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-13 12:52:25 +0000
commitd013a055ba0550bc20954744bca493393fb45e3e (patch)
tree28d41c610b274a9d19a5629cc41e59107c0c008e /chinese/p5-Lingua-ZH-Toke
parent97f4bec7a56acb1a1e091208ca5f98d5e0842dbe (diff)
downloadports-d013a055ba0550bc20954744bca493393fb45e3e.tar.gz
ports-d013a055ba0550bc20954744bca493393fb45e3e.zip
Notes
Diffstat (limited to 'chinese/p5-Lingua-ZH-Toke')
-rw-r--r--chinese/p5-Lingua-ZH-Toke/Makefile30
-rw-r--r--chinese/p5-Lingua-ZH-Toke/distinfo1
-rw-r--r--chinese/p5-Lingua-ZH-Toke/pkg-descr6
-rw-r--r--chinese/p5-Lingua-ZH-Toke/pkg-plist7
4 files changed, 44 insertions, 0 deletions
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