aboutsummaryrefslogtreecommitdiff
path: root/databases/xapian-bindings/Makefile
blob: 5c8b210ac658cd9a08e7b57b9ea17bb161caaf22 (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
PORTNAME=	xapian-bindings
PORTVERSION=	1.4.20
CATEGORIES=	databases

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Bindings allowing Xapian to be used from various programming languages

LICENSE=	GPLv2

USES=		metaport

PORTSCOUT=	limitw:1,even

OPTIONS_DEFINE=	LUA PERL PHP PYTHON RUBY
# Remove PHP from OPTIONS_DEFAULT to avoid circular dependency
OPTIONS_DEFAULT=LUA PERL PYTHON RUBY

LUA_RUN_DEPENDS=	${LUA_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/lua-xapian@${LUA_FLAVOR}
LUA_USES=		lua:run
PERL_RUN_DEPENDS=	p5-Xapian>=${PORTVERSION}:databases/p5-Xapian
PHP_RUN_DEPENDS=	${PHP_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/php-xapian@${PHP_FLAVOR}
PHP_USES=		php
PHP_VARS=		IGNORE_WITH_PHP="80 81 82"
PYTHON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/py-xapian@${PY_FLAVOR}
PYTHON_USES=		python:run
RUBY_RUN_DEPENDS=	${RUBY_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/ruby-xapian
RUBY_USE=		RUBY=yes
RUBY_VARS=		RUBY_NO_BUILD_DEPENDS=yes

.include <bsd.port.mk>