summaryrefslogtreecommitdiff
path: root/audio/festogi-spanish/Makefile
blob: 55087dab24737e0708937937d64ed768132a41e8 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# New ports collection makefile for:	festogi-spanish
# Date created:        			2000-06-19
# Whom:					Trevor Johnson
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:59 wiz Exp $
# $FreeBSD$
#

PORTNAME=	festogi-spanish
PORTVERSION=	2.0.1
CATEGORIES=	audio accessibility
MASTER_SITES=	${MASTER_SITE_NETBSD}
DISTNAME=	OGIspanish-${PORTVERSION}
DIST_SUBDIR=	festival

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Mexican Spanish support for Festival

RUN_DEPENDS=	\
${PREFIX}/share/festival/lib/ogi_token.scm:${PORTSDIR}/audio/festival+OGI

.if !defined(NOPORTDOCS)
PORTDOCS=	README-OGIspanish license_ogi_tts.txt
.endif
.for ii in duration intonation lexicon lts phones phrasing syl token
PLIST_FILES+=	share/festival/lib/ogi_spanish/ogi_span_mx_${ii}.scm
.endfor
PLIST_DIRS=	share/festival/lib/ogi_spanish

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

pre-install:
	(${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf)

do-install:
	${MKDIR} ${FHOME}
	cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
	${MKDIR} ${DOCSDIR}
.if !defined(NOPORTDOCS)
.for ii in ${PORTDOCS}
	${INSTALL_DATA} ${WRKDIR}/${ii} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>