diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-03-25 05:12:50 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-03-25 05:12:50 +0000 |
commit | 1f596f873d4a2024d3d248250f271d636bf7d32a (patch) | |
tree | e4d85033b560f95f7bf6dd6d52c113ea89fb0a47 /accessibility | |
parent | 78dee058040b6bd023ff29a0d88145977f98fc72 (diff) | |
download | ports-1f596f873d4a2024d3d248250f271d636bf7d32a.tar.gz ports-1f596f873d4a2024d3d248250f271d636bf7d32a.zip |
Notes
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/orca/Makefile | 9 | ||||
-rw-r--r-- | accessibility/orca/files/patch-src_orca_orca.in | 26 | ||||
-rw-r--r-- | accessibility/orca/files/patch-src_orca_orca.in.orig | 0 | ||||
-rw-r--r-- | accessibility/orca/files/patch-src_orca_platform.py.in | 8 | ||||
-rw-r--r-- | accessibility/orca/files/patch-src_orca_platform.py.in.orig | 0 |
5 files changed, 43 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> diff --git a/accessibility/orca/files/patch-src_orca_orca.in b/accessibility/orca/files/patch-src_orca_orca.in new file mode 100644 index 000000000000..80da5c7cb189 --- /dev/null +++ b/accessibility/orca/files/patch-src_orca_orca.in @@ -0,0 +1,26 @@ +--- src/orca/orca.in.orig Sun Mar 25 00:58:52 2007 ++++ src/orca/orca.in Sun Mar 25 01:02:09 2007 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/local/bin/bash + # + # Orca + # +@@ -30,7 +30,7 @@ + + # Set the user's $PATH for this script. + # +-export PATH="/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/X11R6/bin" ++export PATH="/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/local/bin:/usr/X11R6/bin" + + # If you set RUNONCE to "true", then this will just run Orca once and quit. + # +@@ -125,7 +125,7 @@ watchdog() + do + sleep 5 + USERID=`id | cut -f2 -d= | cut -f1 -d\(` +- PID=`ps -eo pid,ruid,args | grep $USERID | egrep "orca[.]orca" | grep -v grep | awk '{ print $1 }'` ++ PID=`ps -exo pid,ruid,args | grep $USERID | egrep "orca[.]orca" | grep -v grep | awk '{ print $1 }'` + + if [ "x$PID" = "x" ] + then diff --git a/accessibility/orca/files/patch-src_orca_orca.in.orig b/accessibility/orca/files/patch-src_orca_orca.in.orig new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/accessibility/orca/files/patch-src_orca_orca.in.orig diff --git a/accessibility/orca/files/patch-src_orca_platform.py.in b/accessibility/orca/files/patch-src_orca_platform.py.in new file mode 100644 index 000000000000..a21ae5f069bc --- /dev/null +++ b/accessibility/orca/files/patch-src_orca_platform.py.in @@ -0,0 +1,8 @@ +--- src/orca/platform.py.in.orig Sun Mar 25 01:07:40 2007 ++++ src/orca/platform.py.in Sun Mar 25 01:07:56 2007 +@@ -40,4 +40,4 @@ package = "@PACKAGE@" + + # The name of the data directory (usually "share"). + # +-datadirname = "@DATADIRNAME@" ++datadirname = "@datadir@" diff --git a/accessibility/orca/files/patch-src_orca_platform.py.in.orig b/accessibility/orca/files/patch-src_orca_platform.py.in.orig new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/accessibility/orca/files/patch-src_orca_platform.py.in.orig |