summaryrefslogtreecommitdiff
path: root/databases/virtuoso/options.mk
blob: 67ea7ff50f6f3b21b41e2c7f965f4d55d0a875f7 (plain)
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
# $NetBSD: options.mk,v 1.2 2019/11/02 15:38:12 rillig Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.virtuoso
PKG_SUPPORTED_OPTIONS=		imagemagick ldap

.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"

# Package-specific option-handling
PLIST_VARS=	im

###
### ImageMagick support
###
.if !empty(PKG_OPTIONS:Mimagemagick)
CONFIGURE_ARGS+=	--enable-imagemagick=${PREFIX}
PLIST.im=	yes
.include "../../graphics/ImageMagick/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-imagemagick
.endif

.if !empty(PKG_OPTIONS:Mldap)
CONFIGURE_ARGS+=	--enable-openldap=${PREFIX}
.include "../../databases/openldap-client/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-openldap
.endif