aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festlex-czech/Makefile
blob: 1e1a7e396545ffda81c178e0d5a279fa81e9734b (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
# New ports collection makefile for:    festlex-czech
# Date created:                 2008-04-29
# Whom:                 František Dvořák <valtri@civ.zcu.cz>
#
# $FreeBSD$
#

PORTNAME=   festlex-czech
PORTVERSION=    0.2.1
CATEGORIES= audio accessibility
MASTER_SITES=   http://www.freebsoft.org/pub/projects/festival-czech/
DISTNAME=   festival-czech-${PORTVERSION}
DIST_SUBDIR=    festival

MAINTAINER= valtri@civ.zcu.cz
COMMENT=    Czech language support for Festival

FHOME=      ${PREFIX}/share/festival
NO_BUILD=   yes
rulez=      czech-debug.scm czech-mbrola.scm czech-unisyn.scm czech.scm
lexicons=   czech-lexicon.scm czech-lexicon.out

post-patch:
    ${MV} ${WRKSRC}/czech.scm ${WRKSRC}/czech.scm.in
    ${SED} -e "s,@FESTIVAL_TARGET_DIR@,${FHOME}/lib/dicts," ${WRKSRC}/czech.scm.in > ${WRKSRC}/czech.scm

post-install:
    ${MKDIR} ${FHOME}/lib/dicts/
    ${INSTALL} -m 644 ${rulez:C/^/${WRKSRC}\//} ${FHOME}/lib/
    ${INSTALL} -m 644 ${lexicons:C/^/${WRKSRC}\//} ${FHOME}/lib/dicts/

.include <bsd.port.mk>