ports/121744: Update Port: accessibility/yasr
David K. Gerry
gerrydk at comcast.net
Sat Mar 15 19:00:06 UTC 2008
>Number: 121744
>Category: ports
>Synopsis: Update Port: accessibility/yasr
>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 Mar 15 19:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: David K. Gerry
>Release:
>Organization:
>Environment:
System:
>Description:
upgrade for version 0.6.7 to 0.6.9
>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/files
# yasr/files/pkg-message.in
#
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: ports/accessibility/yasr/Makefile,v 1.1 2008/02/16 17:23:44 alepulver Exp $
X#
X
XPORTNAME= yasr
XPORTVERSION= 0.6.9
XCATEGORIES= accessibility
XMASTER_SITES= SF
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
XPORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
X README-br README-de README-es README-fr README-ru
XSUB_FILES= pkg-message
X
XCONFIGURE_TARGET= --build=${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
XPLIST_FILES= bin/yasr \
X %%DATADIR%%/yasr.conf \
X %%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
X %%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
XPLIST_DIRS= %%DATADIR%%
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for doc in ${PORTDOCS}
X ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
X.endfor
X.endif
X @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
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 c - yasr/files
mkdir -p yasr/files > /dev/null 2>&1
echo x - yasr/files/pkg-message.in
sed 's/^X//' >yasr/files/pkg-message.in << 'END-of-yasr/files/pkg-message.in'
X==============================================================================
X
XYasr requires a text-to-speech engine to work. FreeBSD offers two: Festival
Xand FLite (Festival Lite). Edit the system configuration file
X%%DATADIR%%/yasr.conf
Xor user configuration file ~/.yasr.conf and set "synthesizer" and
X"synthesizer port".
X
XNOTE: To use FLite requires the Emacspeak speech server eflite to be
Xinstalled.
X
XEXAMPLES:
X
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
X
XSee man page for more information.
X
X==============================================================================
END-of-yasr/files/pkg-message.in
exit
--- yasr.port ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list