summaryrefslogtreecommitdiffstats
path: root/accessibility/at-spi/Makefile
blob: 5e3a64fa056bc14dfda85f17bf87314af290a345 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:   at-spi
# Date Created:         12 April 2002
# Whom:             Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/at-spi/Makefile,v 1.107 2011/04/30 20:43:11 mezz Exp $
#

PORTNAME=   at-spi
PORTVERSION=    1.32.0
PORTREVISION?=  0
CATEGORIES= accessibility x11-toolkits
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    An Assistive Technology Service Provider Interface

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

CONFLICTS=  at-spi2-atk-2.[0-9]* py[0-9][0-9]-atspi-2.[0-9]*

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomehier intlhack gtk20 gconf2 libbonobo
USE_XORG=   x11 xtst
USE_PYTHON= yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-static
CPPFLAGS=   -I${LOCALBASE}/include
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  at-spi.schemas

post-extract:
    @${RM} -f ${WRKSRC}/registryd/Accessibility_Registry.server

post-patch:
    @${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e "/^SUBDIRS =/s/docs//" ${WRKSRC}/Makefile.in

.include <bsd.port.mk>

.endif