summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-11-10 17:32:24 +0000
committertv <tv@pkgsrc.org>2006-11-10 17:32:24 +0000
commit782ab28b21ea8c65501535b0c04e27715f57f58a (patch)
treee9fa5b9ae5fe81acb6fe72fce0a432ebd6fa9cb8 /graphics
parent494bbd75cf286e71ce4d759f4c41947a003e1653 (diff)
downloadpkgsrc-782ab28b21ea8c65501535b0c04e27715f57f58a.tar.gz
Use find -print | xargs rather than find -exec.
Use && chains rather than ; so that errors are not thrown away.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/urt/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index f94a6aa9022..38a529a85ad 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2006/09/09 02:42:01 obache Exp $
+# $NetBSD: Makefile,v 1.45 2006/11/10 17:32:24 tv Exp $
DISTNAME= urt
PKGNAME= urt-3.1b1
@@ -29,13 +29,13 @@ post-extract:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt
- cd ${PREFIX}/share/doc/urt && (\
- ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar; )
- cd ${PREFIX}/share/examples/urt && (\
- ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar; \
- ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . ; \
- ${FIND} . -type d -exec ${CHMOD} 755 '{}' \; ; \
- ${FIND} . -type f -exec ${CHMOD} 644 '{}' \;)
+ cd ${PREFIX}/share/doc/urt && \
+ ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar
+ cd ${PREFIX}/share/examples/urt && \
+ ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar && \
+ ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . && \
+ ${FIND} . -type d -print | ${XARGS} ${CHMOD} 755 && \
+ ${FIND} . -type f -print | ${XARGS} ${CHMOD} 644
.include "../../graphics/netpbm/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"