pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/posix_headers tidy up loop



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50f335ea2fe5
branches:  trunk
changeset: 528226:50f335ea2fe5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Apr 25 11:15:02 2007 +0000

description:
tidy up loop

diffstat:

 pkgtools/posix_headers/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r 0ede57028ed5 -r 50f335ea2fe5 pkgtools/posix_headers/Makefile
--- a/pkgtools/posix_headers/Makefile   Wed Apr 25 09:41:25 2007 +0000
+++ b/pkgtools/posix_headers/Makefile   Wed Apr 25 11:15:02 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/04/24 23:12:44 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2007/04/25 11:15:02 tnn Exp $
 
 DISTNAME=              posix_headers-0.4
 PKGREVISION=           1
@@ -42,9 +42,9 @@
 .endfor
 
 do-install:
-       for h in ${POSIX_HEADERS.${OPSYS}}; do \
-               ${INSTALL_DATA} ${WRKSRC}/"$$h" ${PREFIX}/include/"$$h"; \
-               ${ECHO} include/"$$h" >> ${PLIST_SRC}; \
-       done
+.for header in ${POSIX_HEADERS.${OPSYS}}
+       ${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include/${header}
+       ${ECHO} include/${header} >> ${PLIST_SRC}
+.endfor
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index