aboutsummaryrefslogtreecommitdiff
path: root/accessibility/orca/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/orca/Makefile')
-rw-r--r--accessibility/orca/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/accessibility/orca/Makefile b/accessibility/orca/Makefile
index 3344b316898c..84dd8e2363f9 100644
--- a/accessibility/orca/Makefile
+++ b/accessibility/orca/Makefile
@@ -8,6 +8,7 @@
PORTNAME= orca
PORTVERSION= 2.18.0
+PORTREVISION= 1
CATEGORIES= accessibility x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -17,6 +18,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Scriptable screen reader
LIB_DEPENDS= gnome-mag.2:${PORTSDIR}/accessibility/gnome-mag
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LATEST_LINK= gnome-orca
@@ -33,4 +35,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= orca.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
+ s|/usr/X11R6|${X11BASE}|g' \
+ ${WRKSRC}/src/orca/orca.in
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/src/orca/orca_i18n.py
+
.include <bsd.port.mk>