Makefile 1.26 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
7
PORTREVISION=	3
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=	libgnome-mag.so:${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
USES=		gmake gettext pkgconfig tar:bzip2
rene's avatar
rene committed
24
USE_PYTHON=	2
25
USE_GNOME=	gnomeprefix libgnomeui gnomespeech pygnome2 \
marcus's avatar
marcus committed
26
		pygnomedesktop
27
28
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
29
30
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
31

32
post-patch:
33
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
34
35
36
37
		${WRKSRC}/src/orca/orca.in
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	    	${WRKSRC}/src/orca/orca_i18n.py

38
.include <bsd.port.mk>