summaryrefslogtreecommitdiff
path: root/security/pinepgp/options.mk
blob: ad49a27791426f3cf7d75514ed0a98ae463fa82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: options.mk,v 1.3 2019/11/04 21:12:58 rillig Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.pinepgp

PKG_SUPPORTED_OPTIONS=	gpg pgp5
PKG_SUGGESTED_OPTIONS=	gpg
PLIST_VARS=		gpg pgp5

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

.if !empty(PKG_OPTIONS:Mgpg)
DEPENDS+=		gnupg>=1.2.3:../../security/gnupg
CONFIGURE_ARGS+=	--with-gpg
PLIST.gpg=		yes
.else
CONFIGURE_ARGS+=	--without-gpg
.endif

.if !empty(PKG_OPTIONS:Mpgp5)
DEPENDS+=		pgp5>=5.0:../../security/pgp5
CONFIGURE_ARGS+=	--with-pgp5
PLIST.pgp5=		yes
.else
CONFIGURE_ARGS+=	--without-pgp5
.endif