diff options
author | Steve Wills <swills@FreeBSD.org> | 2020-01-06 13:56:31 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2020-01-06 13:56:31 +0000 |
commit | ec2b679dae9ba7d69116bfbd70ba6a3edba05931 (patch) | |
tree | 3b01e9121dad538e33efab217a6d0b889ba3257e /accessibility/yasr | |
parent | a10ec8fe78e6a249e00e4ba76e46869737c692c8 (diff) | |
download | ports-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/yasr')
-rw-r--r-- | accessibility/yasr/Makefile | 3 | ||||
-rw-r--r-- | accessibility/yasr/files/patch-yasr.conf | 11 |
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 |