freebsd-ports/audio/festival-freebsoft-utils/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

40 lines
881 B
Makefile

# $FreeBSD$
PORTNAME= festival-freebsoft-utils
PORTVERSION= 0.10
PORTREVISION= 2
CATEGORIES= audio accessibility
MASTER_SITES= http://www.freebsoft.org/pub/projects/${PORTNAME}/
MAINTAINER= avilla@FreeBSD.org
COMMENT= Festival utilities focused on interaction with Speech Dispatcher
RUN_DEPENDS= festival:${PORTSDIR}/audio/festival \
sox:${PORTSDIR}/audio/sox
NO_BUILD= yes
USES= iconv
NO_STAGE= yes
PORTDOCS= ANNOUNCE NEWS README
INFO= ${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${LOCALBASE}/share/festival/lib
cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${LOCALBASE}/share/festival/lib
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${PREFIX}/${INFO_PATH}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>