xenocara/proto/xcb-proto/Makefile
matthieu bbb3c76e2e Remove the code that allowed to install xcbgen under /usr/X11R6/lib/
We can now use x11/py-xcbgen if needed.
2018-07-19 11:58:46 +00:00

54 lines
900 B
Makefile

# $OpenBSD: Makefile,v 1.8 2018/07/19 11:58:46 matthieu Exp $
PKGCONFIG= xcb-proto.pc
FILES= \
xcb.xsd \
xproto.xml \
bigreq.xml \
composite.xml \
damage.xml \
dpms.xml \
dri2.xml \
dri3.xml \
ge.xml \
glx.xml \
present.xml \
randr.xml \
record.xml \
render.xml \
res.xml \
screensaver.xml \
shape.xml \
shm.xml \
sync.xml \
xc_misc.xml \
xevie.xml \
xkb.xml \
xf86dri.xml \
xf86vidmode.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 /^pythondir=/d'
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>