summaryrefslogtreecommitdiff
path: root/textproc/redland-bindings/Makefile
blob: 699c94527878ca52bdbc573436e2e28cde977989 (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
# Created by: Russell Cloran <russell@rucus.ru.ac.za>
# $FreeBSD$

PORTNAME=	redland-bindings
PORTVERSION=	1.0.16.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
PHP_CONFIGURE_WITH=	php
PHP_USE=		PHP=yes PHP_BUILD=yes
PYTHON_CONFIGURE_WITH=	python
PYTHON_USE=		PYTHON=2.5+
RUBY_CONFIGURE_WITH=	ruby
RUBY_USE=		RUBY=yes

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MPERL}
	${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/mach/perllocal.pod
.endif

.include <bsd.port.mk>