summaryrefslogtreecommitdiff
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
commitb9703949f08a2f51396c12834cb1295512a8f607 (patch)
treee2c0e1f56227536b474da0aae5b524ddb3c0dfe0
parent5615d4633f6c954fba2d7520737cf8462c0af2ea (diff)
downloadpkgsrc-b9703949f08a2f51396c12834cb1295512a8f607.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.
-rw-r--r--x11/xcursor/DESCR6
-rw-r--r--x11/xcursor/Makefile26
-rw-r--r--x11/xcursor/PLIST10
-rw-r--r--x11/xcursor/buildlink2.mk24
-rw-r--r--x11/xcursor/buildlink3.mk20
-rw-r--r--x11/xcursor/distinfo4
6 files changed, 90 insertions, 0 deletions
diff --git a/x11/xcursor/DESCR b/x11/xcursor/DESCR
new file mode 100644
index 00000000000..8309e931119
--- /dev/null
+++ b/x11/xcursor/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/x11/xcursor/Makefile b/x11/xcursor/Makefile
new file mode 100644
index 00000000000..8355c251df0
--- /dev/null
+++ b/x11/xcursor/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/16 08:51:42 recht Exp $
+#
+
+DISTNAME= libXcursor-1.1.1
+PKGNAME= ${DISTNAME:S/libX/x/}
+CATEGORIES= x11 devel
+MASTER_SITES= http://freedesktop.org/~xlibs/dist/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.freedesktop.org/Software/xlibs
+COMMENT= Client-side cursor loading library for X
+
+USE_X11= yes
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/xcursor.pc.in
+
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../x11/Xfixes/buildlink2.mk"
+.include "../../x11/Xrender/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xcursor/PLIST b/x11/xcursor/PLIST
new file mode 100644
index 00000000000..3d605847419
--- /dev/null
+++ b/x11/xcursor/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/16 08:51:42 recht Exp $
+include/X11/Xcursor/Xcursor.h
+lib/libXcursor.a
+lib/libXcursor.la
+lib/libXcursor.so
+lib/libXcursor.so.1
+lib/libXcursor.so.1.2
+lib/pkgconfig/xcursor.pc
+man/man3/Xcursor.3
+@dirrm include/X11/Xcursor
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
diff --git a/x11/xcursor/buildlink3.mk b/x11/xcursor/buildlink3.mk
new file mode 100644
index 00000000000..2baca37f61f
--- /dev/null
+++ b/x11/xcursor/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2003/12/16 08:51:42 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XCURSOR_BUILDLINK3_MK:= ${XCURSOR_BUILDLINK3_MK}+
+
+.if !empty(XCURSOR_BUILDLINK3_MK:M\+)
+. include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_DEPENDS.xcursor?= xcursor>=1.1.1
+BUILDLINK_PKGSRCDIR.xcursor?= ../../x11/xcursor
+BUILDLINK_PACKAGES+= xcursor
+.endif # XCURSOR_BUILDLINK3_MK
+
+BUILDLINK_IS_BUILTIN.xcursor= NO
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= xcursor
+.endif
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}
diff --git a/x11/xcursor/distinfo b/x11/xcursor/distinfo
new file mode 100644
index 00000000000..a21ca5ab745
--- /dev/null
+++ b/x11/xcursor/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/16 08:51:42 recht Exp $
+
+SHA1 (libXcursor-1.1.1.tar.bz2) = 52732147f7babbfe25c7fd7ebb06490c035ced2a
+Size (libXcursor-1.1.1.tar.bz2) = 211857 bytes