summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-01-20 17:28:25 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-01-20 17:28:25 +0000
commitec4417cb5717b3d90306ae4d0a7ab4997b87a183 (patch)
tree3302658d9a5335857ef1a97ccfd5fc46529aae98
parent057c6be529a30a30a0379050307bb0ab722d8f14 (diff)
OpenBSD Makefile for xorgproto
-rw-r--r--proto/xorgproto/Makefile.bsd-wrapper63
1 files changed, 63 insertions, 0 deletions
diff --git a/proto/xorgproto/Makefile.bsd-wrapper b/proto/xorgproto/Makefile.bsd-wrapper
new file mode 100644
index 000000000..225446fa8
--- /dev/null
+++ b/proto/xorgproto/Makefile.bsd-wrapper
@@ -0,0 +1,63 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2019/01/20 17:28:24 matthieu Exp $
+
+CONFIGURE_ARGS= --datarootdir=${X11BASE}/lib \
+ --docdir=${X11BASE}/share/doc/xorgproto
+
+XISPECS= XI2proto.txt XIproto.txt
+
+XKBSPECS= XKBproto-1.svg XKBproto-2.svg XKBproto-3.svg XKBproto-4.svg \
+ XKBproto-5.svg XKBproto-6.svg XKBproto-7.svg XKBproto-8.svg \
+ XKBproto-9.svg XKBproto-10.svg XKBproto-11.svg \
+ appA.xml appB.xml appC.xml appD.xml \
+ ch01.xml ch02.xml ch03.xml ch04.xml ch05.xml ch06.xml \
+ ch07.xml ch08.xml ch09.xml ch10.xml ch11.xml ch12.xml \
+ ch13.xml ch15.xml ch16.xml xkbproto.xml
+
+SIADDRESSES= IPv6.txt README hostname.txt localuser.txt
+XSPECS= encoding.xml glossary.xml keysyms.xml \
+ sect1-9.xml x11protocol.xml
+
+EXTSPECS= appendix.xml appgrp.xml dbe.xml dpms.xml evi.xml geproto.xml \
+ lbx.xml multibuf.xml security.xml shape.xml shm.xml sync.xml \
+ tog-cup.xml xtest.xml
+
+
+afterinstall:
+ ${INSTALL_DATA} ${.CURDIR}/specs/bigreq.xml \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto
+ ${INSTALL_DATA} ${.CURDIR}/specs/fsproto.xml \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto
+ @for i in ${XISPECS}; do \
+ echo installing $$i in ${X11BASE}/share/doc/xorgproto/inputproto;\
+ ${INSTALL_DATA} ${.CURDIR}/specs/$$i \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto/inputproto;\
+ done
+ @for i in ${XKBSPECS}; do \
+ echo installing $$i in ${X11BASE}/share/doc/xorgproto/kbproto;\
+ ${INSTALL_DATA} ${.CURDIR}/specs/$$i \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto/kbproto;\
+ done
+ ${INSTALL_DATA} ${.CURDIR}/specs/record.xml \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto
+ ${INSTALL_DATA} ${.CURDIR}/specs/saver.xml \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto
+ @for i in ${XSPECS}; do \
+ echo installing $$i in ${X11BASE}/share/doc/xorgproto/x11proto; \
+ ${INSTALL_DATA} ${.CURDIR}/specs/$$i \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto/x11proto;\
+ done
+ @for i in ${SIADDRESSES}; do \
+ echo installing $$i in ${X11BASE}/share/doc/xorgproto/SIAddresses; \
+ ${INSTALL_DATA} ${.CURDIR}/specs/SIAddresses/$$i \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto/SIAddresses;\
+ done
+ ${INSTALL_DATA} ${.CURDIR}/specs/xc-misc.xml \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto
+ @for i in ${EXTSPECS}; do \
+ echo installing $$i in ${X11BASE}/share/doc/xorgproto/xextproto;\
+ ${INSTALL_DATA} ${.CURDIR}/specs/$$i \
+ ${DESTDIR}${X11BASE}/share/doc/xorgproto/xextproto;\
+ done
+
+
+.include <bsd.xorg.mk>