summaryrefslogtreecommitdiff
path: root/audio/festdoc/Makefile
blob: 31c84f6a08df90d2d92118aa83e7dbc3aec3f70c (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
# $NetBSD: Makefile,v 1.15 2003/08/09 10:29:55 seb Exp $

DISTNAME=	festdoc-1.4.0.1
PKGNAME=	festival-doc-1.4.0.1
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/ \
		http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/

MAINTAINER=	proff@iq.org
HOMEPAGE=	http://www.cstr.ed.ac.uk/projects/festival.html
COMMENT=	Festival documentation, in (tex)info, html, dvi and ps formats

NO_BUILD=	yes

FDOC=		${PREFIX}/share/doc/festival
HDOC=		${PREFIX}/share/doc/html/festival

INFO_FILES=	festival.info

post-extract:
	${CHMOD} -R a+r ${WRKSRC}
	${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
	${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
	${RM} ${WRKSRC}/speechtools/c16909.htm~
	${RMDIR} ${WRKSRC}/festival/src-manual/images_gen

do-install:
	${INSTALL_DATA_DIR} ${FDOC}
	${INSTALL_DATA_DIR} ${HDOC}
	cd ${WRKSRC};							\
	${PAX} -rw speechtools ${HDOC};					\
	cd festival;							\
	for f in info/*.info info/*.info-*; do				\
	   ${INSTALL_DATA} $${f} ${PREFIX}/info;			\
	done;								\
	${PAX} -rw user-manual ${HDOC};					\
	${PAX} -rw src-manual ${HDOC};					\
	for f in festival.* refcard.*; do				\
		${INSTALL_DATA} $${f} ${FDOC};				\
	done

.include "../../mk/bsd.pkg.mk"