Makefile 1.12 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.73 2009/10/19 20:01:51 kwm Exp $
7
8
9
#

PORTNAME=	orca
marcus's avatar
marcus committed
10
PORTVERSION=	2.28.2
11
CATEGORIES=	accessibility gnome
12
MASTER_SITES=	GNOME
13
14
15
16
17
DIST_SUBDIR=	gnome2

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

marcus's avatar
marcus committed
18
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus
19
LIB_DEPENDS=	gnome-mag.2:${PORTSDIR}/accessibility/gnome-mag
marcus's avatar
marcus committed
20
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus
21

22
23
LATEST_LINK=	gnome-orca

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

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>