diff options
author | sem <sem@FreeBSD.org> | 2006-03-29 01:16:23 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-03-29 01:16:23 +0800 |
commit | 3d86ab33242225bfc5f521eab1aecd3e53742848 (patch) | |
tree | 07f2ad97ca4d608cf9b5aeb3174fd7ea2fb5da89 | |
parent | d6bd1bd9fcc81eeaf85e99ca73da4507830dae7a (diff) | |
download | freebsd-ports-gnome-3d86ab33242225bfc5f521eab1aecd3e53742848.tar.gz freebsd-ports-gnome-3d86ab33242225bfc5f521eab1aecd3e53742848.tar.zst freebsd-ports-gnome-3d86ab33242225bfc5f521eab1aecd3e53742848.zip |
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>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Catalyst-Model-Xapian/Makefile | 32 | ||||
-rw-r--r-- | www/p5-Catalyst-Model-Xapian/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Catalyst-Model-Xapian/pkg-descr | 10 | ||||
-rw-r--r-- | www/p5-Catalyst-Model-Xapian/pkg-plist | 6 |
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 656851ee8db5..fcd73ebfb77d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/p5-Catalyst-Model-Xapian/Makefile b/www/p5-Catalyst-Model-Xapian/Makefile new file mode 100644 index 000000000000..f35289ba15c5 --- /dev/null +++ b/www/p5-Catalyst-Model-Xapian/Makefile @@ -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> diff --git a/www/p5-Catalyst-Model-Xapian/distinfo b/www/p5-Catalyst-Model-Xapian/distinfo new file mode 100644 index 000000000000..89fb811aad7e --- /dev/null +++ b/www/p5-Catalyst-Model-Xapian/distinfo @@ -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 diff --git a/www/p5-Catalyst-Model-Xapian/pkg-descr b/www/p5-Catalyst-Model-Xapian/pkg-descr new file mode 100644 index 000000000000..f78521eb18a3 --- /dev/null +++ b/www/p5-Catalyst-Model-Xapian/pkg-descr @@ -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/ diff --git a/www/p5-Catalyst-Model-Xapian/pkg-plist b/www/p5-Catalyst-Model-Xapian/pkg-plist new file mode 100644 index 000000000000..5b5bece6f7e8 --- /dev/null +++ b/www/p5-Catalyst-Model-Xapian/pkg-plist @@ -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 |