1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11/xkeyboard-config/Makefile
2024-03-10 11:59:06 +03:00

46 lines
1.1 KiB
Makefile

PORTNAME= xkeyboard-config
DISTVERSION= 2.41
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= XORG/individual/data/${PORTNAME}
MAINTAINER= x11@FreeBSD.org
COMMENT= X Keyboard Configuration Database
WWW= https://freedesktop.org/wiki/Software/XKeyboardConfig/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= gawk:lang/gawk
USES= meson gnome localbase pathfix perl5 python:build \
shebangfix tar:xz
NO_ARCH= yes
USE_GNOME= libxslt:build
USE_PERL5= build
SHEBANG_FILES= rules/merge.py \
rules/compat/map-variants.py
MESON_ARGS= -Dxkb-base=${PREFIX}/share/X11/xkb \
-Dxorg-rules-symlinks=true
OPTIONS_DEFINE= ETERSOFT NLS X11
OPTIONS_DEFAULT=X11
NLS_USES= gettext-tools iconv
NLS_MESON_TRUE= nls
ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
OPTIONS_SUB= yes
ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
X11_BUILD_DEPENDS= xkbcomp:x11/xkbcomp
X11_DESC= XKB keyboard description compiler support
.include <bsd.port.options.mk>
post-install:
@${MKDIR} ${STAGEDIR}/var/lib/xkb
@${LN} -sf /var/lib/xkb ${STAGEDIR}${PREFIX}/share/X11/xkb/compiled
.include <bsd.port.mk>