summaryrefslogtreecommitdiff
path: root/textproc/py-elementtree/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-elementtree/buildlink3.mk')
-rw-r--r--textproc/py-elementtree/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/py-elementtree/buildlink3.mk b/textproc/py-elementtree/buildlink3.mk
new file mode 100644
index 00000000000..bed1b11c789
--- /dev/null
+++ b/textproc/py-elementtree/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/01/10 10:44:46 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_ELEMENTTREE_BUILDLINK3_MK:= ${PY_ELEMENTTREE_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-elementtree
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-elementtree}
+BUILDLINK_PACKAGES+= py-elementtree
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-elementtree
+
+.if ${PY_ELEMENTTREE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-elementtree+= ${PYPKGPREFIX}-elementtree>=1.2.6nb3
+BUILDLINK_PKGSRCDIR.py-elementtree= ../../textproc/py-elementtree
+.endif # PY_ELEMENTTREE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}