Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / pinentry / options.mk
blob7cf15cebc84a1a86adc77d37d567eff50185ebc9
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
6 # pinentry-curses
7 # pinentry-gtk
8 # pinentry-qt
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
17 PINENTRY_DEFAULT= gtk
18 .endif
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
24 .endif
26 CONFIGURE_ARGS+= --disable-pinentry-qt
27 .if !empty(PKG_OPTIONS:Mqt)
28 DEPENDS+= pinentry-qt-[0-9]*:../../security/pinentry-qt
29 PINENTRY_DEFAULT= qt
30 .endif
32 CONFIGURE_ARGS+= --disable-pinentry-qt4
33 .if !empty(PKG_OPTIONS:Mqt4)
34 DEPENDS+= pinentry-qt4-[0-9]*:../../security/pinentry-qt4
35 PINENTRY_DEFAULT= qt4
36 .endif