2003-11-17 21:47:25 +01:00
|
|
|
# New ports collection makefile for: festival+OGI
|
|
|
|
# Date created: 2003-11-05
|
|
|
|
# Whom: trevor
|
|
|
|
# based on pkgsrc/audio/festival from NetBSD
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
#
|
2003-11-17 21:47:25 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2003/10/06 21:40:17 jmc Exp $
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-11-17 21:47:25 +01:00
|
|
|
PORTNAME= festival+OGI
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2003-10-04 03:34:47 +02:00
|
|
|
CATEGORIES= audio accessibility
|
2004-04-19 21:26:32 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_NETBSD}
|
2003-11-17 21:47:25 +01:00
|
|
|
DISTFILES= festival-${PORTVERSION}.tar.gz \
|
|
|
|
speech_tools-1.2.1.tar.gz \
|
|
|
|
OGIresLPC-2.0.9.tar.gz
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2004-04-19 21:26:32 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
2003-11-17 21:47:25 +01:00
|
|
|
PATCHFILES= OGIfestpatch-1.4.1.2.tar.gz
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-17 21:47:25 +01:00
|
|
|
COMMENT= Text-to-speech system with OGI residual LPC synthesizer
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2001-12-30 19:17:35 +01:00
|
|
|
LIB_DEPENDS= audio.2:${PORTSDIR}/audio/nas \
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
esd.2:${PORTSDIR}/audio/esound
|
|
|
|
|
2006-02-12 23:06:31 +01:00
|
|
|
BROKEN= Touches filesystem prior to make install
|
2006-09-02 18:51:10 +02:00
|
|
|
DEPRECATED= ${BROKEN}
|
|
|
|
EXPIRATION_DATE=2006-12-01
|
2006-02-12 23:06:31 +01:00
|
|
|
|
2003-11-17 21:47:25 +01:00
|
|
|
CONFLICTS= festival-*
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
DIST_SUBDIR= festival
|
|
|
|
|
|
|
|
RESTRICTED= no-commercial-use
|
|
|
|
|
|
|
|
FESTIVAL= ${WRKSRC}/festival
|
2005-09-23 18:21:45 +02:00
|
|
|
FESTIVAL_ARCH= ${ARCH:S/i386/ix86/}
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
FHOME= ${PREFIX}/share/festival
|
|
|
|
MAKE_ENV+= PKG_EST_HOME=${SPEECHTOOLS} \
|
|
|
|
EST_HOME=${SPEECHTOOLS} \
|
|
|
|
PKG_FESTIVAL_BUILD_HOME=${FESTIVAL} \
|
|
|
|
PKG_FESTIVAL_HOME=${FHOME} \
|
|
|
|
PKG_COMPILER="${CC}" \
|
|
|
|
PKG_X11BASE=${X11BASE} \
|
|
|
|
PKG_PREFIX=${PREFIX} \
|
|
|
|
GCC27_CC="${CC}" \
|
|
|
|
GCC27_CXX="${CXX}" \
|
|
|
|
CC="${CC}" \
|
|
|
|
CXX="${CXX}"
|
|
|
|
MAN1= festival.1 festival_client.1
|
2003-11-17 21:47:25 +01:00
|
|
|
USE_GCC= 2.95
|
|
|
|
USE_GMAKE= yes
|
|
|
|
SPEECHTOOLS= ${WRKSRC}/speech_tools
|
|
|
|
WRKSRC= ${WRKDIR}
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2003-11-17 21:47:25 +01:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "* WARNING: the source code for this port has not *"
|
|
|
|
@${ECHO_CMD} "* been properly reviewed by the FreeBSD maintainer. *"
|
|
|
|
@${ECHO_CMD} "* Waiting ten seconds (control-C cancels build). *"
|
|
|
|
@sleep 10
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2003-11-17 21:47:25 +01:00
|
|
|
post-extract:
|
|
|
|
@${TAR} -C ${WRKSRC} -xzf \
|
|
|
|
${DISTDIR}/${DIST_SUBDIR}/OGIfestpatch-1.4.1.2.tar.gz
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
|
|
|
pre-patch:
|
2003-11-17 21:47:25 +01:00
|
|
|
${CP} ${FESTIVAL}/config/config-dist ${FESTIVAL}/config/config
|
|
|
|
${CP} ${SPEECHTOOLS}/config/config-dist ${SPEECHTOOLS}/config/config
|
|
|
|
${CHMOD} u+w ${FESTIVAL}/config/config ${SPEECHTOOLS}/config/config
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2003-10-29 11:39:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
post-patch:
|
2003-11-17 21:47:25 +01:00
|
|
|
.if ${OSVERSION} > 500112
|
2003-10-29 11:39:36 +01:00
|
|
|
.for ii in compilers/gcc27.mak config config-dist
|
|
|
|
@${MV} ${SPEECHTOOLS}/config/${ii} ${SPEECHTOOLS}/config/${ii}.orig
|
|
|
|
@${SED} -e "s:= gcc:= gcc295:g" < ${SPEECHTOOLS}/config/${ii}.orig \
|
|
|
|
> ${SPEECHTOOLS}/config/${ii}
|
2001-04-20 12:27:09 +02:00
|
|
|
.endfor
|
2003-10-29 11:39:36 +01:00
|
|
|
.endif
|
|
|
|
@${CP} ${FILESDIR}/top-Makefile ${WRKSRC}/Makefile
|
|
|
|
@${CP} ${FILESDIR}/FreeBSD.mak ${SPEECHTOOLS}/config/systems/FreeBSD.mak
|
|
|
|
.for i in 4 5
|
|
|
|
@${LN} -fs ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
|
|
|
|
${SPEECHTOOLS}/config/systems/${FESTIVAL_ARCH}_FreeBSD3.${i}.mak
|
2001-04-20 12:27:09 +02:00
|
|
|
.endfor
|
2005-09-23 20:39:39 +02:00
|
|
|
.for ii in 4 5 6 7
|
|
|
|
.for jj in 0 1 2 3 4 5 6 7 8 9 10 11
|
|
|
|
@${LN} -fs ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
|
2003-10-29 11:39:36 +01:00
|
|
|
${SPEECHTOOLS}/config/systems/${FESTIVAL_ARCH}_FreeBSD${ii}.${jj}.mak
|
2001-04-03 01:24:27 +02:00
|
|
|
.endfor
|
2001-04-20 12:27:09 +02:00
|
|
|
.endfor
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-03-14 20:51:21 +01:00
|
|
|
${MKDIR} ${FHOME}/lib/voices/english/ ${FHOME}/lib/voices/italian/ \
|
|
|
|
${FHOME}/lib/voices/spanish/ ${FHOME}/lib/dicts
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib
|
2003-11-13 12:38:29 +01:00
|
|
|
${FIND} ${FESTIVAL}/lib -type d -print0 | ${XARGS} -0 ${CHMOD} 755
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
cd ${FESTIVAL} && ${CP} -pPR lib examples ${FHOME}
|
|
|
|
${RM} -rf ${FHOME}/lib/etc/*FreeBSD*
|
|
|
|
${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*FreeBSD*/audsp ${PREFIX}/libexec
|
2003-11-17 21:47:25 +01:00
|
|
|
.for ii in festival festival_client
|
|
|
|
${INSTALL_PROGRAM} ${FESTIVAL}/src/main/${ii} \
|
|
|
|
${PREFIX}/libexec/${ii}.naked
|
|
|
|
.endfor
|
|
|
|
.for ii in festival.sh festival_client.sh sitevars.scm
|
|
|
|
${SED} "s%@PKG_FESTIVAL_LOCATION@%${FHOME}%; \
|
|
|
|
s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/${ii} > ${WRKDIR}/${ii}
|
|
|
|
.endfor
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${PREFIX}/bin/festival
|
2003-11-17 21:47:25 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh \
|
|
|
|
${PREFIX}/bin/festival_client
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${FHOME}/lib/sitevars.scm
|
2003-11-17 21:47:25 +01:00
|
|
|
.for ii in ${MAN1}
|
|
|
|
${INSTALL_MAN} ${FESTIVAL}/doc/${ii} ${PREFIX}/man/man1/
|
|
|
|
.endfor
|
Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with. Big thanks to
Trevor for putting in all the time to port these!
PR: 21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
21198, 21199, 21200, 21201
Submitted by: Trevor Johnson <trevor@jpj.net>
Obtained from: NetBSD pkgsrc
2000-09-16 10:39:50 +02:00
|
|
|
|
2003-05-18 14:00:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|