summaryrefslogtreecommitdiff
path: root/audio/rsynth/Makefile
blob: 854b3b36064c953d2af7f57759ee58b8ba645010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	rsynth
# Version required:	2.0
# Date created:		03 Jan 1995
# Whom:			faulkner@mpd.tandem.com
#
# $NetBSD: Makefile,v 1.6 2003/06/02 01:21:33 jschauma Exp $
# FreeBSD Id: Makefile,v 1.8 1996/11/15 23:14:14 obrien Exp
#

DISTNAME=	rsynth-2.0
PKGREVISION=	1
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=	tech-pkg@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.3:../../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"