summaryrefslogtreecommitdiff
path: root/finance/gnucash/options.mk
blob: bef7b64d39e0391a692041bc7b9225ca34ead285 (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
# $NetBSD: options.mk,v 1.3 2016/08/30 04:13:13 jnemeth Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gnucash
PKG_SUPPORTED_OPTIONS=	libdbi libofx
PKG_SUGGESTED_OPTIONS=	libdbi libofx

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

PLIST_VARS+=	dbi ofx

.if !empty(PKG_OPTIONS:Mlibofx)
PLIST.ofx=	yes
.include "../../finance/libofx/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-ofx
.endif

.if !empty(PKG_OPTIONS:Mlibdbi)
CONFIGURE_ARGS+=	--enable-dbi
PLIST.dbi=	yes
.include "../../databases/libdbi/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-dbi
.endif