summaryrefslogtreecommitdiff
path: root/x11/xorg-server/Makefile
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2019-08-03 20:10:21 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2019-08-03 20:10:21 +0200
commit561d4c147b1b28f657c9e686463b4838d1a9b0b6 (patch)
treeeefd0cd8e311fdcec804d84928a09a4debb81d31 /x11/xorg-server/Makefile
parentd348237f6e6be40443ff7cc91ae34e7d9a1f93f0 (diff)
Preliminary xorg-server
XXX broken for now
Diffstat (limited to 'x11/xorg-server/Makefile')
-rw-r--r--x11/xorg-server/Makefile73
1 files changed, 73 insertions, 0 deletions
diff --git a/x11/xorg-server/Makefile b/x11/xorg-server/Makefile
new file mode 100644
index 0000000..da8d29c
--- /dev/null
+++ b/x11/xorg-server/Makefile
@@ -0,0 +1,73 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = the X.Org X server
+
+DISTNAME = xorg-server-1.20.5
+CATEGORIES = x11
+
+HOMEPAGE = https://gitlab.freedesktop.org/xorg/xserver
+
+MAINTAINER = xenocara@openbsd.org
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+# uses pledge()
+
+#WANTLIB = ???
+
+MASTER_SITES = ${MASTER_SITE_XORG:=xserver/}
+
+
+# Dependencies
+#BUILD_DEPENDS = ???
+#RUN_DEPENDS = ???
+#LIB_DEPENDS = ???
+#TEST_DEPENDS = ???
+
+#MAKE_FLAGS = ???
+#MAKE_ENV = ???
+#FAKE_FLAGS = ???
+#TEST_FLAGS = ???
+
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = autoconf
+
+GLX_OPTION= --enable-glamor
+KDRIVE_OPTION= --enable-kdrive
+DRI_OPTION= --enable-dri --enable-dri2
+
+XKB_PATH= ${X11BASE}/share/X11/xkb
+XKB_RULES= base
+
+CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
+ --with-xkb-path=${XKB_PATH} \
+ --with-xkb-output=/var/db/xkb \
+ --with-default-xkb-rules=${XKB_RULES} \
+ --with-module-dir=${LIBDIR}/modules ${GLX_OPTION} \
+ --disable-install-setuid --enable-privsep \
+ ${KDRIVE_OPTION} \
+ --enable-xcsecurity --disable-xdm-auth-1 \
+ --without-fop --without-xmlto --without-xsltproc \
+ --disable-dmx ${NO_XORG_OPTION} \
+ --disable-unit-tests \
+ ${DRI_OPTION}
+
+# for gnu stuff
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.12
+
+#NO_BUILD = Yes
+NO_TEST = Yes
+
+# For ports that use a script or autoreconf to generate autoconf/automake
+# files (where "CONFIGURE_STYLE=autoconf" isn't enough), use some/all of these
+# dependencies, and add a do-gen target:
+#
+#BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
+# ${MODGNU_AUTOMAKE_DEPENDS} \
+# devel/libtool
+#
+#do-gen:
+# cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
+
+.include <bsd.port.mk>