~cypheon/pkgsrc-wip

pkgsrc-wip/dogecoin/options.mk -rw-r--r-- 968 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
# $NetBSD$

PKG_OPTIONS_VAR=	PKG_OPTIONS.dogecoin
PKG_SUPPORTED_OPTIONS+=	miniupnpc qrcode qt qtdbus tests
PKG_SUGGESTED_OPTIONS=	qt # blank
PLIST_VARS+=		qt tests

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mminiupnpc)
QMAKE_OPTIONS+=	USE_UPNP=1
.include "../../net/miniupnpc/buildlink3.mk"
.else
QMAKE_OPTIONS+=	USE_UPNP=-
CONFIGURE_ARGS+=	--without-miniupnpc
.endif

.if !empty(PKG_OPTIONS:Mqrcode)
QMAKE_OPTIONS+=	USE_QRCODE=1
.include "../../converters/qrencode/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Minet6)
QMAKE_OPTIONS+=	USE_IPV6=0
.endif

.if !empty(PKG_OPTIONS:Mqt) || !empty(PKG_OPTIONS:Mqtdbus)
PLIST.qt=	yes
.include "../../x11/qt5-qtbase/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mqtdbus)
QMAKE_OPTIONS+=	USE_DBUS=1
.include "../../x11/qt5-dbus/buildlink3.mk"
.endif
.endif

.if empty(PKG_OPTIONS:Mqt)
CONFIGURE_ARGS+=	--without-gui
.endif

.if empty(PKG_OPTIONS:Mtests)
CONFIGURE_ARGS+=	--disable-tests
.else
PLIST.tests=	yes
.endif