summaryrefslogtreecommitdiff
path: root/textproc/json-glib/buildlink3.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-11-05 13:07:14 +0000
committerobache <obache@pkgsrc.org>2008-11-05 13:07:14 +0000
commit3c00898c7167bbce9843e42060d3b1a627c4cddb (patch)
tree4ac819a03d3ffd63d88334d28cddf95b70451823 /textproc/json-glib/buildlink3.mk
parent0621dcd999ca4ef576e88b4dcb41a879ec4a13d0 (diff)
downloadpkgsrc-3c00898c7167bbce9843e42060d3b1a627c4cddb.tar.gz
Import json-glib-0.6.2 as textproc/json-glib.
JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627 JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams.
Diffstat (limited to 'textproc/json-glib/buildlink3.mk')
-rw-r--r--textproc/json-glib/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/json-glib/buildlink3.mk b/textproc/json-glib/buildlink3.mk
new file mode 100644
index 00000000000..b8aff038507
--- /dev/null
+++ b/textproc/json-glib/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/05 13:07:14 obache Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+JSON_GLIB_BUILDLINK3_MK:= ${JSON_GLIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= json-glib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njson-glib}
+BUILDLINK_PACKAGES+= json-glib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}json-glib
+
+.if ${JSON_GLIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.json-glib+= json-glib>=0.6.2
+BUILDLINK_PKGSRCDIR.json-glib?= ../../textproc/json-glib
+.endif # JSON_GLIB_BUILDLINK3_MK
+
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}