aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-01-06 13:56:31 +0000
committerSteve Wills <swills@FreeBSD.org>2020-01-06 13:56:31 +0000
commitec2b679dae9ba7d69116bfbd70ba6a3edba05931 (patch)
tree3b01e9121dad538e33efab217a6d0b889ba3257e /accessibility
parenta10ec8fe78e6a249e00e4ba76e46869737c692c8 (diff)
downloadports-ec2b679dae9ba7d69116bfbd70ba6a3edba05931.tar.gz
ports-ec2b679dae9ba7d69116bfbd70ba6a3edba05931.zip
accessibility/yasr: use patch instead of sed to replace static content
PR: 242486 Approved by: maintainer timeout (david.k.gerry@gmail.com, >3 weeks)
Notes
Notes: svn path=/head/; revision=522231
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/yasr/Makefile3
-rw-r--r--accessibility/yasr/files/patch-yasr.conf11
2 files changed, 11 insertions, 3 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile
index 529dd793d614..a05fdf0d0bef 100644
--- a/accessibility/yasr/Makefile
+++ b/accessibility/yasr/Makefile
@@ -30,9 +30,6 @@ PLIST_FILES= bin/yasr \
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
-post-patch:
- @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
diff --git a/accessibility/yasr/files/patch-yasr.conf b/accessibility/yasr/files/patch-yasr.conf
new file mode 100644
index 000000000000..e9e7b6c25ec2
--- /dev/null
+++ b/accessibility/yasr/files/patch-yasr.conf
@@ -0,0 +1,11 @@
+--- yasr.conf.orig 2008-01-31 13:01:50 UTC
++++ yasr.conf
+@@ -63,7 +63,7 @@ synthesizer port=|/usr/local/bin/eflite
+ # Below line appropriate for Speech Dispatcher in its default configuration
+ #synthesizer port=127.0.0.1:6560
+ key echo=off
+-shell=/bin/bash
++shell=/bin/csh
+ special=off
+ up and down arrows=speak line
+ DisableKey=6925