pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/fixesproto Import fixesproto from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/620195a23e07
branches: trunk
changeset: 511632:620195a23e07
user: reed <reed%pkgsrc.org@localhost>
date: Tue Apr 18 17:13:35 2006 +0000
description:
Import fixesproto from pkgsrc-wip.
This will replace the fixesext package.
This provides the Fixes extension headers from modular X.org X11
project.
diffstat:
x11/fixesproto/DESCR | 2 +
x11/fixesproto/Makefile | 23 ++++++++++++++++++
x11/fixesproto/PLIST | 5 +++
x11/fixesproto/buildlink3.mk | 24 ++++++++++++++++++
x11/fixesproto/builtin.mk | 56 ++++++++++++++++++++++++++++++++++++++++++++
x11/fixesproto/distinfo | 5 +++
6 files changed, 115 insertions(+), 0 deletions(-)
diffs (139 lines):
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/DESCR Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,2 @@
+This provides the Fixes extension headers from modular X.org X11
+project.
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/Makefile Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+#
+
+DISTNAME= fixesproto-3.0.2
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/proto/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= reed%reedmedia.net@localhost
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= Fixes extension headers from X.org
+
+CONFLICTS+= fixesext-[0-9]*
+#CONFLICTS+= xorg-libs-[0-9]* # not in same PREFIX
+
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/fixesproto.pc.in
+USE_LANGUAGES= # empty
+
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/PLIST Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+include/X11/extensions/xfixesproto.h
+include/X11/extensions/xfixeswire.h
+lib/pkgconfig/fixesproto.pc
+@comment @dirrm include/X11/extensions
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/buildlink3.mk Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+BUILDLINK_DEPMETHOD.fixesproto?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FIXESPROTO_BUILDLINK3_MK:= ${FIXESPROTO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fixesproto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfixesproto}
+BUILDLINK_PACKAGES+= fixesproto
+
+.if !empty(FIXESPROTO_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.fixesproto+= fixesproto>=3.0.0
+BUILDLINK_PKGSRCDIR.fixesproto?= ../../x11/fixesproto
+.endif # FIXESPROTO_BUILDLINK3_MK
+
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/builtin.mk Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,56 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+BUILTIN_PKG:= fixesproto
+
+BUILTIN_FIND_FILES_VAR:= H_XFIXESPROTO H_XFIXESWIRE
+BUILTIN_FIND_FILES.H_XFIXESPROTO= \
+ ${X11BASE}/include/X11/extensions/xfixesproto.h
+BUILTIN_FIND_FILES.H_XFIXESWIRE= \
+ ${X11BASE}/include/X11/extensions/xfixeswire.h
+
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+###
+### Determine if there is a built-in implementation of the package and
+### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
+###
+.if !defined(IS_BUILTIN.fixesproto)
+IS_BUILTIN.fixesproto= no
+#
+# Here, we skip checking whether the files are under ${LOCALBASE} since
+# we'll consider this X11 package to be built-in even if it's a part
+# of one of the pkgsrc-installed X11 distributions.
+#
+. if empty(H_XFIXESPROTO:M__nonexistent__) && \
+ empty(H_XFIXESWIRE:M__nonexistent__)
+IS_BUILTIN.fixesproto= yes
+. endif
+.endif
+MAKEVARS+= IS_BUILTIN.fixesproto
+
+###
+### Determine whether we should use the built-in implementation if it
+### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
+###
+.if !defined(USE_BUILTIN.fixesproto)
+. if ${PREFER.fixesproto} == "pkgsrc"
+USE_BUILTIN.fixesproto= no
+. else
+USE_BUILTIN.fixesproto= ${IS_BUILTIN.fixesproto}
+. if defined(BUILTIN_PKG.fixesproto) && \
+ !empty(IS_BUILTIN.fixesproto:M[yY][eE][sS])
+USE_BUILTIN.fixesproto= yes
+. for _dep_ in ${BUILDLINK_API_DEPENDS.fixesproto}
+. if !empty(USE_BUILTIN.fixesproto:M[yY][eE][sS])
+USE_BUILTIN.fixesproto!= \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.fixesproto:Q}; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+. endif
+. endfor
+. endif
+. endif # PREFER.fixesproto
+.endif
+MAKEVARS+= USE_BUILTIN.fixesproto
diff -r 5634aa0e3661 -r 620195a23e07 x11/fixesproto/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fixesproto/distinfo Tue Apr 18 17:13:35 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/18 17:13:35 reed Exp $
+
+SHA1 (fixesproto-3.0.2.tar.bz2) = e59ccdb7251ec28ee7aa901130b7f395951a0214
+RMD160 (fixesproto-3.0.2.tar.bz2) = b670919e9f5391528ea1ebef14fe5a94161b48e0
+Size (fixesproto-3.0.2.tar.bz2) = 38835 bytes
Home |
Main Index |
Thread Index |
Old Index