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:
Steve Wills 2020-01-06 13:56:31 +00:00
parent a10ec8fe78
commit ec2b679dae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522231
2 changed files with 11 additions and 3 deletions

View File

@ -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}

View 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