summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2006-10-11 18:53:38 +0000
committershannonjr <shannonjr@pkgsrc.org>2006-10-11 18:53:38 +0000
commitc9da25be4e6a764b1f7ffef30cc5b342673a3ba4 (patch)
treed609e77fd58d5b7dc99569b009617883794cbaed /security
parent8239c4b98b9f8556f88977d98f4267972c6595b2 (diff)
downloadpkgsrc-c9da25be4e6a764b1f7ffef30cc5b342673a3ba4.tar.gz
Latest pinentry has new GTK+-2 Pinentry option. Enable or disable
according to build options.
Diffstat (limited to 'security')
-rw-r--r--security/pinentry/Makefile3
-rw-r--r--security/pinentry/PLIST3
-rw-r--r--security/pinentry/options.mk13
3 files changed, 15 insertions, 4 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 6232b77d8a6..d21fa92b191 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2006/10/11 14:55:59 shannonjr Exp $
+# $NetBSD: Makefile,v 1.16 2006/10/11 18:53:38 shannonjr Exp $
#
DISTNAME= pinentry-0.7.2
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
diff --git a/security/pinentry/PLIST b/security/pinentry/PLIST
index 6e19e1ab901..774b0fa6281 100644
--- a/security/pinentry/PLIST
+++ b/security/pinentry/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2006/10/11 14:55:59 shannonjr Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/10/11 18:53:38 shannonjr Exp $
bin/pinentry
bin/pinentry-curses
info/pinentry.info
${USE_GTK}bin/pinentry-gtk
+${USE_GTK2}bin/pinentry-gtk2
${USE_QT}bin/pinentry-qt
diff --git a/security/pinentry/options.mk b/security/pinentry/options.mk
index 5a87be1e875..5fbfce06b6e 100644
--- a/security/pinentry/options.mk
+++ b/security/pinentry/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2006/10/11 14:55:59 shannonjr Exp $
+# $NetBSD: options.mk,v 1.4 2006/10/11 18:53:38 shannonjr Exp $
#
# XXX This usage of bsd.options.mk is incorrect. The package should
@@ -8,7 +8,7 @@
# pinentry-qt
PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
-PKG_SUPPORTED_OPTIONS= gtk qt
+PKG_SUPPORTED_OPTIONS= gtk gtk2 qt
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgtk)
@@ -20,6 +20,15 @@ CONFIGURE_ARGS+= --disable-pinentry-gtk
PLIST_SUBST+= USE_GTK='@comment '
.endif
+.if !empty(PKG_OPTIONS:Mgtk2)
+CONFIGURE_ARGS+= --enable-pinentry-gtk2
+PLIST_SUBST+= USE_GTK2=
+. include "../../x11/gtk2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pinentry-gtk2
+PLIST_SUBST+= USE_GTK2='@comment '
+.endif
+
.if !empty(PKG_OPTIONS:Mqt)
USE_LANGUAGES+= c c++
USE_TOOLS+= gmake