blob: d024bb14f28f9df29f72ae33e23406ef95bda006 (
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
30
31
32
|
# $NetBSD: Makefile,v 1.10 2020/11/05 09:09:05 ryoon Exp $
PKGNAME= ${DISTNAME:S/-/-tray-monitor-qt5-/}
PKGREVISION= 6
#PKGREVISION= 2
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
pre-configure:
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
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/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|