pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-activesupport Create the directory first wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1096d8eee0e
branches:  trunk
changeset: 505102:d1096d8eee0e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 30 13:17:51 2005 +0000

description:
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:

 devel/ruby-activesupport/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r d8e117315786 -r d1096d8eee0e devel/ruby-activesupport/Makefile
--- a/devel/ruby-activesupport/Makefile Fri Dec 30 13:13:40 2005 +0000
+++ b/devel/ruby-activesupport/Makefile Fri Dec 30 13:17:51 2005 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index