pkgsrc/sysutils/bacula-tray-monitor/Makefile
2020-03-08 16:47:24 +00:00

30 lines
972 B
Makefile

# $NetBSD: Makefile,v 1.48 2020/03/08 16:51:14 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-tray-monitor-/}
PKGREVISION= 1
#PKGREVISION= 1
COMMENT= System tray monitor for Bacula - The Network Backup Solution
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo
PATCHDIR= ${.CURDIR}/../../sysutils/bacula/patches
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-client-only
CONFIGURE_ARGS+= --enable-bat
BUILDLINK_TRANSFORM+= opt:-std=c++98:-std=gnu++98 # typeof
BUILD_DIRS= src/qt-console/tray-monitor
INSTALLATION_DIRS= bin share/examples/bacula
CONF_FILES+= ${EXAMPLESDIR}/tray-monitor.conf ${PKG_SYSCONFDIR}/tray-monitor.conf
post-install:
${INSTALL_DATA} ${WRKSRC}/src/qt-console/tray-monitor/tray-monitor.conf ${DESTDIR}${EXAMPLESDIR}
.include "../../sysutils/bacula/Makefile.common"
.include "../../sysutils/bacula/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"