36 lines
968 B
Makefile
36 lines
968 B
Makefile
# $NetBSD: options.mk,v 1.8 2010/02/25 11:30:03 drochner Exp $
|
|
#
|
|
|
|
# XXX This usage of bsd.options.mk is incorrect. The package should
|
|
# to be split into three packages
|
|
# pinentry-curses
|
|
# pinentry-gtk
|
|
# pinentry-qt
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
|
|
PKG_SUPPORTED_OPTIONS= gtk gtk2 qt qt4
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-gtk
|
|
.if !empty(PKG_OPTIONS:Mgtk)
|
|
DEPENDS+= pinentry-gtk-[0-9]*:../../security/pinentry-gtk
|
|
PINENTRY_DEFAULT= gtk
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-gtk2
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
DEPENDS+= pinentry-gtk2-[0-9]*:../../security/pinentry-gtk2
|
|
PINENTRY_DEFAULT= gtk-2
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-qt
|
|
.if !empty(PKG_OPTIONS:Mqt)
|
|
DEPENDS+= pinentry-qt-[0-9]*:../../security/pinentry-qt
|
|
PINENTRY_DEFAULT= qt
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --disable-pinentry-qt4
|
|
.if !empty(PKG_OPTIONS:Mqt4)
|
|
DEPENDS+= pinentry-qt4-[0-9]*:../../security/pinentry-qt4
|
|
PINENTRY_DEFAULT= qt4
|
|
.endif
|