aboutsummaryrefslogtreecommitdiff
path: root/textproc/redland/Makefile
blob: 198e442ce03c9f9e5b467ad40bcc3b83933a2591 (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
45
46
47
48
49
50
51
52
53
54
55
56
PORTNAME=	redland
PORTVERSION=	1.0.17
PORTREVISION=	6
CATEGORIES=	textproc
MASTER_SITES=	http://download.librdf.org/source/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	High-level interface for RDF
WWW=		https://librdf.org

# 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=	libltdl.so:devel/libltdl \
		libraptor2.so:textproc/raptor2 \
		librasqal.so:textproc/rasqal

USES=		gmake libtool pathfix perl5 pkgconfig shebangfix
USE_LDCONFIG=	yes
USE_PERL5=	build
SHEBANG_FILES=	scripts/touch-mtime.pl
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--with-threestore=no \
		--with-virtuoso=no

INSTALL_TARGET=	install-strip
TEST_TARGET=	check

OPTIONS_DEFINE=		THREADS
OPTIONS_DEFAULT=	SQLITE

OPTIONS_GROUP=		STORAGE
OPTIONS_GROUP_STORAGE=	BDB MYSQL PGSQL SQLITE

OPTIONS_SUB=	YES

BDB_USES=		bdb:5
BDB_CONFIGURE_WITH=	bdb

MYSQL_LIB_DEPENDS=	libunwind.so:devel/libunwind
MYSQL_USES=		mysql ssl
MYSQL_CONFIGURE_WITH=	mysql
MYSQL_VARS=	IGNORE_WITH_MYSQL="105m 106m 1011m"

PGSQL_USES=		pgsql
PGSQL_CONFIGURE_WITH=	postgresql

SQLITE_USES=		sqlite:3
SQLITE_CONFIGURE_WITH=	sqlite

THREADS_CONFIGURE_WITH=	threads

.include <bsd.port.mk>