02c6a7cd89
Unknown changes
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2019/11/23 22:18:07 nia Exp $
|
|
|
|
DISTNAME= festvox_us3
|
|
PKGNAME= festvox-us3-1.96
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://festvox.org/packed/festival/${PKGVERSION_NOREV}/
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://festvox.org/festival/index.html
|
|
COMMENT= MBROLA based American English male voice for festival
|
|
LICENSE= no-commercial-use
|
|
|
|
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-us3-990208{,nb[0-9]*}:../../audio/mbrolavox-us3
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
WRKSRC= ${WRKDIR}/festival
|
|
NO_BUILD= yes
|
|
|
|
FHOME= ${PREFIX}/share/festival
|
|
MBROLA= ${FHOME}/lib/voices/english/us3_mbrola
|
|
|
|
post-extract:
|
|
${CHMOD} -R a+r ${WRKSRC}
|
|
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${FHOME}
|
|
cd ${WRKSRC} && pax -rw * ${DESTDIR}${FHOME}
|
|
#ugh
|
|
${LN} -fs ../../../../../mbrola/voices/us3 ${DESTDIR}${MBROLA}
|
|
${LN} -fs ../../../../../mbrola/voices/us3/us3mrpa ${DESTDIR}${MBROLA}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|