pkgsrc/security/p5-GnuPG-Interface/options.mk
wiz b8c2eb4d28 p5-GnuPG-Interface: update to 1.00.
1.0 - 2020-05-13
 - Limit support to GnuPG 2.2+ and 1.4
 - Additional information from keys when using GnuPG 2.2 or higher
 - Add support for use of agent/pinentry
 - Updated options to add ignore_mdc_error and logging
 - Improvements to tests
 - Update pubkey_data documentation
 - Special thanks to dkg on Github for a large PR with updates for GnuPG 2
 - Thanks also to ntyni on Github for a pointer to test updates also dealing
   with version changes
2020-06-08 14:18:15 +00:00

29 lines
802 B
Makefile

# $NetBSD: options.mk,v 1.6 2020/06/08 14:18:15 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5_GnuPG_Interface
PKG_OPTIONS_REQUIRED_GROUPS= gnupg
PKG_OPTIONS_GROUP.gnupg= gnupg1 gnupg2
PKG_SUGGESTED_OPTIONS= gnupg2
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnupg2)
DEPENDS+= gnupg2>=2.2:../../security/gnupg2
SUBST_CLASSES+= gpg
SUBST_SED.gpg+= -e "s,'gpg','gpg2',g"
SUBST_FILES.gpg+= lib/GnuPG/Interface.pm
SUBST_FILES.gpg+= t/Interface.t
SUBST_STAGE.gpg= pre-configure
SUBST_MESSAGE.gpg= Fixing path to gnupg binary.
SUBST_CLASSES+= gpg2
SUBST_SED.gpg2+= -e "s,gpg,gpg2,g"
SUBST_FILES.gpg2+= Makefile.PL
SUBST_STAGE.gpg2= pre-configure
SUBST_MESSAGE.gpg2= Fixing path to gnupg binary.
.endif
.if !empty(PKG_OPTIONS:Mgnupg1)
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
.endif