aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festlex-czech/Makefile
blob: 0bd4f250a20f4abbb0a51c3b965f9c4bd4763d96 (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
# Created by: 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} ${STAGEDIR}${FHOME}/lib/dicts/
    ${INSTALL} -m 644 ${rulez:C/^/${WRKSRC}\//} ${STAGEDIR}${FHOME}/lib/
    ${INSTALL} -m 644 ${lexicons:C/^/${WRKSRC}\//} ${STAGEDIR}${FHOME}/lib/dicts/

.include <bsd.port.mk>