2017-12-04 17:36:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2017/12/04 16:36:24 maya Exp $
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2017-11-23 16:16:39 +01:00
|
|
|
DISTNAME= at-spi2-core-2.26.2
|
2017-12-04 17:36:24 +01:00
|
|
|
PKGREVISION= 1
|
2013-12-08 14:40:20 +01:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/at-spi2-core/${PKGVERSION_NOREV:R}/}
|
2012-02-10 18:25:38 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= prlw1@cam.ac.uk
|
|
|
|
HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus
|
|
|
|
COMMENT= Assistive Technology Service Provider Interface Core
|
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
2012-11-13 22:43:16 +01:00
|
|
|
USE_LIBTOOL= yes
|
2012-02-10 18:25:38 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2012-11-13 22:43:16 +01:00
|
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
|
|
|
GNU_CONFIGURE= yes
|
2012-02-10 18:25:38 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
|
|
|
|
|
2012-11-13 22:43:16 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= atspi-2.pc.in
|
|
|
|
|
2017-08-25 14:17:00 +02:00
|
|
|
CHECK_PORTABILITY_SKIP+= config/test-driver
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE PKG_SYSCONFBASE
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2012-11-13 22:43:16 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/at-spi2-core
|
|
|
|
PKG_SYSCONFSUBDIR= at-spi2
|
|
|
|
busconfigdir= ${PKG_SYSCONFDIR}
|
2012-02-10 18:25:38 +01:00
|
|
|
eg_busconfigdir= ${EGDIR}/at-spi2
|
2012-11-13 22:43:16 +01:00
|
|
|
default_sessiondir= ${PKG_SYSCONFBASE}/xdg/autostart
|
|
|
|
eg_default_sessiondir= ${EGDIR}/xdg/autostart
|
2012-02-10 18:25:38 +01:00
|
|
|
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
|
|
|
|
|
2017-08-25 14:17:00 +02:00
|
|
|
SUBST_CLASSES+= eg
|
|
|
|
SUBST_SED.eg+= -e 's,defaults,examples/${PKGBASE},g'
|
|
|
|
SUBST_FILES.eg+= bus/Makefile.in
|
|
|
|
SUBST_STAGE.eg= pre-configure
|
|
|
|
SUBST_MESSAGE.eg= Fixing path to examples directory.
|
|
|
|
|
2012-02-10 18:25:38 +01:00
|
|
|
CONF_FILES= ${eg_busconfigdir}/accessibility.conf \
|
2012-11-13 22:43:16 +01:00
|
|
|
${busconfigdir}/accessibility.conf
|
|
|
|
CONF_FILES+= ${eg_default_sessiondir}/at-spi-dbus-bus.desktop \
|
2012-02-10 18:25:38 +01:00
|
|
|
${default_sessiondir}/at-spi-dbus-bus.desktop
|
2013-08-14 22:39:16 +02:00
|
|
|
MAKE_DIRS+= ${default_sessiondir}
|
2012-02-10 18:25:38 +01:00
|
|
|
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2012-06-12 19:16:13 +02:00
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
2016-11-25 13:49:00 +01:00
|
|
|
.include "../../x11/libXi/buildlink3.mk"
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|