aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Search-Xapian10/Makefile
blob: 9874c25df09ff05c623d4d0980cf0bcd400cb7ae (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
43
44
# 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=    1.0.10.0
CATEGORIES= databases perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

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

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

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::MultiValueSorter.3 \
    Search::Xapian::PositionIterator.3 \
    Search::Xapian::PostingIterator.3 \
    Search::Xapian::QueryParser.3 \
    Search::Xapian::Stem.3 \
    Search::Xapian::TermGenerator.3 \
    Search::Xapian::TermIterator.3 \
    Search::Xapian::TradWeight.3 \
    Search::Xapian::ValueIterator.3 \
    Search::Xapian::Weight.3 \
    Search::Xapian::WritableDatabase.3

post-extract:
    ${PERL} -i -pe 's/^if \(defined \$$builddir/if (0/' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>