1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add p5-Plucene-Plugin-Analyzer-SnowballAnalyzer, a stemmed analyzer

plugin for p5-Plucene search engine.
This commit is contained in:
Anton Berezin 2004-10-14 14:26:26 +00:00
parent 54c061b3c9
commit 9b15174c84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119417
5 changed files with 52 additions and 0 deletions

View File

@ -295,6 +295,7 @@
SUBDIR += p5-PerlPoint-Converters
SUBDIR += p5-PerlPoint-Package
SUBDIR += p5-Plucene
SUBDIR += p5-Plucene-Plugin-Analyzer-SnowballAnalyzer
SUBDIR += p5-Pod-Constants
SUBDIR += p5-Pod-DocBook
SUBDIR += p5-Pod-Escapes

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: textproc/p5-Plucene-Plugin-Analyzer-SnowballAnalyzer
# Date created: 14 October 2004
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Plucene-Plugin-Analyzer-SnowballAnalyzer
PORTVERSION= 1.1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/F/FA/FABPOT
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Stemmed analyzer plugin for p5-Plucene search engine
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}/Plucene/Analysis/TokenFilter.pm:${PORTSDIR}/textproc/p5-Plucene
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "This port requires perl 5.6 or newer"
.endif
MAN3= Plucene::Plugin::Analyzer::SnowballAnalyzer.3 \
Plucene::Plugin::Analyzer::SnowballFilter.3
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Plucene-Plugin-Analyzer-SnowballAnalyzer-1.1.tar.gz) = b16070333e087af4d7a387b79cb4f8ac
SIZE (Plucene-Plugin-Analyzer-SnowballAnalyzer-1.1.tar.gz) = 2919

View File

@ -0,0 +1,4 @@
An analyzer plugin for p5-Plucene search engine, which filters
StandardTokenizer with SnowballAnalyzer.
WWW: http://search.cpan.org/dist/Plucene-Plugin-Analyzer-SnowballAnalyzer

View File

@ -0,0 +1,11 @@
%%SITE_PERL%%/Plucene/Plugin/Analyzer/SnowballAnalyzer.pm
%%SITE_PERL%%/Plucene/Plugin/Analyzer/SnowballFilter.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Plugin/Analyzer/SnowballAnalyzer/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Plugin/Analyzer/SnowballAnalyzer
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Plugin/Analyzer 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene/Plugin 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Plucene/Plugin/Analyzer 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plucene 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Plucene/Plugin 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Plucene 2>/dev/null || true