blob: 412970b66ad6dd924d60985746d94e1357dba04d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $FreeBSD$
PORTNAME= xkeyboard-config
PORTVERSION= 2.8
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
COMMENT= X Keyboard Configuration Database
MASTER_SITE_SUBDIR= individual/${XORG_CAT}/${PORTNAME}
LICENSE= MIT
BUILD_DEPENDS= xkbcomp:${PORTSDIR}/x11/xkbcomp \
xsltproc:${PORTSDIR}/textproc/libxslt
XORG_CAT= data
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= intlhack
USES= pathfix
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
CONFIGURE_ARGS= --with-xkb-base=${PREFIX}/share/X11/xkb \
--with-xkb-rules-symlink=xorg
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN7= xkeyboard-config.7
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext 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} /var/lib/xkb
${LN} -sf /var/lib/xkb ${PREFIX}/share/X11/xkb/compiled
.include <bsd.port.mk>
|