# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $MidnightBSD: trunk/accessibility/py-atspi/Makefile 20054 2015-08-26 16:24:16Z laffer1 $
# $FreeBSD: head/accessibility/py-atspi/Makefile 386312 2015-05-14 10:15:04Z mat $
#   $MCom: ports/trunk/accessibility/py-atspi/Makefile 20031 2014-11-02 21:47:55Z kwm $

PORTNAME=	atspi
PORTVERSION=	2.16.0
CATEGORIES=	accessibility x11-toolkits python
MASTER_SITES=	GNOME/sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	pyatspi-${PORTVERSION}
DIST_SUBDIR=	gnome3

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Python API for the D-BUS based SPI framework

RUN_DEPENDS=	${LOCALBASE}/libexec/at-spi2-registryd:${PORTSDIR}/accessibility/at-spi2-core

CONFLICTS=	at-spi-1.[0-9]*

USES=		gettext gmake pathfix pkgconfig python:2 tar:xz
USE_PYTHON=	2
USE_GNOME=	intlhack pygobject3
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.mk>
