summaryrefslogtreecommitdiff
path: root/sysutils/bacula/Makefile.options
blob: c7daa917e4930873f4a1619282390019de849eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile.options,v 1.1.1.1 2004/11/06 16:17:38 mjl Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.bacula
PKG_SUPPORTED_OPTIONS=	catalog-sqlite catalog-pgsql
PKG_DEFAULT_OPTIONS?=	catalog-sqlite

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

# Too bad -1-6's make doesn't have :[#] modifier
.for _option_ in catalog
. if empty(PKG_OPTIONS:M${_option_}-*)
PKG_FAIL_REASON+=	"There must one and only one ${_option_} defined."
. endif
.endfor

# Other options

BACULA_GROUP?=		bacula
BACULA_DIR_USER?=	bacula-dir
BACULA_SD_USER?=	bacula-sd

BUILD_DEFS=	BACULA_DIR_USER BACULA_SD_USER BACULA_GROUP