Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / libxklavier / Makefile
blob047af911993085724cf870587cf279d5a75eb0f7
1 # $NetBSD: Makefile,v 1.36 2012/09/15 10:07:10 obache Exp $
4 DISTNAME= libxklavier-5.0
5 PKGREVISION= 5
6 CATEGORIES= x11
7 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gswitchit/}
8 EXTRACT_SUFX= .tar.bz2
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://freedesktop.org/Software/LibXklavier
12 COMMENT= High-level API for the X Keyboard Extension (XKB)
13 LICENSE= gnu-lgpl-v2
15 PKG_INSTALLATION_TYPES= overwrite pkgviews
17 USE_TOOLS+= pkg-config
18 GNU_CONFIGURE= YES
19 USE_LIBTOOL= YES
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
29 .else
30 CONFIGURE_ARGS+= --with-xkb-base=${X11BASE}/lib/X11/xkb
31 .endif
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"