diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-30 13:17:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-30 13:17:51 +0000 |
commit | 0a07bf96d0d5b35d5b61c31eb8771662d43c7839 (patch) | |
tree | 9d517fef0db5d16ef6878ce531b46b194749c6da /devel/ruby-activesupport | |
parent | 51f7c31aecac995833ce7ccbaa7be516f8de5b98 (diff) | |
download | pkgsrc-0a07bf96d0d5b35d5b61c31eb8771662d43c7839.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.
Diffstat (limited to 'devel/ruby-activesupport')
-rw-r--r-- | devel/ruby-activesupport/Makefile | 13 |
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" |