pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Use find(1) with "-print" option becau...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/077951827b5f
branches:  trunk
changeset: 467057:077951827b5f
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jan 26 07:03:15 2004 +0000

description:
Use find(1) with "-print" option because IRIX's "find" will otherwise
not print out anything. Noted by Georh Schwarz in private e-mail.

diffstat:

 graphics/netpbm/Makefile |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (44 lines):

diff -r 7ede3b89f288 -r 077951827b5f graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Mon Jan 26 05:08:13 2004 +0000
+++ b/graphics/netpbm/Makefile  Mon Jan 26 07:03:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2004/01/25 15:47:18 tron Exp $
+# $NetBSD: Makefile,v 1.88 2004/01/26 07:03:15 tron Exp $
 
 DISTNAME=      netpbm-10.11.8
 PKGREVISION=   1
@@ -49,20 +49,20 @@
        ${RM} -fr ${STAGEDIR}
 
 post-install:
-       cd ${STAGEDIR} &&                               \
-       ${MV} link/* lib &&                             \
-       ${RM} -rf link man/web &&                       \
-       ${MKDIR} share/doc/netpbm &&                    \
-       ${CP} ${WRKSRC}/doc/* share/doc/netpbm &&       \
-       ${MV} share/doc/netpbm/*.1      man/man1 &&     \
-       ${MV} misc share/netpbm &&                      \
-       ${CHOWN} -R ${BINOWN}:${BINGRP} . &&            \
-       ${FIND} * \! -type d | ${SORT} >${PLIST_SRC} && \
-       ${FIND} * -type d |                             \
-       while read DIR; do                              \
-         ${TEST} -d "${PREFIX}/$${DIR}" ||             \
-           ${ECHO} "@dirrm $${DIR}";                   \
-       done >>${PLIST_SRC} &&                          \
+       cd ${STAGEDIR} &&                                       \
+       ${MV} link/* lib &&                                     \
+       ${RM} -rf link man/web &&                               \
+       ${MKDIR} share/doc/netpbm &&                            \
+       ${CP} ${WRKSRC}/doc/* share/doc/netpbm &&               \
+       ${MV} share/doc/netpbm/*.1      man/man1 &&             \
+       ${MV} misc share/netpbm &&                              \
+       ${CHOWN} -R ${BINOWN}:${BINGRP} . &&                    \
+       ${FIND} * \! -type d -print | ${SORT} >${PLIST_SRC} &&  \
+       ${FIND} * -type d -print |                              \
+       while read DIR; do                                      \
+         ${TEST} -d "${PREFIX}/$${DIR}" ||                     \
+           ${ECHO} "@dirrm $${DIR}";                           \
+       done >>${PLIST_SRC} &&                                  \
        ${PAX} -rwpppm . ${PREFIX}
        ${RM} -fr ${STAGEDIR}
 



Home | Main Index | Thread Index | Old Index