summaryrefslogtreecommitdiff
path: root/chat/ejabberd/options.mk
blob: cac7aef0037772fc30de5bfdd34ff1992a199ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: options.mk,v 1.4 2016/04/25 20:24:14 fhajny Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ejabberd
PKG_SUPPORTED_OPTIONS=	redis sqlite
PKG_SUGGESTED_OPTIONS=	#

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

#
# Add Redis support
#
.if !empty(PKG_OPTIONS:Mredis)
DEPENDS+=		erlang-eredis>=1.0.8.20150910:../../databases/erlang-eredis
.endif

#
# Add SQLite 3 support
#
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+=		erlang-sqlite3>=1.1.5:../../databases/erlang-sqlite3
.endif