blob: 62fd2c3f5d587ed5ace28b3d44655281d09e1fc9 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
PORTREVISION= 1
COMMENT= Backup archiving recovery open sourced (traymonitor)
LIB_DEPENDS+= libbareos.so:sysutils/bareos-client
CONFLICTS= bareos20-traymonitor bareos21-traymonitor bareos22-traymonitor \
bareos23-traymonitor
USES= desktop-file-utils gettext-runtime pkgconfig
FLAVORS= qt5 qt6
FLAVOR?= ${FLAVORS:[1]}
qt5_CONFLICTS= bareos23-traymonitor-qt6
qt6_CONFLICTS= bareos23-traymonitor-qt5
.if ${FLAVOR} == qt6
PKGNAMESUFFIX= -traymonitor-qt6
USES+= qt:6
USE_QT= base:run declarative:build tools:build
CMAKE_ARGS+= -Dbat-qt6=yes
.else
PKGNAMESUFFIX= -traymonitor-qt5
LIB_DEPENDS+= libqwt5-qt5.so:x11-toolkits/qwt5-qt5
USES+= qt:5
USE_QT= buildtools:build qmake:build uitools:build gui core widgets
.endif
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 \
-DENABLE_WEBUI=OFF
.include "${MASTERDIR}/Makefile"
|