mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
0b76c42e72
Reviewed by: kwm Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D11064
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= xkeyboard-config
|
|
PORTVERSION= 2.21
|
|
CATEGORIES= x11
|
|
MASTER_SITES= XORG/individual/${XORG_CAT}/${PORTNAME}
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X Keyboard Configuration Database
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= xkbcomp:x11/xkbcomp
|
|
|
|
XORG_CAT= data
|
|
|
|
NO_ARCH= yes
|
|
USES= gmake localbase pathfix perl5
|
|
USE_GNOME= intlhack libxslt:build
|
|
USE_PERL5= build
|
|
|
|
CONFIGURE_ARGS= --with-xkb-base=${PREFIX}/share/X11/xkb \
|
|
--with-xkb-rules-symlink=xorg
|
|
|
|
OPTIONS_DEFINE= ETERSOFT
|
|
ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
|
|
ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
# !nls case doesn't work correctly, comment it out.
|
|
#.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext-tools iconv
|
|
PLIST_SUB+= NLS=""
|
|
#.else
|
|
#CONFIGURE_ARGS+=--disable-nls
|
|
#PLIST_SUB+= NLS="@comment "
|
|
#.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
|
|
${WRKSRC}/rules/merge.sh
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/lib/xkb
|
|
@${LN} -sf /var/lib/xkb ${STAGEDIR}${PREFIX}/share/X11/xkb/compiled
|
|
|
|
.include <bsd.port.mk>
|