Makefile 1.3 KB
Newer Older
1
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
2
# $FreeBSD$
3
#   $MCom: ports/accessibility/orca/Makefile,v 1.90 2010/11/16 12:00:48 avl Exp $
4
5

PORTNAME=	orca
6
PORTVERSION=	2.32.1
dinoex's avatar
dinoex committed
7
PORTREVISION=	2
8
CATEGORIES=	accessibility gnome
9
MASTER_SITES=	GNOME
10
11
12
13
14
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Scriptable screen reader

15
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus \
16
17
		${PYTHON_SITELIBDIR}/pyatspi/__init__.py:${PORTSDIR}/accessibility/at-spi \
		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
18
LIB_DEPENDS=	gnome-mag.2:${PORTSDIR}/accessibility/gnome-mag
19
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus \
20
21
		${PYTHON_SITELIBDIR}/pyatspi/__init__.py:${PORTSDIR}/accessibility/at-spi \
		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
22

23
24
LATEST_LINK=	gnome-orca

25
USE_BZIP2=	yes
26
USES=		gmake gettext
27
USE_PYTHON=	yes
28
USE_GNOME=	gnomeprefix gnomehack libgnomeui gnomespeech pygnome2 \
marcus's avatar
marcus committed
29
		pygnomedesktop
30
31
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
32
33
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
34

35
36
MAN1=		orca.1

37
post-patch:
38
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
39
40
41
42
		${WRKSRC}/src/orca/orca.in
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	    	${WRKSRC}/src/orca/orca_i18n.py

43
.include <bsd.port.mk>