2010-02-25 12:30:03 +01:00
|
|
|
# $NetBSD: options.mk,v 1.8 2010/02/25 11:30:03 drochner Exp $
|
2006-06-17 15:46:34 +02:00
|
|
|
#
|
|
|
|
|
2006-10-11 16:51:21 +02:00
|
|
|
# XXX This usage of bsd.options.mk is incorrect. The package should
|
|
|
|
# to be split into three packages
|
|
|
|
# pinentry-curses
|
|
|
|
# pinentry-gtk
|
|
|
|
# pinentry-qt
|
2006-06-17 15:46:34 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
|
2010-02-25 12:30:03 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= gtk gtk2 qt qt4
|
2006-06-17 15:46:34 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-gtk
|
2010-02-07 16:36:58 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mgtk)
|
|
|
|
DEPENDS+= pinentry-gtk-[0-9]*:../../security/pinentry-gtk
|
|
|
|
PINENTRY_DEFAULT= gtk
|
2006-06-17 15:46:34 +02:00
|
|
|
.endif
|
|
|
|
|
2006-10-11 20:53:38 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-gtk2
|
2010-02-07 16:36:58 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
|
|
DEPENDS+= pinentry-gtk2-[0-9]*:../../security/pinentry-gtk2
|
2010-02-08 12:43:23 +01:00
|
|
|
PINENTRY_DEFAULT= gtk-2
|
2006-10-11 20:53:38 +02:00
|
|
|
.endif
|
|
|
|
|
2006-06-17 15:46:34 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-qt
|
2010-02-07 16:36:58 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mqt)
|
|
|
|
DEPENDS+= pinentry-qt-[0-9]*:../../security/pinentry-qt
|
|
|
|
PINENTRY_DEFAULT= qt
|
2006-06-17 15:46:34 +02:00
|
|
|
.endif
|
2010-02-25 12:30:03 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-qt4
|
|
|
|
.if !empty(PKG_OPTIONS:Mqt4)
|
|
|
|
DEPENDS+= pinentry-qt4-[0-9]*:../../security/pinentry-qt4
|
|
|
|
PINENTRY_DEFAULT= qt4
|
|
|
|
.endif
|