| @@ -1,62 +1,62 @@ | | | @@ -1,62 +1,62 @@ |
1 | # $NetBSD: Makefile,v 1.25 2014/10/05 14:57:55 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.26 2015/01/29 10:17:03 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= xkeyboard-config-2.13 | | 3 | DISTNAME= xkeyboard-config-2.14 |
4 | CATEGORIES= x11 | | 4 | CATEGORIES= x11 |
5 | MASTER_SITES= ${MASTER_SITE_XORG:=data/${PKGBASE}/} | | 5 | MASTER_SITES= ${MASTER_SITE_XORG:=data/${PKGBASE}/} |
6 | EXTRACT_SUFX= .tar.bz2 | | 6 | EXTRACT_SUFX= .tar.bz2 |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/XKeyboardConfig | | 9 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/XKeyboardConfig |
10 | COMMENT= X Keyboard Configuration Database | | 10 | COMMENT= X Keyboard Configuration Database |
11 | | | 11 | |
12 | BUILD_DEPENDS+= xkbcomp-[0-9]*:../../x11/xkbcomp | | 12 | BUILD_DEPENDS+= xkbcomp-[0-9]*:../../x11/xkbcomp |
13 | | | 13 | |
14 | CONFLICTS+= xkbdata-[0-9]* | | 14 | CONFLICTS+= xkbdata-[0-9]* |
15 | | | 15 | |
16 | MAKE_JOBS_SAFE= no | | 16 | MAKE_JOBS_SAFE= no |
17 | | | 17 | |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | USE_LIBTOOL= yes | | 19 | USE_LIBTOOL= yes |
20 | USE_TOOLS+= gmake intltool msgfmt pkg-config | | 20 | USE_TOOLS+= gmake intltool msgfmt pkg-config |
21 | PKGCONFIG_OVERRIDE+= xkeyboard-config.pc.in | | 21 | PKGCONFIG_OVERRIDE+= xkeyboard-config.pc.in |
22 | | | 22 | |
23 | BUILD_DEFS+= VARBASE | | 23 | BUILD_DEFS+= VARBASE |
24 | BUILD_DEFS+= XKBCOMPDIR | | 24 | BUILD_DEFS+= XKBCOMPDIR |
25 | | | 25 | |
26 | CONFIGURE_ARGS+= --with-xkb-rules-symlink=xfree86,xorg | | 26 | CONFIGURE_ARGS+= --with-xkb-rules-symlink=xfree86,xorg |
27 | CONFIGURE_ARGS+= --with-xkb-base=${XKBBASE:Q} | | 27 | CONFIGURE_ARGS+= --with-xkb-base=${XKBBASE:Q} |
28 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share | | 28 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share |
29 | CONFIGURE_ARGS+= --without-xsltproc | | 29 | CONFIGURE_ARGS+= --without-xsltproc |
30 | ### | | 30 | ### |
31 | REPLACE_SH= rules/merge.sh | | 31 | REPLACE_SH= rules/merge.sh |
32 | ### | | 32 | ### |
33 | ### Keymaps, rules, etc. are installed here. | | 33 | ### Keymaps, rules, etc. are installed here. |
34 | ### | | 34 | ### |
35 | XKBBASE= ${PREFIX}/share/X11/xkb | | 35 | XKBBASE= ${PREFIX}/share/X11/xkb |
36 | ### | | 36 | ### |
37 | ### The server puts compiled keymaps in the directory below. | | 37 | ### The server puts compiled keymaps in the directory below. |
38 | ### | | 38 | ### |
39 | XKBCOMPDIR?= ${VARBASE}/db/xkb | | 39 | XKBCOMPDIR?= ${VARBASE}/db/xkb |
40 | ### | | 40 | ### |
41 | ### The package must symlink ${XKBCOMPDIR} into ${XKBBASE}. ${XKBCOMP} is | | 41 | ### The package must symlink ${XKBCOMPDIR} into ${XKBBASE}. ${XKBCOMP} is |
42 | ### is the path to the xkbcomp binary we wish to use. | | 42 | ### is the path to the xkbcomp binary we wish to use. |
43 | ### | | 43 | ### |
44 | XKBCOMPDIR_SYMLINK= ${XKBBASE}/compiled | | 44 | XKBCOMPDIR_SYMLINK= ${XKBBASE}/compiled |
45 | XKBCOMP= ${PREFIX}/bin/xkbcomp | | 45 | XKBCOMP= ${PREFIX}/bin/xkbcomp |
46 | | | 46 | |
47 | FILES_SUBST+= XKBBASE=${XKBBASE:Q} | | 47 | FILES_SUBST+= XKBBASE=${XKBBASE:Q} |
48 | FILES_SUBST+= XKBCOMP=${XKBCOMP:Q} | | 48 | FILES_SUBST+= XKBCOMP=${XKBCOMP:Q} |
49 | FILES_SUBST+= XKBCOMP_SYMLINK=${${XKBBASE}/xkbcomp:L:Q} | | 49 | FILES_SUBST+= XKBCOMP_SYMLINK=${${XKBBASE}/xkbcomp:L:Q} |
50 | FILES_SUBST+= XKBCOMPDIR=${XKBCOMPDIR:Q} | | 50 | FILES_SUBST+= XKBCOMPDIR=${XKBCOMPDIR:Q} |
51 | FILES_SUBST+= XKBCOMPDIR_SYMLINK=${XKBCOMPDIR_SYMLINK:Q} | | 51 | FILES_SUBST+= XKBCOMPDIR_SYMLINK=${XKBCOMPDIR_SYMLINK:Q} |
52 | | | 52 | |
53 | OWN_DIRS+= ${XKBCOMPDIR} | | 53 | OWN_DIRS+= ${XKBCOMPDIR} |
54 | | | 54 | |
55 | BUILDLINK_DEPMETHOD.gettext= build # for the configure only | | 55 | BUILDLINK_DEPMETHOD.gettext= build # for the configure only |
56 | .include "../../devel/gettext-lib/buildlink3.mk" | | 56 | .include "../../devel/gettext-lib/buildlink3.mk" |
57 | | | 57 | |
58 | BUILDLINK_API_DEPENDS.libX11+= libX11>=1.4.3 | | 58 | BUILDLINK_API_DEPENDS.libX11+= libX11>=1.4.3 |
59 | .include "../../x11/libX11/buildlink3.mk" | | 59 | .include "../../x11/libX11/buildlink3.mk" |
60 | BUILDLINK_API_DEPENDS.xproto+= xproto>=7.0.20 | | 60 | BUILDLINK_API_DEPENDS.xproto+= xproto>=7.0.20 |
61 | .include "../../x11/xproto/buildlink3.mk" | | 61 | .include "../../x11/xproto/buildlink3.mk" |
62 | .include "../../mk/bsd.pkg.mk" | | 62 | .include "../../mk/bsd.pkg.mk" |