From 0a07bf96d0d5b35d5b61c31eb8771662d43c7839 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 30 Dec 2005 13:17:51 +0000 Subject: 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. --- devel/ruby-activesupport/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'devel/ruby-activesupport') 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" -- cgit v1.2.3