summaryrefslogtreecommitdiffstats
path: root/accessibility/py-atspi/Makefile
blob: 28da0b0ddbf3f9a6cdaa0cd7c8ed75ccc0d3a124 (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
30
31
32
33
# New ports collection makefile for:   at-spi
# Date Created:         12 April 2002
# Whom:             Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/py-atspi/Makefile,v 1.11 2010/09/28 08:35:01 kwm Exp $
#

PORTNAME=   atspi
PORTVERSION=    0.4.0
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=    gnome2

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

LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    ${LOCALBASE}/libexec/at-spi2-registryd:${PORTSDIR}/accessibility/at-spi2-core

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomehier intlhack gtk20 libxml2
GNU_CONFIGURE=  yes
USE_PYTHON= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>