2008-01-08 17:52:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2008/01/08 16:52:20 ghen Exp $
|
2005-11-11 22:31:39 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-clientonly-/}
|
2008-01-08 17:52:20 +01:00
|
|
|
PKGREVISION= 1
|
2005-11-18 08:21:04 +01:00
|
|
|
COMMENT= The Network Backup Solution (client only)
|
2005-11-11 22:31:39 +01:00
|
|
|
|
|
|
|
CONFLICTS= bacula-[0-9]* bacula-client-[0-9]*
|
|
|
|
|
2008-01-04 15:32:49 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-11-11 22:31:39 +01:00
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo
|
|
|
|
PATCHDIR= ${.CURDIR}/../../sysutils/bacula/patches
|
|
|
|
FILESDIR= ${.CURDIR}/../../sysutils/bacula/files
|
|
|
|
|
2005-12-08 02:04:44 +01:00
|
|
|
PLIST_SRC= ${.CURDIR}/../../sysutils/bacula/PLIST.common
|
|
|
|
|
2005-11-11 22:31:39 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-client-only
|
|
|
|
|
2006-02-03 09:18:45 +01:00
|
|
|
OWN_DIRS_PERMS+= ${BACULA_WORKINGDIR} root ${BACULA_GROUP} 770
|
|
|
|
|
|
|
|
PKG_GROUPS= ${BACULA_GROUP}
|
|
|
|
|
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/bacula-fd.conf ${PKG_SYSCONFDIR}/bacula-fd.conf
|
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/bconsole.conf ${PKG_SYSCONFDIR}/bconsole.conf
|
|
|
|
|
2005-11-11 22:31:39 +01:00
|
|
|
RCD_SCRIPTS= bacula-fd
|
|
|
|
|
|
|
|
.include "../../sysutils/bacula/Makefile.common"
|
2006-02-03 09:18:45 +01:00
|
|
|
|
|
|
|
PLIST_SRC+= ${.CURDIR}/../../sysutils/bacula/PLIST.common_end
|
|
|
|
|
2008-01-08 17:52:20 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
|
|
|
|
|
2005-11-11 22:31:39 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|