1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

This model class wraps Search::Xapian to provide a friendly, paged

interface to Xapian (www.xapian.org) indexes. This class adds a little
extra convenience on top of the Search::Xapian class. It expects you to
use the QueryParser, and sets up some keywords based on the standard
omega keywords (id, host, date, month, year,title), so that you can do
searches like

      'fubar site:microsoft.com'

WWW: http://search.cpan.org/dist/Catalyst-Model-Xapian/

PR:		ports/93713
Submitted by:	Lars Balker Rasmussen <lars@balker.dk>
This commit is contained in:
Sergey Matveychuk 2006-03-28 17:16:23 +00:00
parent 646659641d
commit f3d8711604
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158339
5 changed files with 52 additions and 0 deletions

View File

@ -510,6 +510,7 @@
SUBDIR += p5-Catalyst-Model-DBIC
SUBDIR += p5-Catalyst-Model-DBIC-Plain
SUBDIR += p5-Catalyst-Model-DBIC-Schema
SUBDIR += p5-Catalyst-Model-Xapian
SUBDIR += p5-Catalyst-Plugin-Authentication
SUBDIR += p5-Catalyst-Plugin-Authentication-CDBI
SUBDIR += p5-Catalyst-Plugin-Authentication-Store-DBIC

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: www/p5-Catalyst-Model-Xapian
# Date created: 22 Feb 2006
# Whom: Lars Balker Rasmussen <lars@balker.dk>
#
# $FreeBSD$
#
PORTNAME= Catalyst-Model-Xapian
PORTVERSION= 0.02
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/M/MR/MRAMBERG
PKGNAMEPREFIX= p5-
MAINTAINER= lars@balker.dk
COMMENT= Catalyst model for Search::Xapian
BUILD_DEPENDS= p5-Catalyst>=5.30:${PORTSDIR}/www/p5-Catalyst \
p5-Data-Page>=0:${PORTSDIR}/databases/p5-Data-Page \
p5-Search-Xapian>=0.9.2.4:${PORTSDIR}/databases/p5-Search-Xapian
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Catalyst::Model::Xapian.3 \
Catalyst::Helper::Model::Xapian.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500800
IGNORE= requires Perl 5.8. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Catalyst-Model-Xapian-0.02.tar.gz) = e0dc8db9ff4f4319ec5564acd11dce21
SHA256 (Catalyst-Model-Xapian-0.02.tar.gz) = f489400a98e6413a8b35a75e2cd29f01af9c037fbc455bc4530249afda1ab5a1
SIZE (Catalyst-Model-Xapian-0.02.tar.gz) = 5246

View File

@ -0,0 +1,10 @@
This model class wraps Search::Xapian to provide a friendly, paged
interface to Xapian (www.xapian.org) indexes. This class adds a little
extra convenience on top of the Search::Xapian class. It expects you to
use the QueryParser, and sets up some keywords based on the standard
omega keywords (id, host, date, month, year,title), so that you can do
searches like
'fubar site:microsoft.com'
WWW: http://search.cpan.org/dist/Catalyst-Model-Xapian/

View File

@ -0,0 +1,6 @@
%%SITE_PERL%%/Catalyst/Helper/Model/Xapian.pm
%%SITE_PERL%%/Catalyst/Model/Xapian.pm
@dirrmtry %%SITE_PERL%%/Catalyst/Helper/Model
@dirrmtry %%SITE_PERL%%/Catalyst/Helper
@dirrmtry %%SITE_PERL%%/Catalyst/Model
@dirrmtry %%SITE_PERL%%/Catalyst