summaryrefslogtreecommitdiff
path: root/sysutils/duplicity/options.mk
blob: be0f48ce83682a55300b8ee8cd92dd2d443de08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: options.mk,v 1.2 2016/05/24 19:10:46 bsiegert Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.duplicity
PKG_SUPPORTED_OPTIONS=	gnupg2

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

.if !empty(PKG_OPTIONS:Mgnupg2)
DEPENDS+=	gnupg2-[0-9]*:../../security/gnupg2
GPGPATH=	${PREFIX}/bin/gpg2
.else
DEPENDS+=	gnupg>=1.0.0:../../security/gnupg
GPGPATH=	${PREFIX}/bin/gpg
.endif