# Created by: trevor # $FreeBSD$ PORTNAME= festdoc PORTVERSION= 1.4.0.1 CATEGORIES= audio accessibility MASTER_SITES= ${MASTER_SITE_FESTIVAL} MASTER_SITE_SUBDIR= 1.4.1 DIST_SUBDIR= festival MAINTAINER= ports@FreeBSD.org COMMENT= Documentation for Festival NO_BUILD= yes NO_STAGE= 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} ${FDOC} ${RM} ${WRKSRC}/festival/info/festival.info.orig cd ${WRKSRC} && info=`${FIND} . -name '*.info*' -type f` && \ ${CP} $$info ${PREFIX}/info && \ ${CP} -r ${WRKSRC}/* ${FDOC} && \ cd ${FDOC} && \ ${RM} -f $$info && \ ${RMDIR} festival/info .include