aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-07-29 17:58:29 +0800
committertobez <tobez@FreeBSD.org>2004-07-29 17:58:29 +0800
commit6646ab81ba606f0321bfe124a084f08714288f9f (patch)
tree3148330bde5d6f07867be4614468575b2920c816 /textproc
parent5d384eb0e08c39093aa60d8549b41028564bf557 (diff)
downloadfreebsd-ports-gnome-6646ab81ba606f0321bfe124a084f08714288f9f.tar.gz
freebsd-ports-gnome-6646ab81ba606f0321bfe124a084f08714288f9f.tar.zst
freebsd-ports-gnome-6646ab81ba606f0321bfe124a084f08714288f9f.zip
Add textproc/p5-Plucene, a Perl port of the Java Lucene search engine.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Plucene/Makefile110
-rw-r--r--textproc/p5-Plucene/distinfo2
-rw-r--r--textproc/p5-Plucene/pkg-descr11
-rw-r--r--textproc/p5-Plucene/pkg-plist77
5 files changed, 201 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index cc78365ca2d3..bfb2131539d5 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -274,6 +274,7 @@
SUBDIR += p5-Parse-Syslog
SUBDIR += p5-PerlPoint-Converters
SUBDIR += p5-PerlPoint-Package
+ SUBDIR += p5-Plucene
SUBDIR += p5-Pod-Constants
SUBDIR += p5-Pod-Escapes
SUBDIR += p5-Pod-POM
diff --git a/textproc/p5-Plucene/Makefile b/textproc/p5-Plucene/Makefile
new file mode 100644
index 000000000000..c41606f58094
--- /dev/null
+++ b/textproc/p5-Plucene/Makefile
@@ -0,0 +1,110 @@
+# New ports collection makefile for: textproc/p5-Plucene
+# Date created: 29 July 2004
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Plucene
+PORTVERSION= 1.19
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/S/SI/SIMON
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Perl port of the Java Lucene search engine
+
+BUILD_DEPENDS= ${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize \
+ ${SITE_PERL}/Tie/Array/Sorted.pm:${PORTSDIR}/devel/p5-Tie-Array-Sorted \
+ ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
+ ${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
+ ${SITE_PERL}/Class/Virtual.pm:${PORTSDIR}/devel/p5-Class-Virtual \
+ ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
+ ${SITE_PERL}/${PERL_ARCH}/Time/Piece.pm:${PORTSDIR}/devel/p5-Time-Piece \
+ ${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
+ ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ ${SITE_PERL}/Lingua/Stem/En.pm:${PORTSDIR}/textproc/p5-Lingua-Stem \
+ ${SITE_PERL}/Bit/Vector/Minimal.pm:${PORTSDIR}/math/p5-Bit-Vector-Minimal \
+ ${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced \
+ ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Plucene.3 \
+ Plucene::Analysis::Analyzer.3 \
+ Plucene::Analysis::CharTokenizer.3 \
+ Plucene::Analysis::LetterTokenizer.3 \
+ Plucene::Analysis::LowerCaseFilter.3 \
+ Plucene::Analysis::LowerCaseTokenizer.3 \
+ Plucene::Analysis::PorterStemFilter.3 \
+ Plucene::Analysis::SimpleAnalyzer.3 \
+ Plucene::Analysis::Standard::StandardAnalyzer.3 \
+ Plucene::Analysis::Standard::StandardTokenizer.3 \
+ Plucene::Analysis::StopAnalyzer.3 \
+ Plucene::Analysis::StopFilter.3 \
+ Plucene::Analysis::Token.3 \
+ Plucene::Analysis::TokenFilter.3 \
+ Plucene::Analysis::Tokenizer.3 \
+ Plucene::Analysis::WhitespaceAnalyzer.3 \
+ Plucene::Analysis::WhitespaceTokenizer.3 \
+ Plucene::Bitvector.3 \
+ Plucene::Document.3 \
+ Plucene::Document::DateSerializer.3 \
+ Plucene::Document::Field.3 \
+ Plucene::Index::DocumentWriter.3 \
+ Plucene::Index::FieldInfo.3 \
+ Plucene::Index::FieldInfos.3 \
+ Plucene::Index::FieldsReader.3 \
+ Plucene::Index::FieldsWriter.3 \
+ Plucene::Index::Reader.3 \
+ Plucene::Index::SegmentInfo.3 \
+ Plucene::Index::SegmentInfos.3 \
+ Plucene::Index::SegmentMergeInfo.3 \
+ Plucene::Index::SegmentMerger.3 \
+ Plucene::Index::SegmentReader.3 \
+ Plucene::Index::SegmentTermDocs.3 \
+ Plucene::Index::SegmentTermEnum.3 \
+ Plucene::Index::SegmentTermPositions.3 \
+ Plucene::Index::SegmentsReader.3 \
+ Plucene::Index::Term.3 \
+ Plucene::Index::TermInfo.3 \
+ Plucene::Index::TermInfosReader.3 \
+ Plucene::Index::TermInfosWriter.3 \
+ Plucene::Index::Writer.3 \
+ Plucene::QueryParser.3 \
+ Plucene::Search::BooleanClause.3 \
+ Plucene::Search::BooleanQuery.3 \
+ Plucene::Search::BooleanScorer.3 \
+ Plucene::Search::DateFilter.3 \
+ Plucene::Search::Filter.3 \
+ Plucene::Search::HitCollector.3 \
+ Plucene::Search::Hits.3 \
+ Plucene::Search::IndexSearcher.3 \
+ Plucene::Search::PhrasePositions.3 \
+ Plucene::Search::PhraseQuery.3 \
+ Plucene::Search::PhraseScorer.3 \
+ Plucene::Search::PhraseScorer::Exact.3 \
+ Plucene::Search::PhraseScorer::Sloppy.3 \
+ Plucene::Search::PrefixQuery.3 \
+ Plucene::Search::Query.3 \
+ Plucene::Search::Scorer.3 \
+ Plucene::Search::Searcher.3 \
+ Plucene::Search::Similarity.3 \
+ Plucene::Search::TermQuery.3 \
+ Plucene::Search::TermScorer.3 \
+ Plucene::Search::TopDocs.3 \
+ Plucene::Store::InputStream.3 \
+ Plucene::Store::OutputStream.3 \
+ Plucene::TestCase.3 \
+ Plucene::Utils.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "This port requires perl 5.6 or above."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Plucene/distinfo b/textproc/p5-Plucene/distinfo
new file mode 100644
index 000000000000..71ed4aca845d
--- /dev/null
+++ b/textproc/p5-Plucene/distinfo
@@ -0,0 +1,2 @@
+MD5 (Plucene-1.19.tar.gz) = bf8206f7335d0a97ef81c55bb8a66e18
+SIZE (Plucene-1.19.tar.gz) = 333982
diff --git a/textproc/p5-Plucene/pkg-descr b/textproc/p5-Plucene/pkg-descr
new file mode 100644
index 000000000000..40c9dc0da219
--- /dev/null
+++ b/textproc/p5-Plucene/pkg-descr
@@ -0,0 +1,11 @@
+Plucene is a fully-featured and highly customizable search engine
+toolkit based on the Lucene API.
+
+It is not, in and of itself, a functional search engine - you are
+expected to subclass and tie all the pieces together to suit your own
+needs. The synopsis above gives a rough indication of how to use the
+engine in simple cases. See Plucene::Simple in the distribution for one
+example of tying it all together.
+
+WWW: http://search.cpan.org/dist/Plucene/
+WWW: http://jakarta.apache.org/lucene
diff --git a/textproc/p5-Plucene/pkg-plist b/textproc/p5-Plucene/pkg-plist
new file mode 100644
index 000000000000..403381471966
--- /dev/null
+++ b/textproc/p5-Plucene/pkg-plist
@@ -0,0 +1,77 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/.packlist
+%%SITE_PERL%%/Plucene.pm
+%%SITE_PERL%%/Plucene/Bitvector.pm
+%%SITE_PERL%%/Plucene/Document.pm
+%%SITE_PERL%%/Plucene/Utils.pm
+%%SITE_PERL%%/Plucene/QueryParser.pm
+%%SITE_PERL%%/Plucene/TestCase.pm
+%%SITE_PERL%%/Plucene/Analysis/CharTokenizer.pm
+%%SITE_PERL%%/Plucene/Analysis/WhitespaceAnalyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/LowerCaseTokenizer.pm
+%%SITE_PERL%%/Plucene/Analysis/Tokenizer.pm
+%%SITE_PERL%%/Plucene/Analysis/StopAnalyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/TokenFilter.pm
+%%SITE_PERL%%/Plucene/Analysis/Token.pm
+%%SITE_PERL%%/Plucene/Analysis/LetterTokenizer.pm
+%%SITE_PERL%%/Plucene/Analysis/PorterStemFilter.pm
+%%SITE_PERL%%/Plucene/Analysis/StopFilter.pm
+%%SITE_PERL%%/Plucene/Analysis/SimpleAnalyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/LowerCaseFilter.pm
+%%SITE_PERL%%/Plucene/Analysis/Analyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/WhitespaceTokenizer.pm
+%%SITE_PERL%%/Plucene/Analysis/Standard/StandardAnalyzer.pm
+%%SITE_PERL%%/Plucene/Analysis/Standard/StandardTokenizer.pm
+%%SITE_PERL%%/Plucene/Search/Similarity.pm
+%%SITE_PERL%%/Plucene/Search/PrefixQuery.pm
+%%SITE_PERL%%/Plucene/Search/BooleanQuery.pm
+%%SITE_PERL%%/Plucene/Search/BooleanScorer.pm
+%%SITE_PERL%%/Plucene/Search/PhraseScorer.pm
+%%SITE_PERL%%/Plucene/Search/BooleanClause.pm
+%%SITE_PERL%%/Plucene/Search/Filter.pm
+%%SITE_PERL%%/Plucene/Search/Query.pm
+%%SITE_PERL%%/Plucene/Search/HitCollector.pm
+%%SITE_PERL%%/Plucene/Search/Scorer.pm
+%%SITE_PERL%%/Plucene/Search/PhrasePositions.pm
+%%SITE_PERL%%/Plucene/Search/Hits.pm
+%%SITE_PERL%%/Plucene/Search/TopDocs.pm
+%%SITE_PERL%%/Plucene/Search/TermQuery.pm
+%%SITE_PERL%%/Plucene/Search/TermScorer.pm
+%%SITE_PERL%%/Plucene/Search/PhraseQuery.pm
+%%SITE_PERL%%/Plucene/Search/DateFilter.pm
+%%SITE_PERL%%/Plucene/Search/IndexSearcher.pm
+%%SITE_PERL%%/Plucene/Search/Searcher.pm
+%%SITE_PERL%%/Plucene/Search/PhraseScorer/Exact.pm
+%%SITE_PERL%%/Plucene/Search/PhraseScorer/Sloppy.pm
+%%SITE_PERL%%/Plucene/Index/FieldsReader.pm
+%%SITE_PERL%%/Plucene/Index/FieldInfos.pm
+%%SITE_PERL%%/Plucene/Index/SegmentReader.pm
+%%SITE_PERL%%/Plucene/Index/DocumentWriter.pm
+%%SITE_PERL%%/Plucene/Index/SegmentTermEnum.pm
+%%SITE_PERL%%/Plucene/Index/SegmentTermDocs.pm
+%%SITE_PERL%%/Plucene/Index/FieldsWriter.pm
+%%SITE_PERL%%/Plucene/Index/SegmentInfo.pm
+%%SITE_PERL%%/Plucene/Index/Reader.pm
+%%SITE_PERL%%/Plucene/Index/TermInfosWriter.pm
+%%SITE_PERL%%/Plucene/Index/FieldInfo.pm
+%%SITE_PERL%%/Plucene/Index/SegmentInfos.pm
+%%SITE_PERL%%/Plucene/Index/SegmentMergeInfo.pm
+%%SITE_PERL%%/Plucene/Index/SegmentsReader.pm
+%%SITE_PERL%%/Plucene/Index/Writer.pm
+%%SITE_PERL%%/Plucene/Index/SegmentMerger.pm
+%%SITE_PERL%%/Plucene/Index/TermInfosReader.pm
+%%SITE_PERL%%/Plucene/Index/Term.pm
+%%SITE_PERL%%/Plucene/Index/TermInfo.pm
+%%SITE_PERL%%/Plucene/Index/SegmentTermPositions.pm
+%%SITE_PERL%%/Plucene/Document/Field.pm
+%%SITE_PERL%%/Plucene/Document/DateSerializer.pm
+%%SITE_PERL%%/Plucene/Store/OutputStream.pm
+%%SITE_PERL%%/Plucene/Store/InputStream.pm
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Plucene/Analysis/Standard
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Analysis 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Search/PhraseScorer 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Search 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Index 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Document 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene/Store 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Plucene 2>/dev/null || true