summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-OpenPGP/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Crypt-OpenPGP/options.mk')
-rw-r--r--security/p5-Crypt-OpenPGP/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/p5-Crypt-OpenPGP/options.mk b/security/p5-Crypt-OpenPGP/options.mk
new file mode 100644
index 00000000000..1fe0b9d2fe1
--- /dev/null
+++ b/security/p5-Crypt-OpenPGP/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2010/02/12 18:26:36 sno Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Crypt-OpenPGP
+PKG_SUPPORTED_OPTIONS= pgp2-compat
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpgp2-compat)
+DEPENDS+= p5-Crypt-IDEA-[0-9]*:../../security/p5-Crypt-IDEA
+DEPENDS+= {perl>=5.7.3,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5
+.endif