Makefile 1.17 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
kwm's avatar
kwm committed
6
PORTVERSION=	3.14.2
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
20
21
RUN_DEPENDS=	py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \
		py3?-xdg>=0:${PORTSDIR}/devel/py3-xdg \
		py3?-cairo>=0:${PORTSDIR}/graphics/py3-cairo
22

23
24
25
26
27
28
# 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
29
30
INSTALLS_ICONS=	yes
GNU_CONFIGURE=	yes
31
32
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
33

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

38
.include <bsd.port.mk>