summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv>2006-11-10 16:50:54 +0000
committertv <tv>2006-11-10 16:50:54 +0000
commitcda57639c4d3856f3e07ef846e6224ed931cdaa0 (patch)
treecb1e433da59a585562d51d74be125c5a8bb6f303
parent558021fbb62b0065b9ef6e30e7c23c7c5c00479b (diff)
downloadpkgsrc-cda57639c4d3856f3e07ef846e6224ed931cdaa0.tar.gz
Use find -print | xargs rather than find -exec.
-rw-r--r--chat/pircbot/Makefile6
-rw-r--r--editors/abiword/Makefile6
-rw-r--r--x11/ruby-tk/Makefile5
3 files changed, 8 insertions, 9 deletions
diff --git a/chat/pircbot/Makefile b/chat/pircbot/Makefile
index 96df2aa7ae5..e29882e5abb 100644
--- a/chat/pircbot/Makefile
+++ b/chat/pircbot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:04 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2006/11/10 16:50:54 tv Exp $
#
DISTNAME= pircbot-0.9.11
@@ -16,8 +16,8 @@ NO_CONFIGURE= YES
NO_BUILD= YES
post-extract:
- ${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
- ${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
+ ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
+ ${FIND} ${WRKSRC} -type f -print | ${XARGS} ${CHMOD} 644
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/java
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 4032139e2d7..7add662520f 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2006/11/09 15:25:32 adam Exp $
+# $NetBSD: Makefile,v 1.106 2006/11/10 16:53:28 tv Exp $
.include "Makefile.common"
@@ -43,9 +43,9 @@ post-build:
ABI_DOC_DEST=${WRKDIR} \
ABI_DOC_PROG=${WRKSRC}/src/wp/main/unix/AbiWord-2.4 \
./make-html.sh
- find ${WRKDIR}/help -type d -exec ${CHMOD} ${PKGDIRMODE} "{}" \;
+ find ${WRKDIR}/help -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
find ${WRKDIR}/help \( -name "*.abw.orig" -or -name "*.abw" \
- -or -name "*.info" -or -name "*.xhtml" \) -exec ${RM} "{}" \;
+ -or -name "*.info" -or -name "*.xhtml" \) -print | ${XARGS} ${RM} -f
post-install:
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/abiword-docs/man/abiword.1 \
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile
index 385dc920f50..84912b4f25b 100644
--- a/x11/ruby-tk/Makefile
+++ b/x11/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/09/07 15:43:20 taca Exp $
+# $NetBSD: Makefile,v 1.25 2006/11/10 16:54:54 tv Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION}
@@ -23,8 +23,7 @@ CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
REPLACE_RUBY_DIRS= ${WRKSRC}/sample
pre-configure:
- @cd ${WRKSRC}; \
- ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' \) -print | ${XARGS} ${RM} -f
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk