summaryrefslogtreecommitdiff
path: root/audio/rsynth/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2001-12-22 04:11:39 +0000
committerfredb <fredb>2001-12-22 04:11:39 +0000
commit63b2a4f100019bcbe4d1fdce7a2ccce27ef193d6 (patch)
treebdfafa638b8c55f403bfa439e2961ecc17fa479e /audio/rsynth/Makefile
parent3793128a52cc09c62dfe3fd055c9c311b9f1e6ff (diff)
downloadpkgsrc-63b2a4f100019bcbe4d1fdce7a2ccce27ef193d6.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/Makefile')
-rw-r--r--audio/rsynth/Makefile42
1 files changed, 42 insertions, 0 deletions
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"