summaryrefslogtreecommitdiffstats
path: root/accessibility/py3-atspi/Makefile
blob: 7dd3b663fde036983094bbc5ed7834add6dd8cb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
#   $MCom$

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

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Python3 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 tar:xz
USE_GNOME=  gnomehier intlhack py3gobject3
GNU_CONFIGURE=  yes
USE_PYTHON= 3
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.include <bsd.port.mk>