mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 20:29:12 +00:00
Remove the code that allowed to install xcbgen under /usr/X11R6/lib/
We can now use x11/py-xcbgen if needed.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.7 2016/09/02 10:09:44 matthieu Exp $
|
# $OpenBSD: Makefile,v 1.8 2018/07/19 11:58:46 matthieu Exp $
|
||||||
|
|
||||||
PKGCONFIG= xcb-proto.pc
|
PKGCONFIG= xcb-proto.pc
|
||||||
|
|
||||||
@@ -37,10 +37,9 @@ FILES= \
|
|||||||
xvmc.xml
|
xvmc.xml
|
||||||
|
|
||||||
XCBDATADIR= ${X11BASE}/share/xcb
|
XCBDATADIR= ${X11BASE}/share/xcb
|
||||||
PYTHONDIR= ${X11BASE}/lib/python${PYTHON_VERSION}/site-packages
|
|
||||||
|
|
||||||
EXTRA_PKGCONFIG_SUBST= '-e s,@xcbincludedir@,$${datadir}/xcb,g' \
|
EXTRA_PKGCONFIG_SUBST= '-e s,@xcbincludedir@,$${datadir}/xcb,g' \
|
||||||
'-e s,@pythondir@,$${prefix}/lib/python${PYTHON_VERSION}/site-packages,g'
|
'-e /^pythondir=/d'
|
||||||
|
|
||||||
realinstall:
|
realinstall:
|
||||||
@for i in ${FILES}; do \
|
@for i in ${FILES}; do \
|
||||||
@@ -51,28 +50,4 @@ realinstall:
|
|||||||
eval "$$j"; \
|
eval "$$j"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.if defined(XENOCARA_REBUILD_XCB) && ${XENOCARA_REBUILD_XCB:L} == "yes"
|
|
||||||
|
|
||||||
XCBGEN_SRCS= \
|
|
||||||
__init__.py \
|
|
||||||
align.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>
|
.include <bsd.xorg.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user