pkgsrc/audio/festival-doc/Makefile
joerg 3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2008/05/26 02:13:15 joerg Exp $
DISTNAME= festdoc-1.4.0.1
PKGNAME= festival-doc-1.4.0.1
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cstr.ed.ac.uk/projects/festival/
COMMENT= Festival documentation, in (tex)info, html, dvi and ps formats
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
USE_TOOLS+= pax
DOC= ${PREFIX}/share/doc/festival
INFO_FILES= # PLIST
INSTALLATION_DIRS= ${PKGINFODIR}
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} ${DESTDIR}${DOC}
cd ${WRKSRC}; \
pax -rw speechtools ${DESTDIR}${DOC}; \
cd festival; \
for f in info/*.info info/*.info-[0-9]*; do \
${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${PKGINFODIR};\
done; \
pax -rw user-manual ${DESTDIR}${DOC}; \
pax -rw src-manual ${DESTDIR}${DOC}; \
for f in festival.* refcard.*; do \
${INSTALL_DATA} $${f} ${DESTDIR}${DOC}; \
done
.include "../../mk/bsd.pkg.mk"