pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg url2pkg: clean up package Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0aa08980793a
branches:  trunk
changeset: 382366:0aa08980793a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jul 26 21:50:10 2022 +0000

description:
url2pkg: clean up package Makefile

Start each shell command in a new line. This makes it easier to find the
'for' that corresponds to the 'done', especially since the 'done' could
also be started by a 'while' or an 'until'.

No functional change.

diffstat:

 pkgtools/url2pkg/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a0658520c36f -r 0aa08980793a pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Tue Jul 26 18:28:46 2022 +0000
+++ b/pkgtools/url2pkg/Makefile Tue Jul 26 21:50:10 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.127 2022/07/16 08:59:38 rillig Exp $
+# $NetBSD: Makefile,v 1.128 2022/07/26 21:50:10 rillig Exp $
 
 PKGNAME=       url2pkg-22.2.0
 CATEGORIES=    pkgtools
@@ -36,7 +36,8 @@
        ${INSTALL_MAN} ${FILESDIR}/url2pkg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
        ${INSTALL_DATA} ${WRKSRC}/Build.pm ${DESTDIR}${PREFIX}/lib/url2pkg/Module/
        ${INSTALL_DATA} ${WRKSRC}/MakeMaker.pm ${DESTDIR}${PREFIX}/lib/url2pkg/ExtUtils/
-       ${RUN} cd ${WRKSRC}; for f in $$(find python -name '*.py' -print); do \
+       ${RUN} cd ${WRKSRC};                                            \
+       for f in $$(find python -name '*.py' -print); do                \
                ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/lib/url2pkg/"$$f"; \
        done
 



Home | Main Index | Thread Index | Old Index