summaryrefslogtreecommitdiff
path: root/x11/xcursor/buildlink2.mk
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-12-16 08:51:42 +0000
committerrecht <recht@pkgsrc.org>2003-12-16 08:51:42 +0000
commitf95e35fe1aa948b80fea209eeea4aa9f0beb0591 (patch)
treee2c0e1f56227536b474da0aae5b524ddb3c0dfe0 /x11/xcursor/buildlink2.mk
parentce0d4327b6a785d2db1d5b8c5346d411b0c994ab (diff)
downloadpkgsrc-f95e35fe1aa948b80fea209eeea4aa9f0beb0591.tar.gz
initial import of xcursor 1.1.1
based upon the pkgsrc-wip pkg by xtraeme@ This package, libXcursor, provides the client-side cursor loading library for X. This cursor management library is a simple library designed to help locate and load cursors (from files or memory). This is part of the X Libraries and Protocol Headers Project hosted at freedesktop.org.
Diffstat (limited to 'x11/xcursor/buildlink2.mk')
-rw-r--r--x11/xcursor/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/xcursor/buildlink2.mk b/x11/xcursor/buildlink2.mk
new file mode 100644
index 00000000000..70f2d08281f
--- /dev/null
+++ b/x11/xcursor/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/16 08:51:42 recht Exp $
+
+.if !defined(XCURSOR_BUILDLINK2_MK)
+XCURSOR_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= xcursor
+BUILDLINK_DEPENDS.xcursor?= xcursor>=1.1.1
+BUILDLINK_PKGSRCDIR.xcursor?= ../../x11/xcursor
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.xcursor=xcursor
+BUILDLINK_PREFIX.xcursor_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.xcursor+= include/X11/Xcursor/Xcursor.h
+BUILDLINK_FILES.xcursor+= lib/libXcursor.*
+
+USE_X11= yes
+
+.include "../../x11/Xfixes/buildlink2.mk"
+.include "../../x11/Xrender/buildlink2.mk"
+
+BUILDLINK_TARGETS+= xcursor-buildlink
+
+xcursor-buildlink: _BUILDLINK_USE
+
+.endif # XCURSOR_BUILDLINK2_MK