4065b145ab
Changes: http://trac.xapian.org/wiki/ReleaseOverview/1.2.17 http://search.cpan.org/dist/Search-Xapian/Changes
32 lines
831 B
Makefile
32 lines
831 B
Makefile
# Created by: Lars Balker Rasmussen <lbr@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Search-Xapian
|
|
PORTVERSION= 1.2.17.0
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION:R}/ \
|
|
LOCAL/sunpoet \
|
|
CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Perl XS frontend to the Xapian C++ search library
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libxapian.so:${PORTSDIR}/databases/xapian-core
|
|
TEST_DEPENDS= p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
|
|
p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
CC= ${CXX}
|
|
CONFIGURE_ARGS= XAPIAN_CONFIG=${LOCALBASE}/bin/xapian-config
|
|
USE_PERL5= configure
|
|
USES= perl5
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^if (defined $$builddir) {|if (0) {|' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.mk>
|