aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Search-Xapian10/Makefile
blob: 877d0c347dcbc7eca53b506541db1afc556a1f42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    databases/p5-Search-Xapian
# Date created:             Feb 22 2006
# Whom:                 Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Search-Xapian
PORTVERSION=    0.9.6.0
CATEGORIES= databases perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Search
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Perl XS frontend to the Xapian C++ search library

BUILD_DEPENDS=  xapian-core>=0.9.6:${PORTSDIR}/databases/xapian-core
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
CC=     ${CXX}

MAN3=   Search::Xapian.3 \
    Search::Xapian::BM25Weight.3 \
    Search::Xapian::BoolWeight.3 \
    Search::Xapian::Database.3 \
    Search::Xapian::Document.3 \
    Search::Xapian::Enquire.3 \
    Search::Xapian::PositionIterator.3 \
    Search::Xapian::PostingIterator.3 \
    Search::Xapian::QueryParser.3 \
    Search::Xapian::Stem.3 \
    Search::Xapian::TermIterator.3 \
    Search::Xapian::Weight.3 \
    Search::Xapian::WritableDatabase.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6. Install lang/perl5 or perl5.8 and try again
.endif
.include <bsd.port.post.mk>