From bb34de42c0ccac8e962cab97e064965d23f081de Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Thu, 13 Nov 2003 13:30:42 +0000 Subject: Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. --- math/djbfft/Makefile | 2 +- math/gnuplot+/Makefile | 2 +- math/jacal/Makefile | 2 +- math/javanns/Makefile | 4 ++-- math/mupad/Makefile | 2 +- math/p5-Math-LinearCombination/Makefile | 2 +- math/p5-Math-SimpleVariable/Makefile | 2 +- math/py-gato/Makefile | 2 +- math/rcalc/Makefile | 2 +- math/scigraphica/Makefile | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'math') diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile index 5d133a101f4b..558e70faf565 100644 --- a/math/djbfft/Makefile +++ b/math/djbfft/Makefile @@ -19,7 +19,7 @@ ALL_TARGET= INSTALL_TARGET=setup check post-patch: - @find ${WRKSRC} -type f -exec \ + @${FIND} ${WRKSRC} -type f -exec \ ${PERL} -pi -e 's!(djbfft.a)!lib\1!' {} \; @${PERL} -pi -e 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c diff --git a/math/gnuplot+/Makefile b/math/gnuplot+/Makefile index 9215858fdbee..92afb869a2a9 100644 --- a/math/gnuplot+/Makefile +++ b/math/gnuplot+/Makefile @@ -62,7 +62,7 @@ post-patch: cd ${WRKSRC}; ${TOUCH} configure pre-build: - find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; + ${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; post-build: cd ${WRKSRC}/docs; ${GMAKE} info diff --git a/math/jacal/Makefile b/math/jacal/Makefile index 0eba59de917a..41ab518071a3 100644 --- a/math/jacal/Makefile +++ b/math/jacal/Makefile @@ -27,6 +27,6 @@ MAN1= jacal.1 do-configure: cd ${WRKSRC}; \ - find . -type f -exec perl -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';' + ${FIND} . -type f -exec perl -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';' .include diff --git a/math/javanns/Makefile b/math/javanns/Makefile index 4da6e973ea1f..fabb67158780 100644 --- a/math/javanns/Makefile +++ b/math/javanns/Makefile @@ -28,8 +28,8 @@ USE_REINPLACE= yes post-extract: # Permissions in the tar file are whacked - find ${WRKSRC} -type d -print | xargs ${CHMOD} 755 - find ${WRKSRC} -type f -print | xargs ${CHMOD} 644 + ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 + ${FIND} ${WRKSRC} -type f -print | ${XARGS} ${CHMOD} 644 do-configure: ${INSTALL_DATA} ${FILESDIR}/javanns.sh ${WRKSRC} diff --git a/math/mupad/Makefile b/math/mupad/Makefile index 1435de9e0057..e059a893dce8 100644 --- a/math/mupad/Makefile +++ b/math/mupad/Makefile @@ -40,7 +40,7 @@ do-install: @${MKDIR} ${PREFIX}/mupad/freebsd @${MKDIR} ${PREFIX}/mupad/share @${MKDIR} ${PREFIX}/mupad/packages - find ${WRKSRC} -name "*.orig" | xargs ${RM} + ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} ${RM} -rf ${WRKSRC}/packages/scilab/linux ${RM} -rf ${WRKSRC}/packages/scilab/solaris ${TAR} cf - -C ${WRKSRC}/linux . | ${TAR} xf - -C ${PREFIX}/mupad/freebsd diff --git a/math/p5-Math-LinearCombination/Makefile b/math/p5-Math-LinearCombination/Makefile index 7f3d7c7185d2..7399fb5faf0e 100644 --- a/math/p5-Math-LinearCombination/Makefile +++ b/math/p5-Math-LinearCombination/Makefile @@ -24,7 +24,7 @@ PERL_CONFIGURE= yes MAN3= Math::LinearCombination.3 pre-patch: - @${FIND} ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \ 's!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+!my !;' .include diff --git a/math/p5-Math-SimpleVariable/Makefile b/math/p5-Math-SimpleVariable/Makefile index 8562aea22629..b5fd3bcf2e71 100644 --- a/math/p5-Math-SimpleVariable/Makefile +++ b/math/p5-Math-SimpleVariable/Makefile @@ -23,7 +23,7 @@ PERL_CONFIGURE= yes MAN3= Math::SimpleVariable.3 pre-patch: - @${FIND} ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} ${PERL} -pi -e \ '$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;' .include diff --git a/math/py-gato/Makefile b/math/py-gato/Makefile index 533f2b108bd0..b19ae6fa6f29 100644 --- a/math/py-gato/Makefile +++ b/math/py-gato/Makefile @@ -33,7 +33,7 @@ do-build: do-install: @ ${MKDIR} ${GATO_DIR} - @ cd ${WRKSRC} && find *.py *.pyc *.pyo \ + @ cd ${WRKSRC} && ${FIND} *.py *.pyc *.pyo \ -name Gato.py\* -o -name Gred.py\* -o -print \ | ${CPIO} ${BINOWN}:${BINGRP} ${GATO_DIR} .for script in Gato Gred diff --git a/math/rcalc/Makefile b/math/rcalc/Makefile index a5ccbdb17617..c2aadc5cbc66 100644 --- a/math/rcalc/Makefile +++ b/math/rcalc/Makefile @@ -23,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" pre-patch: - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g' .include diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile index 503ea4a8a390..b0d756f2a2f9 100644 --- a/math/scigraphica/Makefile +++ b/math/scigraphica/Makefile @@ -33,7 +33,7 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' -- cgit v1.2.3