aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festvox-us1-mbrola
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-03-31 10:36:14 +0800
committerjylefort <jylefort@FreeBSD.org>2006-03-31 10:36:14 +0800
commite796ed2a31037b7100376e65930091499093430c (patch)
tree858420672043df60bb6963bc0096296ff40f4a5a /audio/festvox-us1-mbrola
parent2444bf6dc670d8c4ab7665c0c372d09b78768065 (diff)
downloadfreebsd-ports-graphics-e796ed2a31037b7100376e65930091499093430c.tar.gz
freebsd-ports-graphics-e796ed2a31037b7100376e65930091499093430c.tar.zst
freebsd-ports-graphics-e796ed2a31037b7100376e65930091499093430c.zip
Add the Festival MBROLA voices.
Diffstat (limited to 'audio/festvox-us1-mbrola')
-rw-r--r--audio/festvox-us1-mbrola/Makefile46
-rw-r--r--audio/festvox-us1-mbrola/distinfo3
-rw-r--r--audio/festvox-us1-mbrola/pkg-descr3
3 files changed, 52 insertions, 0 deletions
diff --git a/audio/festvox-us1-mbrola/Makefile b/audio/festvox-us1-mbrola/Makefile
new file mode 100644
index 00000000000..b81944a98d3
--- /dev/null
+++ b/audio/festvox-us1-mbrola/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: festvox-us1-mbrola
+# Date created: 31 Mar 2006
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= festvox-${VOICE}-mbrola
+PORTVERSION?= 20041012
+CATEGORIES= audio accessibility
+MASTER_SITES= ${MASTER_SITE_FESTIVAL}
+MASTER_SITE_SUBDIR= 1.95
+DISTNAME= festvox_${VOICE}
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT?= The MBROLA ${VOICE} voice (${VOICEDESC}) for Festival
+
+RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/dicts/cmu/cmulex.scm:${PORTSDIR}/audio/festlex-cmu \
+ mbrola:${PORTSDIR}/audio/linux-mbrola \
+ ${LOCALBASE}/share/mbrolavox/${VOICE}/${VOICE}:${PORTSDIR}/audio/mbrolavox
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+VOICE?= us1
+VOICEDESC?= American English, female
+
+VOICEDIR= ${PREFIX}/share/festival/lib/voices/english/${VOICE}_mbrola
+VOICEDIR_REL= ${VOICEDIR:S|^${PREFIX}/||}
+
+PLIST_FILES= ${VOICEDIR_REL}/festvox/${VOICE}_mbrola.scm \
+ ${VOICEDIR_REL}/festvox/usdurtreeZ.scm \
+ ${VOICEDIR_REL}/${VOICE} \
+ ${VOICEDIR_REL}/usradio
+PLIST_DIRS= ${VOICEDIR_REL}/festvox \
+ ${VOICEDIR_REL}
+
+MD5_FILE= ${.CURDIR}/distinfo
+
+do-install:
+ cd ${WRKSRC} && \
+ ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/share/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
+ ${LN} -sf ${LOCALBASE}/share/mbrolavox/${VOICE} ${VOICEDIR}
+
+.include <bsd.port.mk>
diff --git a/audio/festvox-us1-mbrola/distinfo b/audio/festvox-us1-mbrola/distinfo
new file mode 100644
index 00000000000..d12d160c4fd
--- /dev/null
+++ b/audio/festvox-us1-mbrola/distinfo
@@ -0,0 +1,3 @@
+MD5 (festvox_us1.tar.gz) = d0c3e727003e715a65daf01003101813
+SHA256 (festvox_us1.tar.gz) = 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e
+SIZE (festvox_us1.tar.gz) = 11040
diff --git a/audio/festvox-us1-mbrola/pkg-descr b/audio/festvox-us1-mbrola/pkg-descr
new file mode 100644
index 00000000000..04942e4c4d6
--- /dev/null
+++ b/audio/festvox-us1-mbrola/pkg-descr
@@ -0,0 +1,3 @@
+This port installs a MBROLA voice for the Festival Speech Synthesis System.
+
+WWW: http://tcts.fpms.ac.be/synthesis/mbrola.html