diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-22 16:06:30 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-05-22 16:06:30 +0000 |
commit | fd21f434d52f5831971a19ecf3160407b0283d16 (patch) | |
tree | 3688219a84ba1768ef061308c1af0b6407667669 | |
parent | d8f4bf5b273986af7a8fe894da09ba004a34afd8 (diff) |
Makefile for xcb-proto.
For now, It just installs the xml files and the pkg-config data.
-rw-r--r-- | proto/xcb-proto/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/proto/xcb-proto/Makefile b/proto/xcb-proto/Makefile new file mode 100644 index 000000000..9c50c450f --- /dev/null +++ b/proto/xcb-proto/Makefile @@ -0,0 +1,47 @@ +# $OpenBSD: Makefile,v 1.1 2009/05/22 16:06:29 matthieu Exp $ + +PKGCONFIG= xcb-proto.pc + +FILES= \ + xcb.xsd \ + xproto.xml \ + bigreq.xml \ + composite.xml \ + damage.xml \ + dpms.xml \ + glx.xml \ + randr.xml \ + record.xml \ + render.xml \ + res.xml \ + screensaver.xml \ + shape.xml \ + shm.xml \ + sync.xml \ + xc_misc.xml \ + xevie.xml \ + xf86dri.xml \ + xfixes.xml \ + xinerama.xml \ + xinput.xml \ + xprint.xml \ + xselinux.xml \ + xtest.xml \ + xv.xml \ + xvmc.xml + +XCBDATADIR= ${X11BASE}/share/xcb + +EXTRA_PKGCONFIG_SUBST= '-e s,@xcbincludedir@,$${datadir}/xcb,g' \ + '-e s,@pythondir@,$${prefix}/lib/python${PYTHON_VERSION}/site-packages,g' + +realinstall: + @for i in ${FILES}; do \ + j="cmp -s ${.CURDIR}/src/$$i ${DESTDIR}${XCBDATADIR}/$$i || \ + ${INSTALL_DATA} ${.CURDIR}/src/$$i \ + ${DESTDIR}${XCBDATADIR}"; \ + echo "\tinstalling $$i"; \ + eval "$$j"; \ + done + +.include <bsd.xorg.mk> |