summaryrefslogtreecommitdiff
path: root/devel/py-gobject-shared/buildlink3.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-21 18:40:20 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-21 18:40:20 +0000
commit0306c4867c9957118e48f9d1ef7ce33c02f084a6 (patch)
tree5a1c3f13130efb7fe36d47effedbdc5c02dca717 /devel/py-gobject-shared/buildlink3.mk
parent5f0d92603f8e71a7906af8ce26c7d907ba072199 (diff)
downloadpkgsrc-0306c4867c9957118e48f9d1ef7ce33c02f084a6.tar.gz
Import py-gobject-shared, which contains Python version independent
files to avoid conflicts within py{23,24}-gobject.
Diffstat (limited to 'devel/py-gobject-shared/buildlink3.mk')
-rw-r--r--devel/py-gobject-shared/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/py-gobject-shared/buildlink3.mk b/devel/py-gobject-shared/buildlink3.mk
new file mode 100644
index 00000000000..8b40eb4a0c6
--- /dev/null
+++ b/devel/py-gobject-shared/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_GOBJECT_SHARED_BUILDLINK3_MK:= ${PY_GOBJECT_SHARED_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-gobject-shared
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gobject-shared}
+BUILDLINK_PACKAGES+= py-gobject-shared
+
+.if ${PY_GOBJECT_SHARED_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=2.10.1
+BUILDLINK_PKGSRCDIR.py-gobject-shared?= ../../devel/py-gobject-shared
+.endif # PY_GOBJECT_SHARED_BUILDLINK3_MK
+
+BUILDLINK_DEPMETHOD.py-gobject-shared?= build
+
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}