summaryrefslogtreecommitdiff
path: root/graphics/urt
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
commita6c32dca6a7158a79290c52ed95715aa3a0ee5f4 (patch)
treee9fa5b9ae5fe81acb6fe72fce0a432ebd6fa9cb8 /graphics/urt
parentb16e61f08ae31a120bb2b0f7ed66061e1fee048f (diff)
downloadpkgsrc-a6c32dca6a7158a79290c52ed95715aa3a0ee5f4.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/urt')
-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"