summaryrefslogtreecommitdiff
path: root/finance/bitcoin/options.mk
blob: 5c49d914e2a4a1bb85ea9cd0cb18876cb68929f8 (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
33
34
35
36
# $NetBSD: options.mk,v 1.1 2018/07/08 11:13:46 khorben Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.bitcoin
PKG_SUPPORTED_OPTIONS+=		qt4 qt5 miniupnpc
# qt4 is off because it doubles the footprint of the package.
# Please do not enable it by default; instead, create a split
# package.
PKG_SUGGESTED_OPTIONS+=

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

.if !empty(PKG_OPTIONS:Mqt4)
PLIST.qt=	yes

.include "../../converters/qrencode/buildlink3.mk"
.include "../../devel/protobuf/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt4-tools=	full
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"

CONFIGURE_ARGS+=	--with-qt-bindir=${QTDIR}/bin
.endif

.if !empty(PKG_OPTIONS:Mqt5)
PLIST.qt=	yes

.include "../../converters/qrencode/buildlink3.mk"
.include "../../devel/protobuf/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"

CONFIGURE_ARGS+=	--with-qt-bindir=${QTDIR}/bin
.endif

.if !empty(PKG_OPTIONS:Mminiupnpc)
.include "../../net/miniupnpc/buildlink3.mk"
.endif