pkgsrc/audio/festvox-en1/Makefile
joerg 3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2008/05/26 02:13:15 joerg Exp $
DISTNAME= festvox_en1
PKGNAME= festvox-en1-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 British English male voice for festival
DEPENDS+= festival>=1.4.0:../../audio/festival
DEPENDS+= festlex-poslex>=1.4.0:../../audio/festlex-poslex
DEPENDS+= festlex-oald>=1.4.0:../../audio/festlex-oald
DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola
DEPENDS+= mbrolavox-en1-980910{,nb[0-9]*}:../../audio/mbrolavox-en1
USE_TOOLS+= pax
LICENSE= no-commercial-use
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
MBROLA= ${FHOME}/lib/voices/english/en1_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/en1 ${DESTDIR}${MBROLA}
${LN} -fs ../../../../../mbrola/voices/en1/en1mrpa ${DESTDIR}${MBROLA}
.include "../../mk/bsd.pkg.mk"