pkgsrc/audio/festvox-us1/Makefile
2008-03-02 06:10:30 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:32 jlam Exp $
DISTNAME= festvox_us1
PKGNAME= festvox-us1-1.4.0
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cstr.ed.ac.uk/projects/festival/
COMMENT= MBROLA based American English female voice for festival
DEPENDS+= festival>=1.4.0:../../audio/festival
DEPENDS+= festlex-poslex>=1.4.0:../../audio/festlex-poslex
DEPENDS+= festlex-cmu>=1.4.0:../../audio/festlex-cmu
DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola
DEPENDS+= mbrolavox-us1-980512{,nb[0-9]*}:../../audio/mbrolavox-us1
LICENSE= no-commercial-use
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
MBROLA= ${FHOME}/lib/voices/english/us1_mbrola
post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
do-install:
cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME}
#ugh
${LN} -fs ../../../../../mbrola/voices/us1 ${DESTDIR}${MBROLA}
${LN} -fs ../../../../../mbrola/voices/us1/us1mrpa ${DESTDIR}${MBROLA}
.include "../../mk/bsd.pkg.mk"