summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/py-gnupg/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/py-gnupg/buildlink3.mk b/security/py-gnupg/buildlink3.mk
new file mode 100644
index 00000000000..6f45e649b46
--- /dev/null
+++ b/security/py-gnupg/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/11/18 23:37:59 tron Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_GNUPG_BUILDLINK3_MK:= ${PY_GNUPG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-gnupg
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gnupg}
+BUILDLINK_PACKAGES+= py-gnupg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-gnupg
+
+.if !empty(PY_GNUPG_BUILDLINK3_MK:M+)
+. include "../../lang/python/pyversion.mk"
+BUILDLINK_API_DEPENDS.py-gnupg+= ${PYPKGPREFIX}-gnupg-[0-9]*
+BUILDLINK_ABI_DEPENDS.py-gnupg+= ${PYPKGPREFIX}-gnupg>=0.3.2
+BUILDLINK_PKGSRCDIR.py-gnupg?= ../../security/py-gnupg
+.endif # PY_GNUPG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}