2012-10-29 06:06:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.37 2012/10/29 05:06:39 asau Exp $
|
2004-02-14 18:34:25 +01:00
|
|
|
#
|
|
|
|
|
2010-07-14 18:13:20 +02:00
|
|
|
DISTNAME= libxklavier-5.0
|
2012-09-15 12:03:29 +02:00
|
|
|
PKGREVISION= 5
|
2004-02-14 18:34:25 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gswitchit/}
|
2008-11-24 15:14:52 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-02-14 18:34:25 +01:00
|
|
|
|
2008-04-30 15:38:14 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-09-15 17:11:52 +02:00
|
|
|
HOMEPAGE= http://freedesktop.org/Software/LibXklavier
|
2004-02-14 18:34:25 +01:00
|
|
|
COMMENT= High-level API for the X Keyboard Extension (XKB)
|
2009-05-13 14:32:08 +02:00
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
2004-06-27 08:47:07 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-02-14 18:34:25 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE= libxklavier.pc.in
|
|
|
|
|
2005-03-22 17:05:13 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-xkb-support
|
2008-12-21 00:31:54 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xmodmap-base=${PREFIX}/share/xmodmap
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if exists(${X11BASE}/share/X11/xkb/rules/xorg.xml)
|
|
|
|
CONFIGURE_ARGS+= --with-xkb-base=${X11BASE}/share/X11/xkb
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-xkb-base=${X11BASE}/lib/X11/xkb
|
|
|
|
.endif
|
2005-03-22 17:05:13 +01:00
|
|
|
|
2009-09-30 11:22:47 +02:00
|
|
|
# Workaround for Upstream Bug#562310.
|
|
|
|
# for more detail, see also PR#41475.
|
|
|
|
TOOLS_NOOP+= gtkdoc-rebase
|
|
|
|
|
2006-09-15 17:11:52 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0
|
|
|
|
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2008-10-25 01:21:20 +02:00
|
|
|
.include "../../textproc/iso-codes/buildlink3.mk"
|
2004-02-14 18:34:25 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2007-01-15 20:26:33 +01:00
|
|
|
.include "../../x11/libxkbfile/buildlink3.mk"
|
2004-02-14 18:34:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|