aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bareos-traymonitor/Makefile
blob: f8f63e337a826af9bddfde23e68492614669d60a (plain) (blame)
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

PORTNAME=	bareos
PKGNAMESUFFIX=	-traymonitor

COMMENT=	Backup archiving recovery open sourced (traymonitor)

LIB_DEPENDS+=	libqwt5-qt5.so:x11-toolkits/qwt5-qt5 \
		libbareos.so:sysutils/bareos-client

CONFLICTS=	bareos17-traymonitor-* bareos18-traymonitor-* bareos19-traymonitor-*

USES=		desktop-file-utils gettext-runtime pkgconfig qt:5
USE_QT=		buildtools_build qmake_build uitools_build gui core
WITH_BAT=	yes

PLIST=		${.CURDIR}/pkg-plist
CFLAGS+=	-DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1

MASTERDIR=	${.CURDIR}/../../sysutils/bareos-server

CMAKE_ARGS+=		-Dtraymonitor=yes \
			-Dbuild-dird=no \
			-Dbuild-stored=no \
			-Dclient-only=yes \
			-Dnls=ON

.include "${MASTERDIR}/Makefile"