1 # $NetBSD: options.mk,v 1.7 2010/02/08 11:43:23 drochner Exp $
4 # XXX This usage of bsd.options.mk is incorrect. The package should
5 # to be split into three packages
10 PKG_OPTIONS_VAR
= PKG_OPTIONS.pinentry
11 PKG_SUPPORTED_OPTIONS
= gtk gtk2 qt qt4
12 .
include "../../mk/bsd.options.mk"
14 CONFIGURE_ARGS
+= --disable-pinentry-gtk
15 .if
!empty
(PKG_OPTIONS
:Mgtk
)
16 DEPENDS
+= pinentry-gtk-
[0-9]*:..
/..
/security
/pinentry-gtk
20 CONFIGURE_ARGS
+= --disable-pinentry-gtk2
21 .if
!empty
(PKG_OPTIONS
:Mgtk2
)
22 DEPENDS
+= pinentry-gtk2-
[0-9]*:..
/..
/security
/pinentry-gtk2
23 PINENTRY_DEFAULT
= gtk-2
26 CONFIGURE_ARGS
+= --disable-pinentry-qt
27 .if
!empty
(PKG_OPTIONS
:Mqt
)
28 DEPENDS
+= pinentry-qt-
[0-9]*:..
/..
/security
/pinentry-qt
32 CONFIGURE_ARGS
+= --disable-pinentry-qt4
33 .if
!empty
(PKG_OPTIONS
:Mqt4
)
34 DEPENDS
+= pinentry-qt4-
[0-9]*:..
/..
/security
/pinentry-qt4