summaryrefslogtreecommitdiff
path: root/audio/festival-freebsoft-utils/Makefile
blob: f15d569e150311ac5f410cd51c565d6d2b2756a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $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

OPTIONS_DEFINE=	DOCS

RUN_DEPENDS=	festival:${PORTSDIR}/audio/festival \
		sox:${PORTSDIR}/audio/sox

NO_BUILD=	yes
USES=		iconv

PORTDOCS=	ANNOUNCE NEWS README

INFO=		${PORTNAME}

OPTIONS_DEFINE=	DOCS

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/festival/lib
	cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${STAGEDIR}${PREFIX}/share/festival/lib
	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>