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-09-20 13:02:49 +02:00
|
|
|
NO_STAGE= yes
|
2013-08-30 02:47:20 +02:00
|
|
|
USES= gmake
|
2008-02-16 18:23:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= yasr.1
|
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-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2008-02-16 18:23:44 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2008-02-16 18:23:44 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
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
|
|
|
|
BROKEN= fails to build with new utmpx
|
|
|
|
.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-04-30 00:27:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2008-02-16 18:23:44 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
|
|
|
|
2010-03-20 14:31:19 +01:00
|
|
|
.include <bsd.port.post.mk>
|