blob: 5f86c4179c01f619a44bdf031bfc49c47d1dfc0b (
plain) (
blame)
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
|
# Created by: trevor
# $FreeBSD$
PORTNAME= festdoc
PORTVERSION= 1.4.0.1
CATEGORIES= audio accessibility
MASTER_SITES= FESTIVAL/1.4.1
DIST_SUBDIR= festival
MAINTAINER= ports@FreeBSD.org
COMMENT= Documentation for Festival
USES= makeinfo
NO_BUILD= yes
INFO= festival
FDOC= ${PREFIX}/share/doc/festival
post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
${RM} ${WRKSRC}/speechtools/c16909.htm~
${RMDIR} ${WRKSRC}/festival/src-manual/images_gen
do-install:
${MKDIR} ${STAGEDIR}${FDOC}
${RM} ${WRKSRC}/festival/info/festival.info.orig
cd ${WRKSRC} && info=`${FIND} . -name '*.info*' -type f` && \
${CP} $$info ${STAGEDIR}${PREFIX}/info && \
${CP} -r ${WRKSRC}/* ${STAGEDIR}${FDOC} && \
cd ${STAGEDIR}${FDOC} && \
${RM} -f $$info && \
${RMDIR} festival/info
.include <bsd.port.mk>
|