# Created by: Russell Cloran <russell@rucus.ru.ac.za>
# $FreeBSD: tags/RELEASE_10_3_0/textproc/redland-bindings/Makefile 376110 2015-01-03 08:47:51Z mva $

PORTNAME=	redland-bindings
PORTVERSION=	1.0.17.1
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://download.librdf.org/source/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Language bindings for the Redland package

# Even though GPLv3 is not explicitly mentioned in the port's LICENSE.html, one
# of its licenses is "GPLv2 or newer", which includes GPLv3.
LICENSE=	APACHE20 GPLv2 GPLv3 LGPL21
LICENSE_COMB=	dual

LIB_DEPENDS=	librdf.so:${PORTSDIR}/textproc/redland

GNU_CONFIGURE=	yes
USES=		pkgconfig

OPTIONS_DEFINE=	PERL PHP PYTHON RUBY
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB=	yes

PERL_CONFIGURE_WITH=	perl
PERL_USES=		perl5
PERL_USE=		PERL5=build,run
PHP_CONFIGURE_WITH=	php
PHP_USE=		PHP=yes PHP_BUILD=yes
PYTHON_CONFIGURE_WITH=	python
PYTHON_USES=		python
RUBY_CONFIGURE_WITH=	ruby
RUBY_USE=		RUBY=yes

.include <bsd.port.mk>
