summaryrefslogtreecommitdiff
path: root/audio/rsynth
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2001-12-22 04:11:39 +0000
committerfredb <fredb@pkgsrc.org>2001-12-22 04:11:39 +0000
commit9afdf2baecfb00ebffa78aabb68260b33c13b026 (patch)
treebdfafa638b8c55f403bfa439e2961ecc17fa479e /audio/rsynth
parent45940ea0d8166619c8b2be9e0dc8f2f7e1b5bff0 (diff)
downloadpkgsrc-9afdf2baecfb00ebffa78aabb68260b33c13b026.tar.gz
Revive rsynth-2.0, as requested by Nigel Reed in PR pkg/13424. Since it's
main claim to fame over "festival" seems to be that it's in the public domain, we'll decline to install the British dictionary, which is licensed "No Commercial Use". [Besides the British dictionary, the home site has a few other dictionaries and utilities that could well go into seperate packages.]
Diffstat (limited to 'audio/rsynth')
-rw-r--r--audio/rsynth/DESCR14
-rw-r--r--audio/rsynth/Makefile42
-rw-r--r--audio/rsynth/PLIST11
-rw-r--r--audio/rsynth/distinfo13
-rw-r--r--audio/rsynth/patches/patch-aa22
5 files changed, 102 insertions, 0 deletions
diff --git a/audio/rsynth/DESCR b/audio/rsynth/DESCR
new file mode 100644
index 00000000000..743aa8f6111
--- /dev/null
+++ b/audio/rsynth/DESCR
@@ -0,0 +1,14 @@
+This is a text to speech system produced by integrating various pieces
+of code and tables of data, which are all (I believe) in the public domain.
+
+The Oxford Text Archive has for several years maintained copies of several
+machine-readable dictionaries along with its extensive (if
+unsystematic) collections of other machine-readable texts. This document
+gives some further details of the various dictionaries available, and
+summarises the conditions under which copies of them are currently
+distributed.
+
+The Oxford Text Archive Shortlist (available on request via electronic
+mail and by FTP) gives up to date brief details of all texts held in
+the Archive. Send electronic mail to ARCHIVE@VAX.OXFORD.AC.UK. For
+anonymous FTP, look in the directory ota on ota.ox.ac.uk (129.67.1.165)
diff --git a/audio/rsynth/Makefile b/audio/rsynth/Makefile
new file mode 100644
index 00000000000..704128e878b
--- /dev/null
+++ b/audio/rsynth/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: rsynth
+# Version required: 2.0
+# Date created: 03 Jan 1995
+# Whom: faulkner@mpd.tandem.com
+#
+# $NetBSD: Makefile,v 1.4 2001/12/22 04:11:39 fredb Exp $
+# FreeBSD Id: Makefile,v 1.8 1996/11/15 23:14:14 obrien Exp
+#
+
+DISTNAME= rsynth-2.0
+CATEGORIES= audio
+MASTER_SITES= ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/ \
+ ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/dictionaries/cmudict/
+DISTFILES= rsynth-2.0.tar.gz ${DICT_FILES}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/FAQ-complete
+COMMENT= Public Domain Speech Synthesis System
+
+DEPENDS+= gdbm>=1.8.0:../../databases/gdbm
+DEPENDS+= nas>=1.4:../../audio/nas
+
+DICT_FILES+= README cmudict.0.4.Z cmulex.0.4.Z phoneset.0.4
+EXTRACT_ONLY= rsynth-2.0.tar.gz
+
+DIST_SUBDIR= rsynth
+GNU_CONFIGURE= YES
+USE_X11= YES
+
+CONFIGURE_ARGS+=--with-aDict="${WRKDIR}/cmudict.0.4"
+CONFIGURE_ARGS+=--without-bDict
+CONFIGURE_ENV+= ac_cv_lib_audio=yes XLIBS=-lXt
+
+pre-configure:
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/cmudict.0.4.Z > ${WRKDIR}/cmudict.0.4
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/rsynth/
+ cd ${DISTDIR}/${DIST_SUBDIR} && \
+ ${INSTALL_DATA} ${DICT_FILES} ${PREFIX}/share/rsynth/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rsynth/PLIST b/audio/rsynth/PLIST
new file mode 100644
index 00000000000..ec202921b04
--- /dev/null
+++ b/audio/rsynth/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2001/12/22 04:11:39 fredb Exp $
+bin/dlookup
+bin/mkdictdb
+bin/say
+libdata/rsynth/aDict.db
+share/rsynth/README
+share/rsynth/cmudict.0.4.Z
+share/rsynth/cmulex.0.4.Z
+share/rsynth/phoneset.0.4
+@dirrm libdata/rsynth
+@dirrm share/rsynth
diff --git a/audio/rsynth/distinfo b/audio/rsynth/distinfo
new file mode 100644
index 00000000000..795d1981e4f
--- /dev/null
+++ b/audio/rsynth/distinfo
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1 2001/12/22 04:11:40 fredb Exp $
+
+SHA1 (rsynth/rsynth-2.0.tar.gz) = 50693c68eb74cf82405c7d402d31d3c811ad4515
+Size (rsynth/rsynth-2.0.tar.gz) = 110319 bytes
+SHA1 (rsynth/README) = 80539b75a807d4b042e63def6507fef30ba99af2
+Size (rsynth/README) = 3247 bytes
+SHA1 (rsynth/cmudict.0.4.Z) = af82175ee86ddd6fe160a2cdd60f10b7115259ed
+Size (rsynth/cmudict.0.4.Z) = 1069362 bytes
+SHA1 (rsynth/cmulex.0.4.Z) = 33ac72b29cc82e7d896a90bd34fb6db3917f3724
+Size (rsynth/cmulex.0.4.Z) = 430761 bytes
+SHA1 (rsynth/phoneset.0.4) = 8c7e386dbaf33a4e16debd4c538a154a247c1e97
+Size (rsynth/phoneset.0.4) = 629 bytes
+SHA1 (patch-aa) = 59b0b765461adec5140a8867c7a668cd87d71281
diff --git a/audio/rsynth/patches/patch-aa b/audio/rsynth/patches/patch-aa
new file mode 100644
index 00000000000..b6890174c05
--- /dev/null
+++ b/audio/rsynth/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.3 2001/12/22 04:11:40 fredb Exp $
+
+--- Makefile.in.orig Tue Nov 8 07:30:52 1994
++++ Makefile.in
+@@ -5,7 +5,7 @@
+ CC = @CC@
+ PREFIX = @prefix@
+ BIN_DIR = $(PREFIX)/bin
+-LIB_DIR = $(PREFIX)/lib/dict
++LIB_DIR = $(PREFIX)/libdata/rsynth
+ LDLIBS = @LIBS@
+ XLIBS = @XLIBS@
+ CFLAGS = @CFLAGS@
+@@ -58,7 +58,7 @@
+ hplay.o : hplay.c proto.h getargs.h hplay.h
+
+ aDict.db : $(ADICT) mkdictdb
+- mkdictdb $(ADICT) aDict.db
++ ./mkdictdb $(ADICT) aDict.db
+
+ bDict.db : $(BDICT) mkdictdb
+ mkdictdb $(BDICT) bDict.db