mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
58 lines
1.2 KiB
Makefile
58 lines
1.2 KiB
Makefile
# Ports collection makefile for: yasr
|
|
# Date created: Wed Jan 14 2004
|
|
# Whom: David K. Gerry
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yasr
|
|
PORTVERSION= 0.6.9
|
|
PORTREVISION= 2
|
|
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 \
|
|
README-br README-de README-es README-fr README-ru
|
|
SUB_FILES= pkg-message
|
|
|
|
.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 \
|
|
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
|
|
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 900007
|
|
BROKEN= fails to build with new utmpx
|
|
.endif
|
|
|
|
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.post.mk>
|