diff options
author | heinz <heinz@pkgsrc.org> | 2004-01-27 00:53:10 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-01-27 00:53:10 +0000 |
commit | c00807be673f4f2bb5250bb34151186d0006749e (patch) | |
tree | 0e38a95bbce9b72b902212b13f3fff0a72b2b5fd | |
parent | ede0be0eaa8bfcc8cfdb0b40604997b8ceb055d7 (diff) | |
download | pkgsrc-c00807be673f4f2bb5250bb34151186d0006749e.tar.gz |
Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
59 files changed, 140 insertions, 140 deletions
diff --git a/audio/festvox-abc/Makefile b/audio/festvox-abc/Makefile index 22db989a6cd..1c67c350102 100644 --- a/audio/festvox-abc/Makefile +++ b/audio/festvox-abc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2004/01/20 12:07:42 agc Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:12 heinz Exp $ DISTNAME= voice_abc_di-2.0 PKGNAME= festvox-abc-2.0 @@ -24,7 +24,7 @@ post-extract: ${CHMOD} -R a+r ${WRKSRC} ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 ${RM} -f ${WRKSRC}/lib/voices/spanish/abc_diphone/group/hvslpcOGI16k.group - ${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -fr + ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr do-install: ${INSTALL_DATA_DIR} ${FHOME} diff --git a/audio/nas/Makefile b/audio/nas/Makefile index e96abfc4e2c..76556c6879e 100644 --- a/audio/nas/Makefile +++ b/audio/nas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2004/01/20 12:07:43 agc Exp $ +# $NetBSD: Makefile,v 1.40 2004/01/27 00:53:12 heinz Exp $ DISTNAME= nas-1.6.src PKGNAME= ${DISTNAME:S/.src//} @@ -26,7 +26,7 @@ PKG_SYSCONFSUBDIR= nas REPLACE_PERL= clients/audio/auscope/auscope post-patch: - @for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \ + @for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \ ${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \ && ${MV} $$f.patch $$f; \ done diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile index b110b082647..6258b3067a3 100644 --- a/benchmarks/bytebench/Makefile +++ b/benchmarks/bytebench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/01/28 22:03:05 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2004/01/27 00:53:12 heinz Exp $ DISTNAME= unixbench-4.1.0 PKGNAME= bytebench-4.1.0 @@ -27,7 +27,7 @@ post-patch: ${CHMOD} +x ${WRKSRC}/run-byte pre-install: - ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f do-install: ${INSTALL_DATA_DIR} ${PREFIX}/libexec/bytebench diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index 71dcea01f3a..ab447c620e6 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2004/01/22 07:51:12 grant Exp $ +# $NetBSD: Makefile,v 1.30 2004/01/27 00:53:12 heinz Exp $ # DISTNAME= fidogate-4.4.5 @@ -54,9 +54,9 @@ pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/fidogate/sendmail/mailer post-install: - cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d`; do \ + cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d -print`; do \ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done - cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f`; do \ + cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f -print`; do \ ${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \ ${PREFIX}/share/fidogate/sendmail/mailer diff --git a/cross/i386-msdosdjgpp/Makefile b/cross/i386-msdosdjgpp/Makefile index 54c0820a7be..ff7c3f0cf7f 100644 --- a/cross/i386-msdosdjgpp/Makefile +++ b/cross/i386-msdosdjgpp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2004/01/20 12:10:55 agc Exp $ +# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:12 heinz Exp $ # DISTVERSION= 2.02.0 @@ -35,7 +35,7 @@ post-extract: for file in ${DJGPP_FILES}; do \ unzip -Loq ${_DISTDIR}/$$file; \ done; \ - for file in `${FIND} include -type f`; do \ + for file in `${FIND} include -type f -print`; do \ ${CAT} $$file | col >$$file.new; \ ${MV} -f $$file.new $$file; \ done diff --git a/databases/unixodbc/Makefile.common b/databases/unixodbc/Makefile.common index 910b9016c27..adb53ee7cd9 100644 --- a/databases/unixodbc/Makefile.common +++ b/databases/unixodbc/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.10 2003/07/17 21:29:09 grant Exp $ +# $NetBSD: Makefile.common,v 1.11 2004/01/27 00:53:10 heinz Exp $ DISTNAME= unixODBC-${ODBC_DIST_VERS} PKGREVISION= 1 @@ -42,7 +42,7 @@ post-patch: fix-ltdl-and-lexlib fix-driver-installation: cd ${WRKSRC}; \ - files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in`; \ + files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in -print`;\ for file in $${files}; do \ ${SED} -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \ $${file} >> $${file}.fixed; \ @@ -51,7 +51,7 @@ fix-driver-installation: fix-ltdl-and-lexlib: cd ${WRKSRC}; \ - files=`${FIND} . -name Makefile.in`; \ + files=`${FIND} . -name Makefile.in -print`; \ for file in $${files}; do \ ${SED} -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g" \ -e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g" \ diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile index b547d8f7bf9..7216c73e1cf 100644 --- a/devel/mit-pthreads/Makefile +++ b/devel/mit-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2003/07/17 21:31:50 grant Exp $ +# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $ # DISTNAME= pthreads-1_60_beta6 @@ -40,7 +40,7 @@ pre-install: post-install: @${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a - @${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644 @${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755 @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile index 3d114543f14..37b48ba20f8 100644 --- a/devel/ptl2/Makefile +++ b/devel/ptl2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2003/07/17 21:33:14 grant Exp $ +# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:12 heinz Exp $ DISTNAME= PTL-2.1.9 PKGNAME= ptl-2.1.9 @@ -18,18 +18,18 @@ PLIST_SRC= ${WRKDIR}/PLIST post-install: @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/PTL/include - @${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | ${XARGS} ${RM} + @${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/PTL/include -type d -print | ${XARGS} ${CHMOD} 755 @${FIND} ${PREFIX}/PTL/include -type f -print | ${XARGS} ${CHMOD} 444 @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @cd ${PREFIX}; \ - ${FIND} PTL -type f >>${PLIST_SRC}; \ - for LINK in `${FIND} PTL -type l`; do \ + ${FIND} PTL -type f -print >>${PLIST_SRC}; \ + for LINK in `${FIND} PTL -type l -print`; do \ set - X `${FILE_CMD} $$LINK`; \ ${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \ ${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \ done; \ - for DIR in `${FIND} PTL -type d | sort -r`; do \ + for DIR in `${FIND} PTL -type d -print | sort -r`; do \ if [ -z "`ls $$DIR`" ]; then \ ${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \ fi; \ diff --git a/devel/rt-mysql/Makefile.common b/devel/rt-mysql/Makefile.common index a87d7ae8987..5e62ef3b457 100644 --- a/devel/rt-mysql/Makefile.common +++ b/devel/rt-mysql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2003/07/17 21:33:37 grant Exp $ +# $NetBSD: Makefile.common,v 1.5 2004/01/27 00:53:10 heinz Exp $ DISTNAME= rt-2-0-13 CATEGORIES= devel @@ -90,7 +90,7 @@ DEPENDS+= p5-Apache-DBI-[0-9]*:../../databases/p5-Apache-DBI pre-configure: @${ECHO} "=> Removing CVS directories from work directory" - @${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -rf + @${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf @${CP} ${FILESDIR}/rtconfig ${WRKSRC}/rtconfig @${CP} ${FILESDIR}/README ${WRKSRC}/README.pkg @cd ${WRKSRC} ; \ diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile index 36be662834e..e7df9410dea 100644 --- a/devel/stlport/Makefile +++ b/devel/stlport/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/22 08:24:31 grant Exp $ +# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:12 heinz Exp $ DISTNAME= STLport-4.6 PKGNAME= stlport-4.6 @@ -28,7 +28,7 @@ HTMLDIR= ${PREFIX}/share/doc/html/stlport pre-install: cd ${WRKSRC}/stlport && ${RM} -rf BC50 config/new_compiler old_hp - ${FIND} ${WRKSRC}/stlport -name "*.orig" | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/stlport -name "*.orig" -print | ${XARGS} ${RM} -f do-install: cd ${WRKSRC} && ${PAX} -rw stlport ${PREFIX}/include diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile index 9b0c412f164..8ef53291b56 100644 --- a/devel/unproven-pthreads/Makefile +++ b/devel/unproven-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2003/07/17 21:34:16 grant Exp $ +# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $ # DISTNAME= unproven-pthreads-0.17 @@ -44,7 +44,7 @@ do-install: post-install: @${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a - @${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644 @${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755 @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include diff --git a/editors/emacs-nox11/Makefile b/editors/emacs-nox11/Makefile index 96148862b4c..eff016fe4db 100644 --- a/editors/emacs-nox11/Makefile +++ b/editors/emacs-nox11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/01/22 08:30:30 grant Exp $ +# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:12 heinz Exp $ # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp DISTNAME= emacs-21.3 @@ -32,7 +32,7 @@ post-extract: ${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp pre-install: - @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 281e979d38c..9bf34fb2b86 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2004/01/22 08:30:30 grant Exp $ +# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:12 heinz Exp $ # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp DISTNAME= emacs-21.3 @@ -64,7 +64,7 @@ post-extract: ${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp pre-install: - @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index abdd65a3606..377c5c3ca3d 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/01/22 08:30:30 grant Exp $ +# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $ DISTNAME= emacs-20.7 PKGREVISION= 2 @@ -80,7 +80,7 @@ INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \ INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} pre-install: - @${FIND} ${WRKSRC} -type f -name "*.orig*" | ${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -type f -name "*.orig*" -print | ${XARGS} ${RM} -f post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index eb80fa6bf8c..82a6fe8490f 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2004/01/03 18:49:39 reed Exp $ +# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:11 heinz Exp $ DISTNAME= xemacs-21.4.14 PKGREVISION= 1 @@ -137,7 +137,7 @@ post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME} ${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs .if defined(MANZ) - ${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f | \ + ${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f -print | \ ${XARGS} ${GZIP_CMD} .endif diff --git a/emulators/linux-locale/Makefile b/emulators/linux-locale/Makefile index 2592cb8b9f6..19aadbeb594 100644 --- a/emulators/linux-locale/Makefile +++ b/emulators/linux-locale/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2003/07/17 21:35:34 grant Exp $ +# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:11 heinz Exp $ DISTNAME= locales-2.1-1mdk PKGNAME= linux-locale-2.1.1 @@ -45,7 +45,7 @@ CHECK_SHLIBS= no do-install: @${RM} -f ${CPIOLIST} @(cd ${EMULDIR}; \ - ${FIND} usr/share/locale -name "*" > ${EXCLUDELIST}) + ${FIND} usr/share/locale -name "*" -print > ${EXCLUDELIST}) .for f in ${DISTFILES} @rpm2cpio ${DISTDIR}/${DIST_SUBDIR}/${f} | \ cpio -t -v -f -E ${EXCLUDELIST} >> ${CPIOLIST} diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile index ef5bd922089..95e783f2148 100644 --- a/fonts/t1lib/Makefile +++ b/fonts/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/01/22 08:38:29 grant Exp $ +# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $ DISTNAME= t1lib-1.3.1 CATEGORIES= fonts devel graphics @@ -25,7 +25,7 @@ CONF_FILES= ${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase pre-build: - ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} + ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} post-install: ${INSTALL_DATA_DIR} ${DATADIR} diff --git a/games/craft/Makefile b/games/craft/Makefile index a268660f238..3b3b0afba4d 100644 --- a/games/craft/Makefile +++ b/games/craft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/01/24 13:30:55 grant Exp $ +# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:12 heinz Exp $ DISTNAME= craftcc35 PKGNAME= craft-3.5 @@ -15,9 +15,9 @@ USE_GNU_TOOLS+= make USE_X11BASE= yes post-extract: - @${FIND} ${WRKSRC} -type f -name '*~' | ${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -type f -name '*~' -print | ${XARGS} ${RM} -f @${LN} -fs ${FILESDIR}/Makefile ${WRKSRC} - for FILE in `find ${WRKSRC} -name "*.hc" -type f`; do \ + for FILE in `${FIND} ${WRKSRC} -name "*.hc" -type f -print`; do \ echo >>$$FILE ""; \ done diff --git a/games/iso-pernangband/Makefile b/games/iso-pernangband/Makefile index c88fa59efe6..b45bccb9d95 100644 --- a/games/iso-pernangband/Makefile +++ b/games/iso-pernangband/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2004/01/24 13:30:56 grant Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= iso-pern_src-0_2_6 @@ -42,7 +42,7 @@ do-install: ${PREFIX}/share/iso-pernangband ${CHOWN} -R bin:games ${PREFIX}/share/iso-pernangband ${CHMOD} -R 0664 ${PREFIX}/share/iso-pernangband - ${FIND} ${PREFIX}/share/iso-pernangband -type d | ${XARGS} ${CHMOD} 0775 + ${FIND} ${PREFIX}/share/iso-pernangband -type d -print | ${XARGS} ${CHMOD} 0775 ${INSTALL} -c -s -o bin -g games -m 2755 \ ${WRKSRC}/testing \ ${PREFIX}/bin/iso-pernangband diff --git a/games/mirrormagic-sdl/Makefile b/games/mirrormagic-sdl/Makefile index 3d065a30d35..fa56e543d11 100644 --- a/games/mirrormagic-sdl/Makefile +++ b/games/mirrormagic-sdl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/01/24 13:30:56 grant Exp $ +# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= mirrormagic-2.0.2 @@ -37,11 +37,11 @@ do-install: ${RM} -f ${WRKDIR}/PLIST .for levdir in Classic_Games cd ${PREFIX} && \ - ${FIND} share/mirrormagic/levels/${levdir} -type f >>${WRKDIR}/PLIST + ${FIND} share/mirrormagic/levels/${levdir} -type f -print >>${WRKDIR}/PLIST .endfor .for directory in graphics music sounds cd ${PREFIX} && \ - ${FIND} share/mirrormagic/${directory} -type f >>${WRKDIR}/PLIST + ${FIND} share/mirrormagic/${directory} -type f -print >>${WRKDIR}/PLIST .endfor ${CHOWN} -R games:games ${SCORE_PATH} diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile index eae778e9cd6..7532674eb2a 100644 --- a/games/mirrormagic/Makefile +++ b/games/mirrormagic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2004/01/24 13:30:56 grant Exp $ +# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= mirrormagic-2.0.2 @@ -34,11 +34,11 @@ do-install: ${RM} -f ${WRKDIR}/PLIST .for levdir in Classic_Games cd ${PREFIX} && \ - ${FIND} share/mirrormagic/levels/${levdir} -type f >>${WRKDIR}/PLIST + ${FIND} share/mirrormagic/levels/${levdir} -type f -print >>${WRKDIR}/PLIST .endfor .for directory in graphics music sounds cd ${PREFIX} && \ - ${FIND} share/mirrormagic/${directory} -type f >>${WRKDIR}/PLIST + ${FIND} share/mirrormagic/${directory} -type f -print >>${WRKDIR}/PLIST .endfor ${CHOWN} -R games:games ${SCORE_PATH} diff --git a/games/pysol/Makefile b/games/pysol/Makefile index a8e421688ff..b8a1438ae89 100644 --- a/games/pysol/Makefile +++ b/games/pysol/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2003/07/17 21:39:16 grant Exp $ +# $NetBSD: Makefile,v 1.16 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= pysol-4.81 @@ -32,9 +32,9 @@ do-install: post-install: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @(cd ${PREFIX}; \ - ${FIND} share/pysol \( -type f -or -type l \) | \ + ${FIND} share/pysol \( -type f -or -type l \) -print | \ sort >> ${PLIST_SRC}; \ - for DIR in `${FIND} share/pysol -type d | sort -r`; do \ + for DIR in `${FIND} share/pysol -type d -print | sort -r`; do \ ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \ done) diff --git a/games/rocksndiamonds-levels/Makefile b/games/rocksndiamonds-levels/Makefile index 097d49aaaae..050b9f5d21d 100644 --- a/games/rocksndiamonds-levels/Makefile +++ b/games/rocksndiamonds-levels/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/07/17 21:39:20 grant Exp $ +# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:11 heinz Exp $ DISTNAME= rocksndiamonds-levels-1.0 CATEGORIES= games x11 @@ -72,7 +72,7 @@ do-install: ${RM} -f ${WRKDIR}/PLIST .for levdir in DX_Boulderdash Emerald_Mine_Club Supaplex cd ${PREFIX} && \ - ${FIND} share/rocksndiamonds/levels/${levdir} -type f >>${WRKDIR}/PLIST + ${FIND} share/rocksndiamonds/levels/${levdir} -type f -print >>${WRKDIR}/PLIST .endfor ${CHOWN} -R games:games ${SCORE_PATH} diff --git a/games/rollemup/Makefile b/games/rollemup/Makefile index 57ca7d0822e..b27aa7c9a7d 100644 --- a/games/rollemup/Makefile +++ b/games/rollemup/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2003/11/11 12:32:36 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2004/01/27 00:53:11 heinz Exp $ DISTNAME= Rollemup PKGNAME= rollemup-1.0 @@ -56,8 +56,8 @@ do-install: ${PREFIX}/${GAMES_DIR}/Rollemup @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @(cd ${PREFIX}; \ - ${FIND} ${GAMES_DIR}/Rollemup -type f >> ${PLIST_SRC}; \ - for DIR in `${FIND} ${GAMES_DIR}/Rollemup -type d | sort -r`; do \ + ${FIND} ${GAMES_DIR}/Rollemup -type f -print >> ${PLIST_SRC}; \ + for DIR in `${FIND} ${GAMES_DIR}/Rollemup -type d -print | sort -r`; do \ ${ECHO} "@dirrm $$DIR" >> ${PLIST_SRC}; \ done) @${CHOWN} ${ROOT_USER}:games ${PREFIX}/bin/Rollemup diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile index 6d5677b8241..8b2eab0e218 100644 --- a/games/tuxmath/Makefile +++ b/games/tuxmath/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/01/24 13:30:57 grant Exp $ +# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= tuxmath-2001.09.07-0102 @@ -17,7 +17,7 @@ USE_GNU_TOOLS+= make NO_CONFIGURE= # defined pre-install: - ${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -rf + ${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf ${RM} -rf ${WRKSRC}/data/images/.xvpics ${RM} -rf ${WRKSRC}/data/images/status/.xvpics diff --git a/graphics/aalib-x11/Makefile b/graphics/aalib-x11/Makefile index 16790cebb96..aa8731fecad 100644 --- a/graphics/aalib-x11/Makefile +++ b/graphics/aalib-x11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/01/05 20:38:34 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $ PKGNAME= aalib-x11-${BASE_VERS} CATEGORIES+= x11 @@ -28,7 +28,7 @@ post-patch: $${file} > $${file}.fixed; \ ${MV} -f $${file}.fixed $${file}; \ done - @for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \ + @for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \ ${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \ && ${MV} $$f.patch $$f; \ done diff --git a/graphics/aalib/Makefile.common b/graphics/aalib/Makefile.common index 6ce2fd61459..5445808ebff 100644 --- a/graphics/aalib/Makefile.common +++ b/graphics/aalib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2004/01/24 01:33:49 kristerw Exp $ +# $NetBSD: Makefile.common,v 1.14 2004/01/27 00:53:10 heinz Exp $ DISTNAME= aalib-${DIST_VERS} CATEGORIES+= graphics @@ -26,7 +26,7 @@ GCC_REQD= 2.95.3 .if !target(post-patch) post-patch: - @for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \ + @for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \ ${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \ && ${MV} $$f.patch $$f; \ done diff --git a/graphics/tcm/Makefile b/graphics/tcm/Makefile index c285e4f9b4f..0a07ee019d0 100644 --- a/graphics/tcm/Makefile +++ b/graphics/tcm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2004/01/20 12:18:17 agc Exp $ +# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:11 heinz Exp $ DISTNAME= tcm-2.01.src PKGNAME= tcm-2.01 @@ -43,7 +43,7 @@ do-configure: -e "s|@X11BASE@|${X11BASE}|g" \ -e "s|@LOCALBASE@|${LOCALBASE}|g" \ ${WRKSRC}/gl/system.c.dist > ${WRKSRC}/gl/system.c - for f in `${FIND} ${WRKSRC} -name \*.c`; do \ + for f in `${FIND} ${WRKSRC} -name \*.c -print`; do \ ${MV} -f $$f $$f`${ECHO} c`; \ done ${MV} -f ${WRKSRC}/gl/text2ps.cc ${WRKSRC}/gl/text2ps.c diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index 00b65f2ddc8..41831d4d2ef 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2004/01/20 12:18:17 agc Exp $ +# $NetBSD: Makefile,v 1.32 2004/01/27 00:53:11 heinz Exp $ DISTNAME= urt PKGNAME= urt-3.1b1 @@ -34,7 +34,7 @@ post-install: cd ${PREFIX}/share/doc/urt && (\ ${GTAR} xf ${DISTDIR}/urt-doc.tar; \ cd doc; \ - ${FIND} -d . | cpio -dump ..; \ + ${FIND} -d . -print | cpio -dump ..; \ cd ..; \ ${RM} -rf doc) cd ${PREFIX}/share/examples/urt && (\ diff --git a/inputmethod/canna-dict/Makefile b/inputmethod/canna-dict/Makefile index c35bb66e026..567e7af954e 100644 --- a/inputmethod/canna-dict/Makefile +++ b/inputmethod/canna-dict/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/09/23 15:06:59 uebayasi Exp $ +# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $ # .include "../canna/Makefile.common" @@ -18,7 +18,7 @@ post-patch: @${MV} ${WRKSRC}/Canna.conf ${WRKSRC}/Canna.conf.orig @${SED} -e 's|\(DicDir.*=\).*|\1${IMDICTDIR}/canna|' \ ${WRKSRC}/Canna.conf.orig > ${WRKSRC}/Canna.conf - @for file in `${FIND} ${WRKSRC}/dic/ideo -name Imakefile`; do \ + @for file in `${FIND} ${WRKSRC}/dic/ideo -name Imakefile -print`; do \ ${MV} $$file $$file.orig; \ ${SED} ${CANNA_CMD_SED_SCRIPT} $$file.orig > $$file; \ done diff --git a/inputmethod/ja-freewnn-lib/Makefile.common b/inputmethod/ja-freewnn-lib/Makefile.common index 27a46a78a46..10732b3dd63 100644 --- a/inputmethod/ja-freewnn-lib/Makefile.common +++ b/inputmethod/ja-freewnn-lib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2004/01/20 12:18:53 agc Exp $ +# $NetBSD: Makefile.common,v 1.7 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= FreeWnn-1.10 @@ -46,7 +46,7 @@ MAKE_ENV+= "KWNNDIR=${KWNNDIR}" GNU_CONFIGURE= YES post-patch: - @for file in `${FIND} ${WRKSRC} -name Makefile.in`; do \ + @for file in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \ ${MV} $$file $$file.orig; \ ${SED} -e '/PREFIX = /d' \ -e 's|\(WNNBINDIR = $${PREFIX}/\)\(bin\)|\1s\2|' \ @@ -57,7 +57,7 @@ post-patch: ${SEDSCRIPT} \ $$file.orig > $$file; \ done - @for file in `${FIND} ${WRKSRC}/Wnn/man -name Makefile.in`; do \ + @for file in `${FIND} ${WRKSRC}/Wnn/man -name Makefile.in -print`; do\ ${MV} $$file $$file.orig2; \ ${SED} -e 's|\(MANPATH = .*\)|\1/ja_JP.EUC|' \ $$file.orig2 > $$file; \ @@ -83,7 +83,7 @@ post-install: EVAL_PREFIX+= WNNSERVERBINDIR=ja-FreeWnn-server-bin pre-build: - @for file in `${FIND} ${WRKSRC}/Wnn/pubdic ${WRKSRC}/Wnn/wnncons -name Makefile`; do \ + @for file in `${FIND} ${WRKSRC}/Wnn/pubdic ${WRKSRC}/Wnn/wnncons -name Makefile -print`; do \ ${MV} $$file $$file.orig2; \ ${SED} -e 's|\(ATOD = \).*|\1${WNNSERVERBINDIR}/sbin/atod|' \ -e 's|\(ATOF = \).*|\1${WNNSERVERBINDIR}/sbin/atof|' \ diff --git a/inputmethod/sj3-server-bin/Makefile b/inputmethod/sj3-server-bin/Makefile index c4b189f7f92..fc9164105f3 100644 --- a/inputmethod/sj3-server-bin/Makefile +++ b/inputmethod/sj3-server-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/07/31 12:33:03 jmmv Exp $ +# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= sj3-2.0.1.20 @@ -34,7 +34,7 @@ pre-configure: @${MV} ${WRKSRC}/dict/Imakefile ${WRKSRC}/dict/Imakefile.orig @${SED} -e 's|\(SUBDIRS = .*\)dict|\1|' \ ${WRKSRC}/dict/Imakefile.orig > ${WRKSRC}/dict/Imakefile - @for file in `${FIND} ${WRKSRC} -name Imakefile`; do \ + @for file in `${FIND} ${WRKSRC} -name Imakefile -print`; do \ ${MV} -f $$file $$file.orig; \ ${SED} -e 's|\(= \).*/lib\(sj3lib\).a|\1-l\2|' \ $$file.orig > $$file; \ diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile index 60b33c22c6b..c33d7d8127b 100644 --- a/lang/bwbasic/Makefile +++ b/lang/bwbasic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/01/20 12:19:16 agc Exp $ +# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $ DISTNAME= bwbasic-2.20 PKGREVISION= 1 @@ -18,8 +18,8 @@ SHARE_DIR= ${PREFIX}/share/bwbasic post-install: ${INSTALL_DATA_DIR} ${SHARE_DIR} ${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR} - ${FIND} ${SHARE_DIR} -type d | ${XARGS} ${CHMOD} ${BINMODE} - ${FIND} ${SHARE_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} + ${FIND} ${SHARE_DIR} -type d -print | ${XARGS} ${CHMOD} ${BINMODE} + ${FIND} ${SHARE_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} ${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1 .include "../../mk/bsd.pkg.mk" diff --git a/lang/drscheme/Makefile b/lang/drscheme/Makefile index 3b3bb6bcc55..264e0ef811c 100644 --- a/lang/drscheme/Makefile +++ b/lang/drscheme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2004/01/24 13:51:14 grant Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= plt.src.x @@ -46,7 +46,7 @@ post-patch: @${MV} -f ${WRKSRC}/mred/Makefile.in ${WRKSRC}/foo @${SED} -e 's|@X11PREFIX@|${X11PREFIX}|' < ${WRKSRC}/foo > ${WRKSRC}/mred/Makefile.in @${RM} -f ${WRKSRC}/foo - @${FIND} ${WRKDIR} -name '*.orig' | ${XARGS} ${RM} -f + @${FIND} ${WRKDIR} -name '*.orig' -print | ${XARGS} ${RM} -f do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/plt/collects diff --git a/lang/mercury/Makefile b/lang/mercury/Makefile index e66c065cc24..dd2a04aca0d 100644 --- a/lang/mercury/Makefile +++ b/lang/mercury/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2004/01/24 13:51:14 grant Exp $ +# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:11 heinz Exp $ DISTNAME= mercury-compiler-0.11.0 PKGNAME= mercury-0.11.0 @@ -33,8 +33,8 @@ do-build: do-install: cd ${WRKSRC}/tmp && ${PAX} -rw . ${PREFIX} ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mercury - ${FIND} ${WRKSRC} -type d -name "CVS" | ${XARGS} ${RM} -fr - ${FIND} ${WRKSRC} -type f -name ".cvsignore" | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC} -type d -name "CVS" -print | ${XARGS} ${RM} -fr + ${FIND} ${WRKSRC} -type f -name ".cvsignore" -print | ${XARGS} ${RM} -f cd ${WRKSRC}/samples && ${PAX} -rw . ${PREFIX}/share/examples/mercury .include "../../devel/readline/buildlink2.mk" diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile index 833a732547d..30de7866401 100644 --- a/lang/nhc98/Makefile +++ b/lang/nhc98/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2004/01/24 13:51:14 grant Exp $ +# $NetBSD: Makefile,v 1.27 2004/01/27 00:53:11 heinz Exp $ DISTNAME= nhc98src-1.16 PKGNAME= nhc98-1.16 @@ -33,7 +33,7 @@ HARCH= `${WRKSRC}/script/harch` PLIST_SUBST+= HARCH=${HARCH} post-extract: - @${FIND} ${WRKSRC}/docs -type d -name \*CVS\* | ${XARGS} ${RM} -rf + @${FIND} ${WRKSRC}/docs -type d -name \*CVS\* -print | ${XARGS} ${RM} -rf .include "../../devel/ncurses/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/sather/Makefile b/lang/sather/Makefile index 198d0dfe106..1e1f2b2eae1 100644 --- a/lang/sather/Makefile +++ b/lang/sather/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/24 13:51:15 grant Exp $ +# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:11 heinz Exp $ DISTNAME= sather-1.2.1 PKGREVISION= 2 @@ -78,7 +78,7 @@ do-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/sather/Library \ ${PREFIX}/lib/sather/System ${FIND} ${PREFIX}/lib/sather -name \*.config -o -name Makefile \ - -o -name \*.orig | ${XARGS} ${RM} -f + -o -name \*.orig -print | ${XARGS} ${RM} -f ${INSTALL_DATA} ${WRKSRC}/Emacs/*.info* ${PREFIX}/info ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sather cd ${WRKSRC}/Doc && ${PAX} -rw . ${PREFIX}/share/doc/sather diff --git a/mail/wl/Makefile b/mail/wl/Makefile index 98e3d7030c7..87c6cfb6514 100644 --- a/mail/wl/Makefile +++ b/mail/wl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2003/08/09 11:08:55 seb Exp $ +# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:11 heinz Exp $ DISTNAME= wl-2.10.0 CATEGORIES= mail @@ -27,7 +27,7 @@ PLIST_SRC= ${WRKDIR}/PLIST post-build: @{ \ ${CAT} ${PKGDIR}/PLIST.header; \ - ${FIND} ${WRKSRC} -name '*.elc' | \ + ${FIND} ${WRKSRC} -name '*.elc' -print | \ while read f; do \ g=$$(basename $$f); \ echo '$${EMACS_LISPPREFIX}/wl/'$${g%.elc}.el; \ diff --git a/math/octave/Makefile b/math/octave/Makefile index 5bc47bdbfb9..7f06127d607 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2004/01/24 13:58:23 grant Exp $ +# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:11 heinz Exp $ # FreeBSD Id: Makefile,v 1.18 1998/09/27 20:10:45 steve Exp DISTNAME= octave-2.0.17 @@ -35,7 +35,7 @@ INFO_FILES= liboctave.info octave.info LIBOCTAVE_INFO= liboctave.info liboctave.info-1 liboctave.info-2 liboctave.info-3 post-extract: - ${FIND} ${WRKSRC}/doc -type f -name \*.info\* | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/doc -type f -name \*.info\* -print | ${XARGS} ${RM} -f post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/octave/2.0.17/doc diff --git a/misc/linuxls/Makefile b/misc/linuxls/Makefile index 7fa1bf212c7..e8b8e45798c 100644 --- a/misc/linuxls/Makefile +++ b/misc/linuxls/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/05/31 09:14:50 uebayasi Exp $ +# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= fileutils-3.12 @@ -20,7 +20,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL GNU_CONFIGURE= yes post-patch: - @${FIND} ${WRKSRC} -name Makefile.in | \ + @${FIND} ${WRKSRC} -name Makefile.in -print | \ while read f; do \ ${CP} $$f $${f}.orig; \ ${SED} -e 's|^\(etcdir = \).*$$|\1${PKG_SYSCONFDIR}|g' $${f}.orig >$$f; \ diff --git a/misc/tds/Makefile b/misc/tds/Makefile index 69ef4d31f48..8fb19aaa32e 100644 --- a/misc/tds/Makefile +++ b/misc/tds/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/07/21 17:01:27 martti Exp $ +# $NetBSD: Makefile,v 1.9 2004/01/27 00:53:11 heinz Exp $ # DISTNAME= tds-1.4.2 @@ -15,6 +15,6 @@ GNU_CONFIGURE= YES NO_BUILD= YES post-patch: - @${FIND} ${WRKSRC} -type f -name '*.orig' | ${XARGS} ${RM} -f + @${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} -f .include "../../mk/bsd.pkg.mk" diff --git a/net/sitescooper/Makefile b/net/sitescooper/Makefile index 63fe87f57ec..3a9eb045a00 100644 --- a/net/sitescooper/Makefile +++ b/net/sitescooper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/07/21 17:11:16 martti Exp $ +# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= sitescooper-2.2.8 @@ -27,7 +27,7 @@ do-configure: <${file}.orig >${file} && \ ${RM} ${file}.orig .endfor - ${RM} -rf `${FIND} ${WRKSRC}/* -name CVS -type d` + ${RM} -rf `${FIND} ${WRKSRC}/* -name CVS -type d -print` do-install: .for file in sitescooper rss-to-site subs-to-site diff --git a/net/xipdump/Makefile b/net/xipdump/Makefile index 8bcfdc841a6..e9f0cadc1c2 100644 --- a/net/xipdump/Makefile +++ b/net/xipdump/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/10/29 18:43:20 cube Exp $ +# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= xipdump-1.5.4 @@ -23,7 +23,7 @@ LIBS= `${LIBNET_CONFIG} --libs` post-build: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} - @(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d | \ + @(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \ ${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC}) @${ECHO} "@dirrm share/xipdump/pkt" >> ${PLIST_SRC} @${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC} diff --git a/print/texfamily-share/Makefile b/print/texfamily-share/Makefile index 799485940a7..62e4c93737f 100644 --- a/print/texfamily-share/Makefile +++ b/print/texfamily-share/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/01/20 12:24:29 agc Exp $ +# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $ DISTNAME= TeXfamily-share-1.2.1 PKGREVISION= 4 @@ -54,13 +54,13 @@ do-install: post-install: @cd ${PREFIX}; \ ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}; \ - ${FIND} share/texmf.local -type f|sort >> ${PLIST_SRC}; \ - for LINK in `${FIND} share/texmf.local -type l`; do \ + ${FIND} share/texmf.local -type f -print |sort >> ${PLIST_SRC}; \ + for LINK in `${FIND} share/texmf.local -type l -print`; do \ set - X `${FILE} $$LINK`; \ ${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \ ${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \ done; \ - for DIR in `${FIND} share/texmf.local -type d | sort -r`; do \ + for DIR in `${FIND} share/texmf.local -type d -print | sort -r`; do \ if [ -z "`ls $$DIR`" ]; then \ ${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \ fi; \ diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common index fe03c9d2bab..679aa8e34ae 100644 --- a/security/cyrus-sasl2/Makefile.common +++ b/security/cyrus-sasl2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2004/01/09 19:37:48 jlam Exp $ +# $NetBSD: Makefile.common,v 1.12 2004/01/27 00:53:10 heinz Exp $ # # This Makefile fragment should be included _below_ any SASL_PLUGIN # definition and _above_ any CONFIGURE_ARGS definitions. @@ -73,7 +73,7 @@ CONFIGURE_ARGS+= --without-pam # clean up a bit to help package maintainer produce patch files post-extract: ${_PKG_SILENT}${_PKG_DEBUG} \ - ${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f # Left here as reference for patch makers... #pre-configure: diff --git a/security/netramet/Makefile b/security/netramet/Makefile index a110ef1a2c0..46d27c10c9f 100644 --- a/security/netramet/Makefile +++ b/security/netramet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/03/22 03:48:18 itojun Exp $ +# $NetBSD: Makefile,v 1.4 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= NeTraMet44 @@ -14,7 +14,7 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+=--without-x post-patch: - for i in `${FIND} ${WRKSRC} -name Makefile.in`; do \ + for i in `${FIND} ${WRKSRC} -name Makefile.in -print`; do \ ${SED} "s,CFLAGS=,CFLAGS+=,g" $$i > $$i.done; \ ${MV} $$i.done $$i; \ done diff --git a/sysutils/tkdesk/Makefile b/sysutils/tkdesk/Makefile index a91382bda14..83978bff221 100644 --- a/sysutils/tkdesk/Makefile +++ b/sysutils/tkdesk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/07/21 17:24:41 martti Exp $ +# $NetBSD: Makefile,v 1.6 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= tkdesk-1.2 @@ -18,7 +18,7 @@ CONFIGURE_ARGS+=--with-tcl=${BUILDLINK_PREFIX.tcl}/lib \ pre-install: ${RM} -Rf ${WRKSRC}/tcldesk/configs/.trash - ${FIND} ${WRKSRC}/tcldesk -type f -name '*.orig' | ${XARGS} ${RM} -rf + ${FIND} ${WRKSRC}/tcldesk -type f -name '*.orig' -print | ${XARGS} ${RM} -rf ${FIND} ${WRKSRC}/tcldesk -name '*' -exec ${TOUCH} {} ';' .include "../../lang/tcl/buildlink2.mk" diff --git a/textproc/dict-dictionaries/Makefile b/textproc/dict-dictionaries/Makefile index 9ee25daa848..0cab138d7f2 100644 --- a/textproc/dict-dictionaries/Makefile +++ b/textproc/dict-dictionaries/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/01/24 15:13:19 grant Exp $ +# $NetBSD: Makefile,v 1.3 2004/01/27 00:53:10 heinz Exp $ DISTNAME= # PKGNAME= dict-data-1.8.0 @@ -54,7 +54,7 @@ do-build: (cd ${WRKDIR}/$$d; \ ${MAKE_PROGRAM} db); \ done - ${FIND} ${WRKDIR} -name '*.dict' | \ + ${FIND} ${WRKDIR} -name '*.dict' -print | \ while read f; do \ if [ ! -f $${f}.dz ]; then \ ${LOCALBASE}/bin/dictzip $$f; \ diff --git a/textproc/rtf-tools/Makefile b/textproc/rtf-tools/Makefile index 6223fdcc0f4..13e048805f9 100644 --- a/textproc/rtf-tools/Makefile +++ b/textproc/rtf-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/20 12:26:50 agc Exp $ +# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= RTF-1.10 @@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR}/rtf INSTALL_TARGET= install install.man post-patch: - for i in `${FIND} ${WRKSRC} -name Makefile`; do \ + for i in `${FIND} ${WRKSRC} -name Makefile -print`; do \ ${MV} $$i $$i.bak;\ ${SED} <$$i.bak >$$i \ -e "s|-DVARARGS|-DSTDARGS|g" \ diff --git a/textproc/troffcvt/Makefile b/textproc/troffcvt/Makefile index cd08f02c5b1..60af12e3e2a 100644 --- a/textproc/troffcvt/Makefile +++ b/textproc/troffcvt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2003/12/24 09:53:50 jmmv Exp $ +# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= troffcvt-1.04 @@ -19,7 +19,7 @@ USE_PERL5= yes INSTALL_TARGET= install install.man post-patch: - for i in `${FIND} ${WRKSRC} -name Makefile`; do \ + for i in `${FIND} ${WRKSRC} -name Makefile -print`; do \ ${MV} $$i $$i.bak;\ ${SED} <$$i.bak >$$i \ -e "s| -Dsun -DSVR4||" \ diff --git a/textproc/xalan-c/Makefile b/textproc/xalan-c/Makefile index 8f07a595f94..2846b834f05 100644 --- a/textproc/xalan-c/Makefile +++ b/textproc/xalan-c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/01/24 15:13:20 grant Exp $ +# $NetBSD: Makefile,v 1.12 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= Xalan-C_1_0-linux @@ -36,7 +36,7 @@ do-install: ${ECHO} creating ${PREFIX}/include/$${i}; \ ${INSTALL_DATA_DIR} ${PREFIX}/include/$${i}; \ done; \ - for i in `find $${XMLDIRS} -type f -name "*.hpp"`; do \ + for i in `find $${XMLDIRS} -type f -name "*.hpp" -print`; do \ ${ECHO} installing ${PREFIX}/include/$${i}; \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/include/$${i}; \ done diff --git a/wm/enlightenment/Makefile b/wm/enlightenment/Makefile index 90d96fdb4c1..f189e10a892 100644 --- a/wm/enlightenment/Makefile +++ b/wm/enlightenment/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/01/03 18:49:54 reed Exp $ +# $NetBSD: Makefile,v 1.20 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= enlightenment-0.16.6 @@ -24,9 +24,9 @@ post-install: for FILE in `${GREP} "\.directory$$" ${PKGDIR}/PLIST`; do \ ${TOUCH} ${PREFIX}/$${FILE}; \ done - ${FIND} ${PREFIX}/share/enlightenment/themes -type d | \ + ${FIND} ${PREFIX}/share/enlightenment/themes -type d -print | \ ${XARGS} ${CHMOD} ${BINMODE} - ${FIND} ${PREFIX}/share/enlightenment/themes -type f | \ + ${FIND} ${PREFIX}/share/enlightenment/themes -type f -print | \ ${XARGS} ${CHMOD} ${SHAREMODE} .include "../../audio/esound/buildlink2.mk" diff --git a/wm/ethemes/Makefile b/wm/ethemes/Makefile index d23d3d1350d..8d4f1253a01 100644 --- a/wm/ethemes/Makefile +++ b/wm/ethemes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/11/21 09:31:15 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $ DISTNAME= ethemes-0.1 PKGREVISION= 2 @@ -45,8 +45,8 @@ do-install: .endfor .for DIR in Absolute_E ApplePlatinum FinalE cd ${PREFIX}/${E_DATADIR}/${DIR} \ - && ${CHMOD} go+rx `${FIND} . -type d` \ - && ${CHMOD} go+r `${FIND} . -type f` + && ${CHMOD} go+rx `${FIND} . -type d -print` \ + && ${CHMOD} go+r `${FIND} . -type f -print` .endfor .include "../../mk/bsd.pkg.mk" diff --git a/www/w3m/Makefile.common b/www/w3m/Makefile.common index fd5d4f62f39..1f486fac93a 100644 --- a/www/w3m/Makefile.common +++ b/www/w3m/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.22 2004/01/20 12:28:00 agc Exp $ +# $NetBSD: Makefile.common,v 1.23 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= w3m-${W3M_VERS} @@ -143,7 +143,7 @@ post-extract: # @${LN} ${LIBWC_WRKSRC} ${WRKSRC}/libwc post-patch: - @${FIND} ${WRKSRC} -type f -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} # do not look at previous configuration do-configure: diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile index 79a0a3b31bb..4b749bc56dc 100644 --- a/x11/mlterm/Makefile +++ b/x11/mlterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2004/01/24 15:30:33 grant Exp $ +# $NetBSD: Makefile,v 1.19 2004/01/27 00:53:10 heinz Exp $ DISTNAME= mlterm-2.7.0 PKGREVISION= 2 @@ -29,7 +29,7 @@ CONFIGURE_ARGS+= --enable-anti-alias CONFIGURE_ARGS+= --without-libiconv-prefix post-patch: - @${FIND} ${WRKSRC} -name Makefile.in | \ + @${FIND} ${WRKSRC} -name Makefile.in -print | \ while read f; do \ ${MV} $$f $${f}.orig; \ ${SED} \ diff --git a/x11/py-Pmw/Makefile b/x11/py-Pmw/Makefile index 5a021ff0364..a85819c6a69 100644 --- a/x11/py-Pmw/Makefile +++ b/x11/py-Pmw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/01/20 12:28:27 agc Exp $ +# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= Pmw.0.8.5 @@ -18,9 +18,9 @@ USE_BUILDLINK2= YES do-build: do-install: - (cd ${WRKDIR}; ${FIND} Pmw -type d | \ + (cd ${WRKDIR}; ${FIND} Pmw -type d -print | \ ${SED} -e 's,^,${PREFIX}/${PYSITELIB}/,' | ${XARGS} ${INSTALL_DATA_DIR}) - (cd ${WRKDIR}; for f in `${FIND} Pmw -type f`; do \ + (cd ${WRKDIR}; for f in `${FIND} Pmw -type f -print`; do \ ${INSTALL_DATA} $$f ${PREFIX}/${PYSITELIB}/$$f; done) ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} (cd ${PREFIX}; ${FIND} ${PYSITELIB}/Pmw \ diff --git a/x11/rep-gtk/Makefile b/x11/rep-gtk/Makefile index 35bb5c5a065..feedcf892d0 100644 --- a/x11/rep-gtk/Makefile +++ b/x11/rep-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2004/01/24 15:30:34 grant Exp $ +# $NetBSD: Makefile,v 1.23 2004/01/27 00:53:10 heinz Exp $ # DISTNAME= rep-gtk-0.15 @@ -23,9 +23,9 @@ post-install: ${INSTALL_ALIASES} -c ${FILESDIR} ${REPEXECDIR} ${RM} -f ${PLIST_SRC} cd ${PREFIX} && ${FIND} libexec/rep/${MACHINE_GNU_PLATFORM} \ - -name "gnomelib.*" > ${PLIST_SRC} + -name "gnomelib.*" -print > ${PLIST_SRC} cd ${PREFIX} && ${FIND} libexec/rep/${MACHINE_GNU_PLATFORM}/gui/gnome \ - -name "lib.*" >> ${PLIST_SRC} + -name "lib.*" -print >> ${PLIST_SRC} ${CAT} ${PKGDIR}/PLIST >> ${PLIST_SRC} .include "../../devel/libglade/buildlink2.mk" diff --git a/x11/xjman/Makefile b/x11/xjman/Makefile index 95debbd30a8..6e7e3a570a0 100644 --- a/x11/xjman/Makefile +++ b/x11/xjman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/01/20 12:28:28 agc Exp $ +# $NetBSD: Makefile,v 1.5 2004/01/27 00:53:10 heinz Exp $ # FreeBSD Id: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp DISTNAME= xjman-0.5 @@ -54,11 +54,11 @@ MKCATPAGES?= yes post-build: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @(cd ${WRKSRC}; \ - ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \ + ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f -print | \ ${SED} -e 's|^|${XJMANDIR}/|' | sort >> ${PLIST_SRC}) .if ${MKCATPAGES} != no @(cd ${WRKSRC}; \ - ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f | \ + ${FIND} man1/*.1 man3/*.3 man5/*.5 -type f -print | \ ${SED} -e 's|^|${XJMANDIR}/|' \ -e 's|man[135]\(/.*\)\.\([135]\)$$|cat\2\1.0|' | \ sort >> ${PLIST_SRC}) diff --git a/x11/xservers/Makefile b/x11/xservers/Makefile index f47474daf99..e6476975aad 100644 --- a/x11/xservers/Makefile +++ b/x11/xservers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/07/17 22:57:03 grant Exp $# +# $NetBSD: Makefile,v 1.13 2004/01/27 00:53:10 heinz Exp $# DISTNAME= xservers-3.3.6.3 CATEGORIES= x11 @@ -55,8 +55,8 @@ do-configure: post-install: cd ${PREFIX} && \ - ${FIND} ${X11_SUBDIR} \! -type d | ${SORT} >${PLIST_SRC} && \ - ${FIND} ${X11_SUBDIR} -type d | ${SORT} -r | \ + ${FIND} ${X11_SUBDIR} \! -type d -print | ${SORT} >${PLIST_SRC} && \ + ${FIND} ${X11_SUBDIR} -type d -print | ${SORT} -r | \ ${AWK} '{print("@dirrm "$$1)}' >>${PLIST_SRC} .include "../../mk/bsd.pkg.mk" |