summaryrefslogtreecommitdiff
path: root/security/p5-GnuPG-Interface/options.mk
blob: bf0b219694924f21f1ff7f9da5c680241a0bdfbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: options.mk,v 1.2 2017/06/08 08:29:30 wiz Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.p5_GnuPG_Interface
PKG_OPTIONS_REQUIRED_GROUPS=	gnupg
PKG_OPTIONS_GROUP.gnupg=	gnupg1 # gnupg2 gnupg21
PKG_SUGGESTED_OPTIONS=		gnupg1

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mgnupg21)
DEPENDS+=		gnupg21>=2.1:../../security/gnupg21
.elif !empty(PKG_OPTIONS:Mgnupg2)
DEPENDS+=		gnupg2>=2.0<2.1:../../security/gnupg2
.else
DEPENDS+=		gnupg>=1.4.2:../../security/gnupg
.endif