View | Details | Raw Unified | Return to bug 243070
Collapse All | Expand All

(-)x11/xkeyboard-config/Makefile (-10 / +8 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	xkeyboard-config
3
PORTNAME=	xkeyboard-config
4
PORTVERSION=	2.27
4
PORTVERSION=	2.27
5
PORTREVISION=	1
5
CATEGORIES=	x11
6
CATEGORIES=	x11
6
MASTER_SITES=	XORG/individual/${XORG_CAT}/${PORTNAME}
7
MASTER_SITES=	XORG/individual/${XORG_CAT}/${PORTNAME}
7
8
Lines 22-42 Link Here
22
CONFIGURE_ARGS=	--with-xkb-base=${PREFIX}/share/X11/xkb \
23
CONFIGURE_ARGS=	--with-xkb-base=${PREFIX}/share/X11/xkb \
23
		--with-xkb-rules-symlink=xorg
24
		--with-xkb-rules-symlink=xorg
24
25
25
OPTIONS_DEFINE=	ETERSOFT
26
OPTIONS_DEFINE=	ETERSOFT NLS
27
OPTIONS_DEFAULT=NLS
28
OPTIONS_SUB=	yes
29
26
ETERSOFT_DESC=	Add pre-1918 Russian letters to typographic layout
30
ETERSOFT_DESC=	Add pre-1918 Russian letters to typographic layout
27
ETERSOFT_EXTRA_PATCHES=	${FILESDIR}/etersoft-patch-symbols-typo
31
ETERSOFT_EXTRA_PATCHES=	${FILESDIR}/etersoft-patch-symbols-typo
28
32
33
NLS_CONFIGURE_ENABLE=	nls
34
NLS_USES=		gettext
35
29
.include <bsd.port.options.mk>
36
.include <bsd.port.options.mk>
30
37
31
# !nls case doesn't work correctly, comment it out.
32
#.if ${PORT_OPTIONS:MNLS}
33
USES+=		gettext-tools iconv
34
PLIST_SUB+=	NLS=""
35
#.else
36
#CONFIGURE_ARGS+=--disable-nls
37
#PLIST_SUB+=	NLS="@comment "
38
#.endif
39
40
post-patch:
38
post-patch:
41
	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
39
	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
42
		${WRKSRC}/rules/merge.sh
40
		${WRKSRC}/rules/merge.sh

Return to bug 243070