1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Install xrender.pc, required by xcursor.pc

PR:		ports/68764
Submitted by:	Franz Klammer <klammer@webonaut.com>
Obtained from:	X.org CVS
This commit is contained in:
Eric Anholt 2004-07-07 19:49:55 +00:00
parent 464f3cfdfa
commit 75b8866e22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113159
3 changed files with 41 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= libraries
PORTVERSION= 6.7.0
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/:xorg \
${MASTER_SITE_XORG:S/$/:xorg/} \

View File

@ -0,0 +1,39 @@
Index: lib/Xrender/Imakefile
===================================================================
RCS file: /cvs/xorg/xc/lib/Xrender/Imakefile,v
retrieving revision 1.2
diff -u -r1.2 Imakefile
--- lib/Xrender/Imakefile 23 Apr 2004 18:43:50 -0000 1.2
+++ lib/Xrender/Imakefile 7 Jul 2004 19:01:02 -0000
@@ -133,6 +133,16 @@
HEADERS = Xrender.h $(NONSTANDARD_HEADERS)
+SUBSTVARS=prefix="$(PROJECTROOT)" \
+ exec_prefix="$(BINDIR)" \
+ libdir="$(USRLIBDIR)" \
+ includedir="$(INCROOT)" \
+ VERSION="0.8.4" \
+ X_REQUIRES="" \
+ RENDER_CFLAGS="" \
+ X_NON_PKG_CFLAGS="" \
+ X_NON_PKG_LIBS="-lX11 -lXext"
+
#include <Library.tmpl>
DependTarget()
@@ -142,3 +152,14 @@
distclean:: clean
RemoveFile(Makefile)
#endif
+
+all:: xrender.pc
+
+xrender.pc: xrender.pc.in
+ RemoveFile($@)
+ sh ../Xcursor/config-subst $(SUBSTVARS) < xrender.pc.in > $@
+
+InstallNonExecFile(xrender.pc,$(PROJECTROOT)/libdata/pkgconfig)
+
+clean::
+ RemoveFile(xrender.pc)

View File

@ -647,3 +647,4 @@ lib/libxkbui.a
lib/libxkbui.so
lib/libxkbui.so.1
libdata/pkgconfig/xcursor.pc
libdata/pkgconfig/xrender.pc