aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-04-23 16:44:40 +0800
committererwin <erwin@FreeBSD.org>2006-04-23 16:44:40 +0800
commit57f37655fe73ab6f66cc93e4a2c439abb48f2722 (patch)
tree4f86197e8caf1320fc87b77649c285ba80ead598 /textproc
parent54a5fe6b4bed154ada53d9852ff0387c0b05c3d2 (diff)
downloadfreebsd-ports-gnome-57f37655fe73ab6f66cc93e4a2c439abb48f2722.tar.gz
freebsd-ports-gnome-57f37655fe73ab6f66cc93e4a2c439abb48f2722.tar.zst
freebsd-ports-gnome-57f37655fe73ab6f66cc93e4a2c439abb48f2722.zip
KinoSearch is a loose port of the Java search engine library Apache Lucene,
written in Perl and C. The archetypal application is website search, but it can be put to many different uses. Features * Extremely fast and scalable - can handle millions of documents * Full support for 12 Indo-European languages. * Support for boolean operators AND, OR, and AND NOT; parenthetical groupings, and prepended +plus and -minus * Algorithmic selection of relevant excerpts and highlighting of search terms within excerpts * Highly customizable query and indexing APIs * Phrase matching * Stemming * Stoplists WWW: http://www.rectangular.com/kinosearch/ PR: ports/96115 Submitted by: Vivek Khera <vivek@khera.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-KinoSearch/Makefile113
-rw-r--r--textproc/p5-KinoSearch/distinfo3
-rw-r--r--textproc/p5-KinoSearch/pkg-descr17
-rw-r--r--textproc/p5-KinoSearch/pkg-plist94
5 files changed, 228 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 7895d8573e34..d4c592795b44 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -318,6 +318,7 @@
SUBDIR += p5-Hash-Merge
SUBDIR += p5-IDNA-Punycode
SUBDIR += p5-IO-CSVHeaderFile
+ SUBDIR += p5-KinoSearch
SUBDIR += p5-LJ-SpellCheck
SUBDIR += p5-Lingua-Conjunction
SUBDIR += p5-Lingua-EN-AddressParse
diff --git a/textproc/p5-KinoSearch/Makefile b/textproc/p5-KinoSearch/Makefile
new file mode 100644
index 000000000000..b9fce6070c6b
--- /dev/null
+++ b/textproc/p5-KinoSearch/Makefile
@@ -0,0 +1,113 @@
+# New ports collection makefile for: p5-KinoSearch
+# Date created: Thu Apr 20 15:08:34 EDT 2006
+# Whom: Vivek Khera <vivek@khera.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= KinoSearch
+PORTVERSION= 0.09
+CATEGORIES= textproc perl5
+#MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITES= http://www.rectangular.com/downloads/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= vivek@khera.org
+COMMENT= A Perl search engine library
+
+BUILD_DEPENDS= ${SITE_PERL}/Lingua/StopWords.pm:${PORTSDIR}/textproc/p5-Lingua-StopWords \
+ ${SITE_PERL}/${PERL_ARCH}/Lingua/Stem/Snowball.pm:${PORTSDIR}/textproc/p5-Lingua-Stem-Snowball \
+ ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= KinoSearch.3 \
+ KinoSearch::Analysis::Analyzer.3 \
+ KinoSearch::Analysis::LCNormalizer.3 \
+ KinoSearch::Analysis::PolyAnalyzer.3 \
+ KinoSearch::Analysis::Stemmer.3 \
+ KinoSearch::Analysis::Stopalizer.3 \
+ KinoSearch::Analysis::TokenBatch.3 \
+ KinoSearch::Analysis::Tokenizer.3 \
+ KinoSearch::Docs::DevGuide.3 \
+ KinoSearch::Docs::FileFormat.3 \
+ KinoSearch::Docs::Tutorial.3 \
+ KinoSearch::Document::Doc.3 \
+ KinoSearch::Document::Field.3 \
+ KinoSearch::Highlight::Highlighter.3 \
+ KinoSearch::Index::CompoundFileReader.3 \
+ KinoSearch::Index::CompoundFileWriter.3 \
+ KinoSearch::Index::DelDocs.3 \
+ KinoSearch::Index::FieldInfos.3 \
+ KinoSearch::Index::FieldsReader.3 \
+ KinoSearch::Index::FieldsWriter.3 \
+ KinoSearch::Index::IndexFileNames.3 \
+ KinoSearch::Index::IndexReader.3 \
+ KinoSearch::Index::MultiReader.3 \
+ KinoSearch::Index::MultiTermDocs.3 \
+ KinoSearch::Index::NormsReader.3 \
+ KinoSearch::Index::PostingsWriter.3 \
+ KinoSearch::Index::SegInfos.3 \
+ KinoSearch::Index::SegReader.3 \
+ KinoSearch::Index::SegTermDocs.3 \
+ KinoSearch::Index::SegTermEnum.3 \
+ KinoSearch::Index::SegWriter.3 \
+ KinoSearch::Index::Term.3 \
+ KinoSearch::Index::TermBuffer.3 \
+ KinoSearch::Index::TermDocs.3 \
+ KinoSearch::Index::TermEnum.3 \
+ KinoSearch::Index::TermInfo.3 \
+ KinoSearch::Index::TermInfosReader.3 \
+ KinoSearch::Index::TermInfosWriter.3 \
+ KinoSearch::Index::TermVector.3 \
+ KinoSearch::InvIndexer.3 \
+ KinoSearch::QueryParser::QueryParser.3 \
+ KinoSearch::Search::BooleanClause.3 \
+ KinoSearch::Search::BooleanQuery.3 \
+ KinoSearch::Search::BooleanScorer.3 \
+ KinoSearch::Search::HitCollector.3 \
+ KinoSearch::Search::HitDoc.3 \
+ KinoSearch::Search::HitQueue.3 \
+ KinoSearch::Search::Hits.3 \
+ KinoSearch::Search::PhraseQuery.3 \
+ KinoSearch::Search::PhraseScorer.3 \
+ KinoSearch::Search::Query.3 \
+ KinoSearch::Search::QueryFilter.3 \
+ KinoSearch::Search::Scorer.3 \
+ KinoSearch::Search::Searchable.3 \
+ KinoSearch::Search::Similarity.3 \
+ KinoSearch::Search::TermQuery.3 \
+ KinoSearch::Search::TermScorer.3 \
+ KinoSearch::Search::Weight.3 \
+ KinoSearch::Searcher.3 \
+ KinoSearch::Store::FSInvIndex.3 \
+ KinoSearch::Store::FSLock.3 \
+ KinoSearch::Store::InStream.3 \
+ KinoSearch::Store::InvIndex.3 \
+ KinoSearch::Store::Lock.3 \
+ KinoSearch::Store::OutStream.3 \
+ KinoSearch::Store::RAMInvIndex.3 \
+ KinoSearch::Store::RAMLock.3 \
+ KinoSearch::Util::BitVector.3 \
+ KinoSearch::Util::ByteBuf.3 \
+ KinoSearch::Util::CClass.3 \
+ KinoSearch::Util::Carp.3 \
+ KinoSearch::Util::Class.3 \
+ KinoSearch::Util::IntMap.3 \
+ KinoSearch::Util::MathUtils.3 \
+ KinoSearch::Util::MemManager.3 \
+ KinoSearch::Util::PriorityQueue.3 \
+ KinoSearch::Util::SortExternal.3 \
+ KinoSearch::Util::StringHelper.3 \
+ KinoSearch::Util::ToStringUtils.3 \
+ KinoSearch::Util::ToolSet.3 \
+ KinoSearch::Util::VerifyArgs.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-KinoSearch/distinfo b/textproc/p5-KinoSearch/distinfo
new file mode 100644
index 000000000000..7d52eb8ed045
--- /dev/null
+++ b/textproc/p5-KinoSearch/distinfo
@@ -0,0 +1,3 @@
+MD5 (KinoSearch-0.09.tar.gz) = 698217e7a7c75be02eedf1225efb7a98
+SHA256 (KinoSearch-0.09.tar.gz) = aaf010907fefd806eb15ca5f51bdd466811c73f50d0a6678dff6bcd375431a3b
+SIZE (KinoSearch-0.09.tar.gz) = 196257
diff --git a/textproc/p5-KinoSearch/pkg-descr b/textproc/p5-KinoSearch/pkg-descr
new file mode 100644
index 000000000000..16fb8657cd18
--- /dev/null
+++ b/textproc/p5-KinoSearch/pkg-descr
@@ -0,0 +1,17 @@
+KinoSearch is a loose port of the Java search engine library Apache Lucene,
+written in Perl and C. The archetypal application is website search, but it
+can be put to many different uses.
+
+Features
+ * Extremely fast and scalable - can handle millions of documents
+ * Full support for 12 Indo-European languages.
+ * Support for boolean operators AND, OR, and AND NOT; parenthetical
+ groupings, and prepended +plus and -minus
+ * Algorithmic selection of relevant excerpts and highlighting of search terms
+ within excerpts
+ * Highly customizable query and indexing APIs
+ * Phrase matching
+ * Stemming
+ * Stoplists
+
+WWW: http://www.rectangular.com/kinosearch/
diff --git a/textproc/p5-KinoSearch/pkg-plist b/textproc/p5-KinoSearch/pkg-plist
new file mode 100644
index 000000000000..53ee724c8ece
--- /dev/null
+++ b/textproc/p5-KinoSearch/pkg-plist
@@ -0,0 +1,94 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/KinoSearch/KinoSearch.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/KinoSearch/KinoSearch.so
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/InvIndexer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Searcher.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/Analyzer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/LCNormalizer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/PolyAnalyzer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/Stemmer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/Stopalizer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/TokenBatch.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis/Tokenizer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Docs/DevGuide.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Docs/FileFormat.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Docs/Tutorial.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Document/Doc.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Document/Field.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Highlight/Highlighter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/CompoundFileReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/CompoundFileWriter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/DelDocs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/FieldInfos.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/FieldsReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/FieldsWriter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/IndexFileNames.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/IndexReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/MultiReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/MultiTermDocs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/NormsReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/PostingsWriter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/SegInfos.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/SegReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/SegTermDocs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/SegTermEnum.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/SegWriter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/Term.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermBuffer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermDocs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermEnum.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermInfo.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermInfosReader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermInfosWriter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index/TermVector.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/QueryParser/QueryParser.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/BooleanClause.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/BooleanQuery.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/BooleanScorer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/HitCollector.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/HitDoc.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/HitQueue.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Hits.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/PhraseQuery.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/PhraseScorer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Query.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/QueryFilter.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Scorer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Searchable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Similarity.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/TermQuery.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/TermScorer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search/Weight.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/FSInvIndex.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/FSLock.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/InStream.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/InvIndex.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/Lock.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/OutStream.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/RAMInvIndex.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store/RAMLock.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/BitVector.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/ByteBuf.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/CClass.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/Carp.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/Class.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/IntMap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/MathUtils.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/MemManager.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/PriorityQueue.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/SortExternal.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/StringHelper.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/ToStringUtils.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/ToolSet.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util/VerifyArgs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Analysis
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Docs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Document
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Highlight
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Index
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/QueryParser
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Search
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Store
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch/Util
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/KinoSearch
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/KinoSearch