ports/119789: New port: accessibility/yasr A console screen reader.
David K. Gerry
gerrydk at comcast.net
Sat Jan 19 01:30:01 UTC 2008
>Number: 119789
>Category: ports
>Synopsis: New port: accessibility/yasr A console screen reader.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 19 01:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: David K. Gerry
>Release:
>Organization:
>Environment:
System:
>Description:
A general-purpose console screen reader that can use a variety
of hardware and software speech synthesizers like DEC-talk or
festival.
>How-To-Repeat:
>Fix:
--- yasr.port begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# yasr
# yasr/Makefile
# yasr/pkg-descr
# yasr/pkg-message
# yasr/distinfo
#
echo c - yasr
mkdir -p yasr > /dev/null 2>&1
echo x - yasr/Makefile
sed 's/^X//' >yasr/Makefile << 'END-of-yasr/Makefile'
X# Ports collection makefile for: yasr
X# Date created: Wed Jan 14 2004
X# Whom: David K. Gerry
X#
X# $FreeBSD$
X#
X
XPORTNAME= yasr
XPORTVERSION= 0.6.7
XCATEGORIES= accessibility
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= David.K.Gerry at GMail.com
XCOMMENT= A general-purpose console screen reader
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XMAN1= yasr.1
XDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO
X
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X.if !defined(WITHOUT_NLS)
XCONFIGURE_ARGS+= --enable-nls
XPLIST_SUB+= NLS=""
XUSE_GETTEXT= yes
X.else
XCONFIGURE_ARGS+= --disable-nls
XPLIST_SUB+= NLS="@comment "
X.endif
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
X
Xpre-install:
XPLIST_FILES+= bin/yasr %%DATADIR%%/yasr.conf \
X share/nls/POSIX share/nls/en_US.US-ASCII
X.if !defined(NOPORTDOCS)
X.for doc in ${DOCS}
XPLIST_FILES+= %%PORTDOCS%%%%DOCSDIR%%/${doc}
X.endfor
XPLIST_DIRS+= %%PORTDOCS%%%%DOCSDIR%%
X.endif
XPLIST_DIRS+= %%DATADIR%%
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for doc in ${DOCS}
X ${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR}
X.endfor
X.endif
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-yasr/Makefile
echo x - yasr/pkg-descr
sed 's/^X//' >yasr/pkg-descr << 'END-of-yasr/pkg-descr'
XYASR ("Yet Another Screen Reader") is an attempt at a lightweight,
Xportable screen reader. It works by opening a shell in a pty and
Xintercepting all user input/output, maintaining a window of what
Xshould be on the screen by looking at the codes and text sent to the
Xscreen. It thus uses no Linuxisms such as /dev/vcsa0 and does not
Xnecessarily need to be setuid root (the only requirement being that
Xthe user be able to access the tts device).
X
XWWW: http://yasr.sourceforge.net/
X
XPorted by David K. Gerry <David.K.Gerry at GMail.com>
END-of-yasr/pkg-descr
echo x - yasr/pkg-message
sed 's/^X//' >yasr/pkg-message << 'END-of-yasr/pkg-message'
XYasr requires a text-to-speech engine to work. FreeBSD offers two Festival and
XFLite (Festival Lite.) Edit the system configuration file
X${DATADIR}/yasr.conf or user configuration file ~/.yasr.conf and
Xset "synthesizer" and "synthesizer port."
X
XNOTE: To use FLite requires the Emacspeak speech server eflite to be installed.
X
XEXAMPLES:
XFestival
X synthesizer=festival
X sythesizer port=|${LOCALBASE}/bin/festival
XFestival running as a server
X synthesizer=festival
X synthesizer port=127.0.0.1:1314
XFLite
X synthesizer=Emacspeak server
X synthesizer port=|${LOCALBASE}/bin/eflite
XSee man page for more information.
END-of-yasr/pkg-message
echo x - yasr/distinfo
sed 's/^X//' >yasr/distinfo << 'END-of-yasr/distinfo'
XMD5 (yasr-0.6.7.tar.gz) = c7c6191f1d7413317924e580809817dc
XSHA256 (yasr-0.6.7.tar.gz) = dee640ae4a4c813f8248816f9457788737f4b90e38fe9e1a857f4eaf42dec159
XSIZE (yasr-0.6.7.tar.gz) = 201786
END-of-yasr/distinfo
exit
--- yasr.port ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list