summaryrefslogtreecommitdiff
path: root/security/openct/options.mk
blob: 0c23b59b365fb6fdee14f1e9942846e54656d8ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.openct
PKG_SUPPORTED_OPTIONS=	pcsc-lite libusb
PKG_SUGGESTED_OPTIONS=	pcsc-lite
PLIST_VARS+=		pcsc-lite

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

.if !empty(PKG_OPTIONS:Mpcsc-lite)
.include "../../security/pcsc-lite/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-pcsc
PLIST.pcsc-lite=	yes
.else
CONFIGURE_ARGS+=	--disable-pcsc
.endif

.if !empty(PKG_OPTIONS:Mlibusb)
.include "../../devel/libusb/buildlink3.mk"
CONFIGURE_ARGS+=        --enable-usb
.else
CONFIGURE_ARGS+=        --disable-usb
.endif