2012-12-18 10:44:41 +01:00
|
|
|
# Created by: David K. Gerry
|
2008-02-16 18:23:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yasr
|
2008-03-17 14:54:58 +01:00
|
|
|
PORTVERSION= 0.6.9
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 2
|
2008-02-16 18:23:44 +01:00
|
|
|
CATEGORIES= accessibility
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
|
|
|
MAINTAINER= David.K.Gerry@GMail.com
|
2012-12-18 10:44:41 +01:00
|
|
|
COMMENT= General-purpose console screen reader
|
|
|
|
|
|
|
|
LICENSE= LGPL20
|
2008-02-16 18:23:44 +01:00
|
|
|
|
2013-08-30 02:47:20 +02:00
|
|
|
USES= gmake
|
2008-02-16 18:23:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-17 14:54:58 +01:00
|
|
|
PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
|
|
|
|
README-br README-de README-es README-fr README-ru
|
2008-02-16 18:23:44 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2013-12-26 15:30:37 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
OPTIONS_SUB= yes
|
2008-02-16 18:23:44 +01:00
|
|
|
|
|
|
|
PLIST_FILES= bin/yasr \
|
2008-03-17 14:54:58 +01:00
|
|
|
%%DATADIR%%/yasr.conf \
|
|
|
|
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
|
|
|
|
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
|
2008-02-16 18:23:44 +01:00
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
2010-03-20 14:31:19 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 900007
|
2013-11-12 22:55:54 +01:00
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-yasr__main.c
|
2010-03-20 14:31:19 +01:00
|
|
|
.endif
|
|
|
|
|
2008-02-16 18:23:44 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
|
|
|
|
|
|
|
|
post-install:
|
2013-12-26 15:30:37 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2008-02-16 18:23:44 +01:00
|
|
|
.for doc in ${PORTDOCS}
|
2013-12-26 15:30:37 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
2008-02-16 18:23:44 +01:00
|
|
|
.endfor
|
|
|
|
|
2010-03-20 14:31:19 +01:00
|
|
|
.include <bsd.port.post.mk>
|