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 python:2 tar:bzip2
24
USE_GNOME=	gnomeprefix libgnomeui gnomespeech pygnome2 \
marcus's avatar
marcus committed
25
		pygnomedesktop
26
27
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
28
29
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
30

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

37
.include <bsd.port.mk>