accessibility/yasr: use patch instead of sed to replace static content
PR: 242486 Approved by: maintainer timeout (david.k.gerry@gmail.com, >3 weeks)
This commit is contained in:
parent
a10ec8fe78
commit
ec2b679dae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522231
@ -30,9 +30,6 @@ PLIST_FILES= bin/yasr \
|
|||||||
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
|
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
|
||||||
%%NLS%%share/locale/fr/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:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for doc in ${PORTDOCS}
|
.for doc in ${PORTDOCS}
|
||||||
|
11
accessibility/yasr/files/patch-yasr.conf
Normal file
11
accessibility/yasr/files/patch-yasr.conf
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user