summaryrefslogtreecommitdiff
path: root/databases/lbdb/options.mk
blob: 0b406d00518e968f59c45c2847ba3bfaa206edfd (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
# $NetBSD: options.mk,v 1.3 2008/04/12 22:42:59 jlam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.lbdb
PKG_SUPPORTED_OPTIONS=	osx-addressbook gnupg abook
PKG_SUGGESTED_OPTIONS= gnupg abook

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

PLIST_VARS+=		osx-addressbook gnupg abook

.if !empty(PKG_OPTIONS:Mosx-addressbook)
CONFIGURE_ARGS+=	--with-osx-addressbook
PLIST.osx-addressbook=	yes
.else
CONFIGURE_ARGS+=	--without-osx-addressbook
.endif

.if !empty(PKG_OPTIONS:Mgnupg)
DEPENDS+=		gnupg-[0-9]*:../../security/gnupg
CONFIGURE_ARGS+=	--with-gpg
PLIST.gnupg=		yes
.else
CONFIGURE_ARGS+=	--without-gpg
.endif

.if !empty(PKG_OPTIONS:Mabook)
DEPENDS+=		abook-[0-9]*:../../databases/abook
CONFIGURE_ARGS+=	--with-abook
PLIST.abook=		yes
.else
CONFIGURE_ARGS+=	--without-abook
.endif