Makefile 1.39 KB
Newer Older
1
2
3
4
5
# New ports collection makefile for:	orca
# Date created:				25 Jul 2006
# Whom:					Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
6
#   $MCom: ports/accessibility/orca/Makefile,v 1.90 2010/11/16 12:00:48 avl Exp $
7
8
9
#

PORTNAME=	orca
10
PORTVERSION=	2.32.1
dinoex's avatar
dinoex committed
11
PORTREVISION=	2
12
CATEGORIES=	accessibility gnome
13
MASTER_SITES=	GNOME
14
15
16
17
18
DIST_SUBDIR=	gnome2

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

19
BUILD_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
LIB_DEPENDS=	gnome-mag.2:${PORTSDIR}/accessibility/gnome-mag
23
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus \
24
25
		${PYTHON_SITELIBDIR}/pyatspi/__init__.py:${PORTSDIR}/accessibility/at-spi \
		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
26

27
28
LATEST_LINK=	gnome-orca

29
30
31
32
USE_BZIP2=	yes
USE_GETTEXT=	yes
USE_PYTHON=	yes
USE_GMAKE=	yes
33
USE_GNOME=	gnomeprefix gnomehack libgnomeui gnomespeech pygnome2 \
marcus's avatar
marcus committed
34
		pygnomedesktop
35
36
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
37
38
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
39

40
41
MAN1=		orca.1

42
post-patch:
43
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
44
45
46
47
		${WRKSRC}/src/orca/orca.in
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	    	${WRKSRC}/src/orca/orca_i18n.py

48
.include <bsd.port.mk>