summaryrefslogtreecommitdiff
path: root/x11/libxkbcommon/Makefile
blob: fb39ee09cd67f34b31798725d78fa8877ce02481 (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

PORTNAME=	libxkbcommon
PORTVERSION=	1.1.0
CATEGORIES=	x11
MASTER_SITES=	https://xkbcommon.org/download/
DIST_SUBDIR=	xorg/lib

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Keymap handling library for toolkits and window systems

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	xkeyboard-config>0:x11/xkeyboard-config

USES=		bison gnome meson pkgconfig tar:xz
USE_GNOME=	libxml2
MESON_ARGS=	-Denable-docs=false \
		-Denable-wayland=false \
		-Dx-locale-root="${PREFIX}/lib/X11/locale"

OPTIONS_DEFINE=	X11
OPTIONS_DEFAULT=X11
OPTIONS_SUB=	yes

X11_USES=	xorg
X11_USE=	XORG=xcb
X11_MESON_TRUE=	enable-x11

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 1200000
MESON_ARGS+=	-Ddefault-rules=xorg
.endif

.include <bsd.port.post.mk>