Received: by mail.netbsd.org (Postfix, from userid 605) id 9392784D72; Thu, 1 Dec 2022 12:19:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C18E884D58 for ; Thu, 1 Dec 2022 12:19:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id zdSDQJYceO4e for ; Thu, 1 Dec 2022 12:19:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4394284CDC for ; Thu, 1 Dec 2022 12:19:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3D983FA90; Thu, 1 Dec 2022 12:19:09 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1669897149123750" MIME-Version: 1.0 Date: Thu, 1 Dec 2022 12:19:09 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/devel/ruby-redmine50 To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20221201121909.3D983FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1669897149123750 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Dec 1 12:19:09 UTC 2022 Modified Files: pkgsrc/devel/ruby-redmine50: Makefile Log Message: ruby-redmine50: Portability fixes. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-redmine50/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1669897149123750 Content-Disposition: inline Content-Length: 1726 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/ruby-redmine50/Makefile diff -u pkgsrc/devel/ruby-redmine50/Makefile:1.4 pkgsrc/devel/ruby-redmine50/Makefile:1.5 --- pkgsrc/devel/ruby-redmine50/Makefile:1.4 Sun Oct 9 15:32:55 2022 +++ pkgsrc/devel/ruby-redmine50/Makefile Thu Dec 1 12:19:09 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2022/10/09 15:32:55 taca Exp $ +# $NetBSD: Makefile,v 1.5 2022/12/01 12:19:09 jperkin Exp $ DISTNAME= redmine-${RM_VERSION} PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/} @@ -87,10 +87,10 @@ FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWW RM_DIR=${RM_DIR} do-install: - cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL_DATA_DIR} \ - ${DESTDIR}${PREFIX}/${RM_DIR}/{} \; - cd ${WRKSRC} && ${FIND} . -type f ! -name "*.orig" -exec \ - ${INSTALL_DATA} {} ${DESTDIR}${PREFIX}/${RM_DIR}/{} \; + cd ${WRKSRC} && ${FIND} . -type d | ${XARGS} -I {} ${INSTALL_DATA_DIR} \ + ${DESTDIR}${PREFIX}/${RM_DIR}/{} + cd ${WRKSRC} && ${FIND} . -type f ! -name "*.orig" | ${XARGS} -I {} \ + ${INSTALL_DATA} {} ${DESTDIR}${PREFIX}/${RM_DIR}/{} ${INSTALL_SCRIPT} ${FILESDIR}/redmine50_migrate_plugins.sh \ ${DESTDIR}${PREFIX}/bin/redmine50_migrate_plugins${RUBY_SUFFIX}.sh ${INSTALL_SCRIPT} ${FILESDIR}/redmine50_generate_secret_token.sh \ @@ -101,7 +101,7 @@ do-install: ${DESTDIR}${PREFIX}/bin/redmine50_load_default_data${RUBY_SUFFIX}.sh post-install: unicorn-post-install - ${FIND} ${DESTDIR}/ -name ".*" \( -type f -or -type d \) | xargs rm -rf + ${FIND} ${DESTDIR}${PREFIX} -name '.*' -exec ${RM} -rf {} + ${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/config/configuration.yml.example \ ${DESTDIR}/${EGDIR} ${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/config/database.yml.example \ --_----------=_1669897149123750--