pkgsrc/graphics/libgii/Makefile
pho 16235ff399 Enable XFree86-DGA mouse and keyboard inputs. Bump revision.
The configure script determines the availability of libXxf86dga only by the existence of X11/extensions/xf86dga.h. This leads to a linkage error on platforms (e.g. Darwin) where the header in question can be found in the system default path but the corresponding library is installed elsewhere. The problem goes away if we had the library buildlinked, and I see no reason for not enabling DGA input anyway.
2014-01-17 08:06:07 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2014/01/17 08:06:07 pho Exp $
DISTNAME= libgii-1.0.2.src
PKGREVISION= 1
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= graphics
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.2/ \
${MASTER_SITE_SOURCEFORGE:=ggi/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ggi-project.org/
COMMENT= General Input Interface - API for all possible input sources
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
TEST_TARGET= check
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR= ggi
EGDIR= ${PREFIX}/share/examples/ggi
CONF_FILES= ${EGDIR}/libgii.conf ${PKG_SYSCONFDIR}/libgii.conf
MAKE_DIRS+= ${PKG_SYSCONFDIR}/filter
CONF_FILES+= ${EGDIR}/filter/keytrans ${PKG_SYSCONFDIR}/filter/keytrans
CONF_FILES+= ${EGDIR}/filter/mouse ${PKG_SYSCONFDIR}/filter/mouse
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
PLIST_VARS+= ggtick
.if empty(PTHREAD_TYPE:Mnative)
PLIST.ggtick= yes
.endif
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"