Makefile 1.26 KB
Newer Older
1
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
2
# $FreeBSD$
kwm's avatar
kwm committed
3
#   $MCom: ports/trunk/accessibility/orca/Makefile 20054 2014-11-10 17:23:39Z gusi $
4
5

PORTNAME=	orca
6
PORTVERSION=	3.14.4
7
CATEGORIES=	accessibility gnome
8
MASTER_SITES=	GNOME
9
DIST_SUBDIR=	gnome3
10
11
12
13

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

kwm's avatar
kwm committed
14
15
16
BUILD_DEPENDS=	py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \
		py3?-xdg>=0:${PORTSDIR}/devel/py3-xdg \
		py3?-cairo>=0:${PORTSDIR}/graphics/py3-cairo \
17
18
		itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=	libatspi.so:${PORTSDIR}/accessibility/at-spi2-core
kwm's avatar
kwm committed
19
RUN_DEPENDS=	py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \
20
		py3?-atspi>=0:${PORTSDIR}/accessibility/py3-atspi \
kwm's avatar
kwm committed
21
22
		py3?-xdg>=0:${PORTSDIR}/devel/py3-xdg \
		py3?-cairo>=0:${PORTSDIR}/graphics/py3-cairo
23

24
25
26
27
28
29
# conflict with py*-json-py because orca uses the json from python itself
# and py*-json-py shadows this.
CONFLICTS=	py*-json-py-[0-9]*

USES=		gettext gmake pathfix pkgconfig python:3 tar:xz
USE_GNOME=	gnomeprefix gtk30 py3gobject3 intlhack
30
31
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
32
33
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
34

kwm's avatar
kwm committed
35
36
PLIST_SUB+=	PYVER=${PYTHON_VER:S/.//}

37
38
39
40
post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	    	${WRKSRC}/src/orca/orca_i18n.py

41
.include <bsd.port.mk>