diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-13 13:30:42 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-13 13:30:42 +0000 |
commit | bb34de42c0ccac8e962cab97e064965d23f081de (patch) | |
tree | dd40b82023ab94a6839b4f4d440c3cd5cab978ee /math | |
parent | I forgot to add two patch files in the last commit, and broke the GTK2 (diff) |
Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.
Notes
Notes:
svn path=/head/; revision=93887
Diffstat (limited to 'math')
-rw-r--r-- | math/djbfft/Makefile | 2 | ||||
-rw-r--r-- | math/gnuplot+/Makefile | 2 | ||||
-rw-r--r-- | math/jacal/Makefile | 2 | ||||
-rw-r--r-- | math/javanns/Makefile | 4 | ||||
-rw-r--r-- | math/mupad/Makefile | 2 | ||||
-rw-r--r-- | math/p5-Math-LinearCombination/Makefile | 2 | ||||
-rw-r--r-- | math/p5-Math-SimpleVariable/Makefile | 2 | ||||
-rw-r--r-- | math/py-gato/Makefile | 2 | ||||
-rw-r--r-- | math/rcalc/Makefile | 2 | ||||
-rw-r--r-- | math/scigraphica/Makefile | 2 |
10 files changed, 11 insertions, 11 deletions
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 <bsd.port.mk> 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 <bsd.port.mk> 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 <bsd.port.mk> 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 <bsd.port.mk> 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' |