summaryrefslogtreecommitdiff
path: root/audio/festdoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/festdoc/Makefile')
-rw-r--r--audio/festdoc/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/audio/festdoc/Makefile b/audio/festdoc/Makefile
index d24131202d1..e1d5e824865 100644
--- a/audio/festdoc/Makefile
+++ b/audio/festdoc/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2002/02/18 15:14:01 seb Exp $
+# $NetBSD: Makefile,v 1.13 2003/06/26 12:42:30 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/
@@ -13,7 +14,9 @@ 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
+USE_NEW_TEXINFO= YES
INFO_FILES= festival.info
post-extract:
@@ -25,13 +28,16 @@ post-extract:
do-install:
${INSTALL_DATA_DIR} ${FDOC}
- cd ${WRKSRC} && info=`${FIND} . -name '*.info*' -type f` && \
- ${CP} $$info ${PREFIX}/info && \
- ${CP} -r ${WRKSRC}/* ${FDOC} && \
- cd ${FDOC} && \
- ${RM} -f $$info && \
- ${RMDIR} festival/info
- ${RM} ${PREFIX}/info/festival.info.orig
-
-.include "../../mk/texinfo.mk"
+ 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"