summaryrefslogtreecommitdiff
path: root/x11/libXrandr/buildlink3.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-03 21:22:58 +0000
committerjoerg <joerg>2006-11-03 21:22:58 +0000
commit7c673d2e28b58b2e3bbefda761e2f517a56d227f (patch)
tree4039660890f6aa868d73f17105d3ba2be75e8629 /x11/libXrandr/buildlink3.mk
parent3b194601dd453d832cf95fea2c7dda1b04a9380b (diff)
downloadpkgsrc-7c673d2e28b58b2e3bbefda761e2f517a56d227f.tar.gz
Import libXrandr-1.1.2 from pkgsrc-wip:
This package provides the X RandR Library from the modular X.org X11 project. This simple library is designed to interface with the X Resize, Rotate, and Reflection Extension. This allows clients to change the size and rotation of the root window of a screen, along with the ability to reflect the screen about either axis.
Diffstat (limited to 'x11/libXrandr/buildlink3.mk')
-rw-r--r--x11/libXrandr/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libXrandr/buildlink3.mk b/x11/libXrandr/buildlink3.mk
new file mode 100644
index 00000000000..ad8f1ecbd05
--- /dev/null
+++ b/x11/libXrandr/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 21:22:58 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBXRANDR_BUILDLINK3_MK:= ${LIBXRANDR_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libXrandr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXrandr}
+BUILDLINK_PACKAGES+= libXrandr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXrandr
+
+.if ${LIBXRANDR_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libXrandr+= libXrandr>=1.1.2
+BUILDLINK_PKGSRCDIR.libXrandr?= ../../x11/libXrandr
+.endif # LIBXRANDR_BUILDLINK3_MK
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}