blob: 85c4b0f5d124c85b1a414b8b7a65310d4b4dea7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# $OpenBSD: Makefile,v 1.5 2012/03/27 19:12:47 matthieu Exp $
PKGCONFIG= xcb-proto.pc
FILES= \
xcb.xsd \
xproto.xml \
bigreq.xml \
composite.xml \
damage.xml \
dpms.xml \
dri2.xml \
glx.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 \
xfixes.xml \
xinerama.xml \
xinput.xml \
xprint.xml \
xselinux.xml \
xtest.xml \
xv.xml \
xvmc.xml
XCBDATADIR= ${X11BASE}/share/xcb
PYTHONDIR= ${X11BASE}/lib/python${PYTHON_VERSION}/site-packages
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
.if defined(XENOCARA_REBUILD_XCB) && ${XENOCARA_REBUILD_XCB:L} == "yes"
XCBGEN_SRCS= \
__init__.py \
error.py \
expr.py \
matcher.py \
state.py \
xtypes.py
install-py:
mkdir -p ${DESTDIR}${PYTHONDIR}/xcbgen
cd ${.CURDIR}/xcbgen ; for i in ${XCBGEN_SRCS}; do \
${INSTALL_DATA} $$i ${DESTDIR}${PYTHONDIR}/xcbgen; \
done
cd ${DESTDIR}${PYTHONDIR}/xcbgen; \
env PYTHON=python${PYTHON_VERSION} ${SHELL} ${.CURDIR}/py-compile \
--basedir ${PYTHONDIR}/xcbgen ${XCBGEN_SRCS}
realinstall: install-py
.endif
.include <bsd.xorg.mk>
|