blob: a4af94b31753570470e07765b0c31772de056e67 (
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
29
|
# $NetBSD: Makefile,v 1.11 2005/12/08 01:04:44 wiz Exp $
CONFLICTS+= bacula-client-[0-9]*
.include "options.mk"
PLIST_SRC= PLIST.common
PLIST_SRC+= PLIST.server
PLIST_SUBST+= BACULA_DB=${BACULA_DB:Q}
MESSAGE_SUBST+= PREFIX=${PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV}
CONFIGURE_ARGS+= --with-dir-user=${BACULA_DIR_USER:Q} --with-dir-group=${BACULA_GROUP:Q}
CONFIGURE_ARGS+= --with-sd-user=${BACULA_SD_USER:Q} --with-sd-group=${BACULA_GROUP:Q}
BUILD_DEFS+= BACULA_DIR_USER BACULA_SD_USER BACULA_GROUP
PKG_USERS= ${BACULA_DIR_USER}:${BACULA_GROUP}
PKG_USERS+= ${BACULA_SD_USER}:${BACULA_GROUP}
CONF_FILES+= ${EXAMPLESDIR}/bacula-dir.conf ${PKG_SYSCONFDIR}/bacula-dir.conf
CONF_FILES+= ${EXAMPLESDIR}/bacula-sd.conf ${PKG_SYSCONFDIR}/bacula-sd.conf
RCD_SCRIPTS= bacula bacula-dir bacula-sd bacula-fd
.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"
|