aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festvox-abc/Makefile
blob: 714ff6746a612c5773869fb635849ffa3134090b (plain) (blame)
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
36
37
38
39
40
41
42
# New ports collection makefile for:    festvox-abc
# Date created:                 2000-06-12
# Whom:                 Trevor Johnson
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.10 2000/02/15 09:26:13 agc Exp $
# $FreeBSD$
#

PORTNAME=   festvox-abc
PORTVERSION=    2.0
CATEGORIES= audio accessibility
MASTER_SITES=   ${MASTER_SITE_FESTIVAL_OGI}
DISTNAME=   voice_abc_di-2.0
DIST_SUBDIR=    festival

MAINTAINER= trevor@FreeBSD.org
COMMENT=    Mexican Spanish male voice for Festival speech synthesis system

RUN_DEPENDS=    \
        ${LOCALBASE}/share/festival/lib/ogi_spanish/ogi_span_mx_lts.scm:${PORTSDIR}/audio/festogi-spanish \
        ${LOCALBASE}/share/festival/lib/dicts/ogi_lex.out:${PORTSDIR}/audio/festlex-ogi

RESTRICTED= no-commercial-use

WRKSRC=     ${WRKDIR}/festival

NO_BUILD=   yes

FHOME=      ${PREFIX}/share/festival

post-extract:
    ${CHMOD} -R a+r ${WRKSRC}
    ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
    ${RM} -f ${WRKSRC}/lib/voices/spanish/abc_diphone/group/hvslpcOGI16k.group
    ${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -fr

do-install:
    ${MKDIR} ${FHOME}
    cd ${WRKSRC} && ${CP} -pPR * ${FHOME}

.include <bsd.port.mk>