summaryrefslogtreecommitdiff
path: root/textproc/py-libxml2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-01-22 17:20:45 +0000
committerdrochner <drochner@pkgsrc.org>2007-01-22 17:20:45 +0000
commit14932a289da5362e37cf2ba7704beef11d5c548f (patch)
tree10664f0c7d5f979b66a2da38198887c1a4432420 /textproc/py-libxml2
parentab9ecb4a5b26428b4cbb6a2c640258578381b6dc (diff)
downloadpkgsrc-14932a289da5362e37cf2ba7704beef11d5c548f.tar.gz
add one
Diffstat (limited to 'textproc/py-libxml2')
-rw-r--r--textproc/py-libxml2/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/py-libxml2/buildlink3.mk b/textproc/py-libxml2/buildlink3.mk
new file mode 100644
index 00000000000..e8f6929f75f
--- /dev/null
+++ b/textproc/py-libxml2/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/01/22 17:20:45 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_LIBXML2_BUILDLINK3_MK:= ${PY_LIBXML2_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-libxml2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-libxml2}
+BUILDLINK_PACKAGES+= py-libxml2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-libxml2
+
+.if ${PY_LIBXML2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-libxml2+= ${PYPKGPREFIX}-libxml2>=2.6.27
+BUILDLINK_PKGSRCDIR.py-libxml2?= ../../textproc/py-libxml2
+.endif # PY_LIBXML2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}