summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-30 13:17:51 +0000
committerjoerg <joerg>2005-12-30 13:17:51 +0000
commit92d2908812163ea7109ee07596c29829a250f5f3 (patch)
tree9d517fef0db5d16ef6878ce531b46b194749c6da
parentf275ab82ad91926386b54a3d9c993ddc8e6e7ab8 (diff)
downloadpkgsrc-92d2908812163ea7109ee07596c29829a250f5f3.tar.gz
Create the directory first with INSTALL_DATA_DIR, install the file
with INSTALL_DATA afterwards. Don't use find -print + xargs, use find -exec directly.
-rw-r--r--devel/ruby-activesupport/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/ruby-activesupport/Makefile b/devel/ruby-activesupport/Makefile
index b89f965722f..e03152c60bd 100644
--- a/devel/ruby-activesupport/Makefile
+++ b/devel/ruby-activesupport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/11/02 14:06:22 taca Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/30 13:17:51 joerg Exp $
DISTNAME= activesupport-1.2.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -16,11 +16,12 @@ NO_CONFIGURE= yes
do-install:
${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${RUBY_SITELIBDIR}/active_support*
- ${FIND} ${RUBY_SITELIBDIR}/active_support -type d -print | \
- ${XARGS} ${CHMOD} ${PKGDIRMODE}
- ${FIND} ${RUBY_SITELIBDIR}/active_support* -type f -print | \
- ${XARGS} ${CHMOD} ${LIBMODE}
- ${INSTALL_DATA_DIR} ${WRKSRC}/CHANGELOG \
+ ${FIND} ${RUBY_SITELIBDIR}/active_support -type d \
+ -exec ${CHMOD} ${PKGDIRMODE} {} \;
+ ${FIND} ${RUBY_SITELIBDIR}/active_support* -type f \
+ -exec ${CHMOD} ${LIBMODE} {} \;
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG \
${RUBY_DOCDIR}/CHANGELOG.activesupport
.include "../../lang/ruby/modules.mk"