diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-02-17 01:23:44 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-02-17 01:23:44 +0800 |
commit | f05f0e918af9e396c286fd272932498d9acac33a (patch) | |
tree | b4c22264c84004a84e943fe33cc83ab4b51b7811 /accessibility/yasr | |
parent | 47648681c8e2283d4f49a81fefe597babbfe1b7a (diff) | |
download | freebsd-ports-gnome-f05f0e918af9e396c286fd272932498d9acac33a.tar.gz freebsd-ports-gnome-f05f0e918af9e396c286fd272932498d9acac33a.tar.zst freebsd-ports-gnome-f05f0e918af9e396c286fd272932498d9acac33a.zip |
YASR ("Yet Another Screen Reader") is an attempt at a lightweight,
portable screen reader. It works by opening a shell in a pty and
intercepting all user input/output, maintaining a window of what
should be on the screen by looking at the codes and text sent to the
screen. It thus uses no Linuxisms such as /dev/vcsa0 and does not
necessarily need to be setuid root (the only requirement being that
the user be able to access the tts device).
WWW: http://yasr.sourceforge.net/
Ported by David K. Gerry <David.K.Gerry@GMail.com>
PR: ports/119789
Submitted by: David K. Gerry
Diffstat (limited to 'accessibility/yasr')
-rw-r--r-- | accessibility/yasr/Makefile | 48 | ||||
-rw-r--r-- | accessibility/yasr/distinfo | 3 | ||||
-rw-r--r-- | accessibility/yasr/files/pkg-message.in | 26 | ||||
-rw-r--r-- | accessibility/yasr/pkg-descr | 11 |
4 files changed, 88 insertions, 0 deletions
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile new file mode 100644 index 000000000000..1924c8d813a7 --- /dev/null +++ b/accessibility/yasr/Makefile @@ -0,0 +1,48 @@ +# Ports collection makefile for: yasr +# Date created: Wed Jan 14 2004 +# Whom: David K. Gerry +# +# $FreeBSD$ +# + +PORTNAME= yasr +PORTVERSION= 0.6.7 +CATEGORIES= accessibility +MASTER_SITES= SF + +MAINTAINER= David.K.Gerry@GMail.com +COMMENT= A general-purpose console screen reader + +GNU_CONFIGURE= yes +USE_GMAKE= yes +MAN1= yasr.1 +PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO +SUB_FILES= pkg-message + +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +.if !defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --enable-nls +PLIST_SUB+= NLS="" +USE_GETTEXT= yes +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +PLIST_FILES= bin/yasr \ + %%DATADIR%%/yasr.conf +PLIST_DIRS= %%DATADIR%% + +post-patch: + @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + +.include <bsd.port.mk> diff --git a/accessibility/yasr/distinfo b/accessibility/yasr/distinfo new file mode 100644 index 000000000000..5b64261450e8 --- /dev/null +++ b/accessibility/yasr/distinfo @@ -0,0 +1,3 @@ +MD5 (yasr-0.6.7.tar.gz) = c7c6191f1d7413317924e580809817dc +SHA256 (yasr-0.6.7.tar.gz) = dee640ae4a4c813f8248816f9457788737f4b90e38fe9e1a857f4eaf42dec159 +SIZE (yasr-0.6.7.tar.gz) = 201786 diff --git a/accessibility/yasr/files/pkg-message.in b/accessibility/yasr/files/pkg-message.in new file mode 100644 index 000000000000..d7bea2bfb949 --- /dev/null +++ b/accessibility/yasr/files/pkg-message.in @@ -0,0 +1,26 @@ +============================================================================== + +Yasr requires a text-to-speech engine to work. FreeBSD offers two: Festival +and FLite (Festival Lite). Edit the system configuration file +%%DATADIR%%/yasr.conf +or user configuration file ~/.yasr.conf and set "synthesizer" and +"synthesizer port". + +NOTE: To use FLite requires the Emacspeak speech server eflite to be +installed. + +EXAMPLES: + +Festival + synthesizer=festival + sythesizer port=|%%LOCALBASE%%/bin/festival +Festival running as a server + synthesizer=festival + synthesizer port=127.0.0.1:1314 +FLite + synthesizer=Emacspeak server + synthesizer port=|%%LOCALBASE%%/bin/eflite + +See man page for more information. + +============================================================================== diff --git a/accessibility/yasr/pkg-descr b/accessibility/yasr/pkg-descr new file mode 100644 index 000000000000..c4fec745a0e6 --- /dev/null +++ b/accessibility/yasr/pkg-descr @@ -0,0 +1,11 @@ +YASR ("Yet Another Screen Reader") is an attempt at a lightweight, +portable screen reader. It works by opening a shell in a pty and +intercepting all user input/output, maintaining a window of what +should be on the screen by looking at the codes and text sent to the +screen. It thus uses no Linuxisms such as /dev/vcsa0 and does not +necessarily need to be setuid root (the only requirement being that +the user be able to access the tts device). + +WWW: http://yasr.sourceforge.net/ + +Ported by David K. Gerry <David.K.Gerry@GMail.com> |