blob: b0b1f3892ff3bf4d20465d5b87f0c774cea69d47 (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= redland
PORTVERSION= 1.0.17
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://download.librdf.org/source/
MAINTAINER= kde@FreeBSD.org
COMMENT= High-level interface for RDF
# 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= libraptor2.so:${PORTSDIR}/textproc/raptor2 \
librasqal.so:${PORTSDIR}/textproc/rasqal
USE_AUTOTOOLS= libltdl
USE_PERL5= build
USES= gmake libtool pathfix perl5 pkgconfig shebangfix
SHEBANG_FILES= scripts/touch-mtime.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-threestore=no
USE_LDCONFIG= yes
OPTIONS_DEFINE= BDB THREADS
OPTIONS_DEFAULT= BDB
BDB_USE= BDB=yes
BDB_CONFIGURE_OFF= --with-bdb=no
THREADS_CONFIGURE_ENABLE= threads
# MYSQL "Use MySQL instead of BDB" off \
# PGSQL "Use PgSQL instead of BDB" off \
# SQLITE "Use SQLite instead of BDB" off \
# VIRTUOSO "Use Virtoso instead of BDB" off
#.if defined(WITH_MYSQL)
#USE_MYSQL= yes
#CONFIGURE_ARGS+=--with-mysql=yes
#CPPFLAGS+= -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H
#LIBS+= -L${LOCALBASE}/lib/mysql
#PLIST_SUB+= MYSQL=""
#.else
CONFIGURE_ARGS+=--with-mysql=no
PLIST_SUB+= MYSQL="@comment "
#.endif
#.if defined(WITH_PGSQL)
#USE_PGSQL= yes
#CONFIGURE_ARGS+=--with-postgresql=yes
#PLIST_SUB+= PGSQL=""
#.else
CONFIGURE_ARGS+=--with-postgresql=no
PLIST_SUB+= PGSQL="@comment "
#.endif
#.if defined(WITH_SQLITE)
#USE_SQLITE= 3
#CONFIGURE_ARGS+=--with-sqlite=3
#PLIST_SUB+= SQLITE=""
#.else
CONFIGURE_ARGS+=--with-sqlite=no
PLIST_SUB+= SQLITE="@comment "
#.endif
#.if defined(WITH_VIRTUOSO)
#CONFIGURE_ARGS+=--with-virtuoso=yes
#LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
#PLIST_SUB+= VIRTUOSO=""
#.else
CONFIGURE_ARGS+=--with-virtuoso=no
PLIST_SUB+= VIRTUOSO="@comment "
#.endif
.include <bsd.port.mk>
|