aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-07-09 13:16:53 +0800
committerclsung <clsung@FreeBSD.org>2007-07-09 13:16:53 +0800
commit3bc578d42ee3c9069af55169a079e8dfa083ce7c (patch)
tree3537df9cca03785169ade7eba0912a43b073a6cd
parente0b9bec9507121de2b1f2211a6aad3b6380e66ce (diff)
downloadfreebsd-ports-gnome-3bc578d42ee3c9069af55169a079e8dfa083ce7c.tar.gz
freebsd-ports-gnome-3bc578d42ee3c9069af55169a079e8dfa083ce7c.tar.zst
freebsd-ports-gnome-3bc578d42ee3c9069af55169a079e8dfa083ce7c.zip
This is a text analyzer for analyzing CJK texts. Plucene does not
support CJK texts natively. This module encodes terms in MIME::Base64 format to get around this problem. Texts are assumbed to be in UTF-8 encoding. WWW: http://search.cpan.org/dist/Plucene-Analysis-CJKAnalyzer/ PR: ports/114376 Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Plucene-Analysis-CJKAnalyzer/Makefile26
-rw-r--r--textproc/p5-Plucene-Analysis-CJKAnalyzer/distinfo3
-rw-r--r--textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-descr6
-rw-r--r--textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-plist9
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ba899dcfa462..bd3b819393c7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -439,6 +439,7 @@
SUBDIR += p5-Petal-Utils
SUBDIR += p5-Plagger
SUBDIR += p5-Plucene
+ SUBDIR += p5-Plucene-Analysis-CJKAnalyzer
SUBDIR += p5-Plucene-Plugin-Analyzer-SnowballAnalyzer
SUBDIR += p5-Plucene-Simple
SUBDIR += p5-Pod-Constants
diff --git a/textproc/p5-Plucene-Analysis-CJKAnalyzer/Makefile b/textproc/p5-Plucene-Analysis-CJKAnalyzer/Makefile
new file mode 100644
index 000000000000..85e778563016
--- /dev/null
+++ b/textproc/p5-Plucene-Analysis-CJKAnalyzer/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Plucene-Analysis-CJKAnalyzer
+# Date created: 2007-07-07
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Plucene-Analysis-CJKAnalyzer
+PORTVERSION= 0.02
+CATEGORIES= textproc
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/X/XE/XERN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Analyzer for CJK texts
+
+RUN_DEPENDS= ${SITE_PERL}/Plucene.pm:${PORTSDIR}/textproc/p5-Plucene
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Plucene::Analysis::CJKAnalyzer.3 \
+ Plucene::Analysis::CJKTokenizer.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Plucene-Analysis-CJKAnalyzer/distinfo b/textproc/p5-Plucene-Analysis-CJKAnalyzer/distinfo
new file mode 100644
index 000000000000..1542d4a30438
--- /dev/null
+++ b/textproc/p5-Plucene-Analysis-CJKAnalyzer/distinfo
@@ -0,0 +1,3 @@
+MD5 (Plucene-Analysis-CJKAnalyzer-0.02.tar.gz) = 15999ae03734ca1eae43176619b21585
+SHA256 (Plucene-Analysis-CJKAnalyzer-0.02.tar.gz) = 8c813f6a1c37b62fe966b95fefaf3e5d927856710013d573bc71b5864041b97d
+SIZE (Plucene-Analysis-CJKAnalyzer-0.02.tar.gz) = 24890
diff --git a/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-descr b/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-descr
new file mode 100644
index 000000000000..4492bddfc190
--- /dev/null
+++ b/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-descr
@@ -0,0 +1,6 @@
+This is a text analyzer for analyzing CJK texts. Plucene does not
+support CJK texts natively. This module encodes terms in MIME::Base64
+format to get around this problem. Texts are assumbed to be in UTF-8
+encoding.
+
+WWW: http://search.cpan.org/dist/Plucene-Analysis-CJKAnalyzer/
diff --git a/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-plist b/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-plist
new file mode 100644
index 000000000000..422a7bc77609
--- /dev/null
+++ b/textproc/p5-Plucene-Analysis-CJKAnalyzer/pkg-plist
@@ -0,0 +1,9 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Analysis/CJKAnalyzer/.packlist
+%%SITE_PERL%%/Plucene/Analysis/CJKAnalyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/CJKTokenizer.pm
+@dirrmtry %%SITE_PERL%%/Plucene/Analysis
+@dirrmtry %%SITE_PERL%%/Plucene
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Analysis/CJKAnalyzer
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Analysis
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene