pkgsrc/graphics/vtk-docs/Makefile
tv 1124f19fc8 For some reason, Interix "find ... -exec" leaks a little bit of memory,
which on large trees involving thousands of -exec's, makes find turn
into a humongous process.  It's faster on most systems to use other
methods anyway, so use xargs where practical, or pipe to a
"while read f; do ..." loop and let the shell do what it was meant
to do -- run programs.
2006-11-10 16:30:08 +00:00

20 lines
464 B
Makefile

# $NetBSD: Makefile,v 1.5 2006/11/10 16:30:08 tv Exp $
#
DISTNAME= VTKDocHtml-4.2
PKGNAME= vtk-docs-4.2
COMMENT= Documentation for VTK (HTML)
WRKSRC= ${WRKDIR}/html
NO_BUILD= yes
HTML_DIR= share/doc/${PKGNAME}
do-install:
${INSTALL_DATA_DIR} ${PREFIX:Q}/${HTML_DIR:Q}
${FIND} ${WRKSRC:Q} -type f -print | \
while read f; do ${INSTALL_DATA} $$f ${PREFIX:Q}/${HTML_DIR:Q}; done
.include "../../graphics/vtk/Makefile.common"
.include "../../mk/bsd.pkg.mk"