1 # $NetBSD: Makefile,v 1.36 2012/09/15 10:07:10 obache Exp $
4 DISTNAME
= libxklavier-5.0
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=gswitchit
/}
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://freedesktop.org
/Software
/LibXklavier
12 COMMENT
= High-level API for the X Keyboard Extension
(XKB
)
15 PKG_INSTALLATION_TYPES
= overwrite pkgviews
17 USE_TOOLS
+= pkg-config
21 PKGCONFIG_OVERRIDE
= libxklavier.
pc.in
23 CONFIGURE_ARGS
+= --enable-xkb-support
24 CONFIGURE_ARGS
+= --with-xmodmap-base
=${PREFIX}/share
/xmodmap
26 .
include "../../mk/bsd.prefs.mk"
27 .if exists
(${X11BASE}/share
/X11
/xkb
/rules
/xorg.xml
)
28 CONFIGURE_ARGS
+= --with-xkb-base
=${X11BASE}/share
/X11
/xkb
30 CONFIGURE_ARGS
+= --with-xkb-base
=${X11BASE}/lib
/X11
/xkb
33 # Workaround for Upstream Bug#562310.
34 # for more detail, see also PR#41475.
35 TOOLS_NOOP
+= gtkdoc-rebase
37 BUILDLINK_API_DEPENDS.glib2
+= glib2
>=2.6.0
39 .
include "../../devel/glib2/buildlink3.mk"
40 .
include "../../textproc/iso-codes/buildlink3.mk"
41 .
include "../../textproc/libxml2/buildlink3.mk"
42 .
include "../../x11/libxkbfile/buildlink3.mk"
43 .
include "../../mk/bsd.pkg.mk"