Makefile 1.27 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.84 2010/04/26 10:45:56 kwm Exp $
7
8
9
#

PORTNAME=	orca
10
PORTVERSION=	2.30.1
11
CATEGORIES=	accessibility gnome
12
MASTER_SITES=	GNOME
13
14
15
16
17
DIST_SUBDIR=	gnome2

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

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

24
25
LATEST_LINK=	gnome-orca

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

37
38
MAN1=		orca.1

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

45
.include <bsd.port.mk>