summaryrefslogtreecommitdiffstats
path: root/accessibility/orca/Makefile
blob: 67fb5a777b6a1daec46b7e1f5730ef4efe23926f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/accessibility/orca/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   orca
PORTVERSION=    2.32.1
PORTREVISION=   3
CATEGORIES= accessibility gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

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

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus \
        ${PYTHON_SITELIBDIR}/pyatspi/__init__.py:${PORTSDIR}/accessibility/at-spi \
        ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
LIB_DEPENDS=    libgnome-mag.so:${PORTSDIR}/accessibility/gnome-mag
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/_dbus_bindings.so:${PORTSDIR}/devel/py-dbus \
        ${PYTHON_SITELIBDIR}/pyatspi/__init__.py:${PORTSDIR}/accessibility/at-spi \
        ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg

CONFLICTS=  orca-3.[0-9]* py*-json-py-[0-9]*

NO_STAGE=   yes
USE_BZIP2=  yes
USES=       gettext gmake pathfix pkgconfig
USE_PYTHON= yes
USE_GNOME=  gnomeprefix libgnomeui gnomespeech pygnome2 pygnomedesktop
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

MAN1=       orca.1

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

.include <bsd.port.mk>