summaryrefslogtreecommitdiff
path: root/x11/kbproto/buildlink3.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 18:08:58 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 18:08:58 +0000
commit3e9bf99e35c05e1c03a8a6eddf5212f5b430a38f (patch)
treea1ec0bab938b832b22f3f6246185b8eac533a3de /x11/kbproto/buildlink3.mk
parent2f8a0c7a2c28f1fd135c2fc857536677a60317a4 (diff)
downloadpkgsrc-3e9bf99e35c05e1c03a8a6eddf5212f5b430a38f.tar.gz
Import kbproto-1.0.3 from pkgsrc-wip:
This provides the KB extension headers from modular X.org X11 project.
Diffstat (limited to 'x11/kbproto/buildlink3.mk')
-rw-r--r--x11/kbproto/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/kbproto/buildlink3.mk b/x11/kbproto/buildlink3.mk
new file mode 100644
index 00000000000..c9f0d927c9a
--- /dev/null
+++ b/x11/kbproto/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 18:08:58 joerg Exp $
+
+BUILDLINK_DEPMETHOD.kbproto?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+KBPROTO_BUILDLINK3_MK:= ${KBPROTO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= kbproto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkbproto}
+BUILDLINK_PACKAGES+= kbproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kbproto
+
+.if ${KBPROTO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.kbproto+= kbproto>=1.0.2
+BUILDLINK_PKGSRCDIR.kbproto?= ../../x11/kbproto
+.endif # KBPROTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}