ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11/xkeyboard-config/Makefile
Revision: 23891
Committed: Sun Aug 26 19:50:36 2018 UTC (5 years, 8 months ago) by laffer1
File size: 1200 byte(s)
Log Message:
update

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= xkeyboard-config
4 PORTVERSION= 2.24
5 CATEGORIES= x11
6
7 MAINTAINER= ports@MidnightBSD.org
8 COMMENT= X Keyboard Configuration Database
9
10 LICENSE= mit
11
12 MASTER_SITE_SUBDIR= individual/${XORG_CAT}/${PORTNAME}
13
14 BUILD_DEPENDS= xkbcomp:${PORTSDIR}/x11/xkbcomp
15 XORG_CAT= data
16
17 NO_ARCH= yes
18 USES= gmake pathfix tar:bzip2
19 USE_GNOME= intlhack libxslt:build
20 USE_PERL5_BUILD=yes
21 GNU_CONFIGURE= yes
22 INSTALL_TARGET= install-strip
23
24 CONFIGURE_ARGS= --with-xkb-base=${PREFIX}/share/X11/xkb \
25 --with-xkb-rules-symlink=xorg
26 CPPFLAGS+= -I${LOCALBASE}/include
27 LIBS+= -L${LOCALBASE}/lib
28
29 OPTIONS_DEFINE= ETERSOFT
30 ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
31 ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
32
33 .include <bsd.mport.options.mk>
34
35 # !nls case doesn't work correctly, comment it out.
36 #.if ${PORT_OPTIONS:MNLS}
37 USES+= gettext-tools iconv
38 PLIST_SUB+= NLS=""
39 #.else
40 #CONFIGURE_ARGS+=--disable-nls
41 #PLIST_SUB+= NLS="@comment "
42 #.endif
43
44 post-patch:
45 @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
46 ${WRKSRC}/rules/merge.sh
47
48 post-install:
49 ${MKDIR} /var/lib/xkb
50 ${LN} -sf /var/lib/xkb ${PREFIX}/share/X11/xkb/compiled
51
52 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H