mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
2d69005107
PR: 251974 Submitted by: Neel Chauhan <neel@neelc.org>
38 lines
746 B
Makefile
38 lines
746 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libxkbcommon
|
|
PORTVERSION= 1.0.3
|
|
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>
|