summaryrefslogtreecommitdiff
path: root/audio/festvox-en1/Makefile
blob: 06684235748ac4fc21205d92d0f944f501d35e6c (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
36
# $NetBSD: Makefile,v 1.2 1999/06/09 17:05:33 agc Exp $

DISTNAME=	festvox-en1-1.3.1
WRKSRC=		${WRKDIR}/festival
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.cstr.ed.ac.uk/pub/festival/1.3.1/
DISTFILES=	festvox_en1.tar.gz

MAINTAINER=	proff@iq.org
HOMEPAGE=	http://www.cstr.ed.ac.uk/projects/festival.html

DEPENDS+=	festival-1.3.1:../festival \
		festlex-poslex-1.3.1:../festlex-poslex \
		festlex-oald-1.3.1:../festlex-oald \
		mbrola-linux-301g1:../mbrola-linux \
		mbrolavox-en1-980910:../mbrolavox-en1

LICENSE=	no-commercial-use

NO_BUILD=	yes

FHOME=		${PREFIX}/share/festival
MBROLA=		${FHOME}/lib/voices/english/rab_mbrola

post-extract:
	@ chmod -R a+r ${WRKSRC}
	@ find ${WRKSRC} -type d -print0 | xargs -0 chmod 755

do-install:
	${INSTALL_DATA_DIR} ${FHOME}/rab_mbrola
	cd ${WRKSRC} && pax -r -w * ${FHOME}
#ugh
	ln -fs ../../../../../mbrola/voices/en1/en1 ${MBROLA}
	ln -fs ../../../../../mbrola/voices/en1/en1mrpa ${MBROLA}

.include "../../mk/bsd.pkg.mk"