diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-13 14:45:08 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-11-13 14:45:08 +0000 |
commit | e99ceadaf6c77b80c19e16d91306e944305b1c88 (patch) | |
tree | e8a8f4dac51e148717ae07e2de0c635ec5d58833 /graphics | |
parent | 3a5afbdcc87c8da2cc12bd67ec501257e48bc034 (diff) | |
download | ports-e99ceadaf6c77b80c19e16d91306e944305b1c88.tar.gz ports-e99ceadaf6c77b80c19e16d91306e944305b1c88.zip |
Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.
Notes
Notes:
svn path=/head/; revision=93890
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/GIFgraph/Makefile | 2 | ||||
-rw-r--r-- | graphics/dc20pack/Makefile | 5 | ||||
-rw-r--r-- | graphics/djvulibre/Makefile | 2 | ||||
-rw-r--r-- | graphics/geomview/Makefile | 2 | ||||
-rw-r--r-- | graphics/utah-glx/Makefile | 4 |
5 files changed, 9 insertions, 6 deletions
diff --git a/graphics/GIFgraph/Makefile b/graphics/GIFgraph/Makefile index 3f450dc013df..71074e27748c 100644 --- a/graphics/GIFgraph/Makefile +++ b/graphics/GIFgraph/Makefile @@ -24,6 +24,6 @@ PERL_CONFIGURE= YES MAN3= GIFgraph.3 GIFgraph::colour.3 post-patch: - find ${WRKSRC} -name '*.orig' -delete + ${FIND} ${WRKSRC} -name '*.orig' -delete .include <bsd.port.mk> diff --git a/graphics/dc20pack/Makefile b/graphics/dc20pack/Makefile index 7bcee9023448..11e3485b6296 100644 --- a/graphics/dc20pack/Makefile +++ b/graphics/dc20pack/Makefile @@ -19,7 +19,10 @@ WRKSRC= ${WRKDIR} USE_REINPLACE= yes post-extract: - for file in `/usr/bin/find ${WRKSRC} -type f`; do ${TR} -d '\015' < $${file} > $${file}.new; mv $${file}.new $${file}; done + for file in `${FIND} ${WRKSRC} -type f`; do \ + ${TR} -d '\015' < $${file} > $${file}.new; \ + mv $${file}.new $${file}; \ + done do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dc20dump ${PREFIX}/bin diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 05709a7941cf..48643593b455 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -47,7 +47,7 @@ pre-everything:: .if defined(LOCALBASE) && ${LOCALBASE} != "/usr/local" pre-configure: - ${PERL} -pi -e 's,/usr/local,${LOCALBASE},g' `find ${WRKSRC} \ + ${PERL} -pi -e 's,/usr/local,${LOCALBASE},g' `${FIND} ${WRKSRC} \ -type f -print0 | ${XARGS} -0 ${GREP} -Fl --mmap /usr/local` .endif diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile index 8fe646d0c458..a394d10670b1 100644 --- a/graphics/geomview/Makefile +++ b/graphics/geomview/Makefile @@ -46,7 +46,7 @@ AC_FAKE_FILES= aclocal.m4 config.h.in stamp-h stamp-h.in post-configure: cd ${WRKSRC}; ${TOUCH} ${AC_FAKE_FILES} - find ${WRKSRC} -name Makefile.in | xargs ${TOUCH} + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH} pre-install: ${MKDIR} ${PREFIX}/share/geomview diff --git a/graphics/utah-glx/Makefile b/graphics/utah-glx/Makefile index a79094fdb592..64b4fc47034b 100644 --- a/graphics/utah-glx/Makefile +++ b/graphics/utah-glx/Makefile @@ -57,8 +57,8 @@ IGNORE= "Requires XFree86 3.3.* - will not work with XFree86 4.*" .endif pre-build: - @find ${WRKSRC} -type f | xargs grep -l linux/agpgart | \ - xargs perl -pi -e "s|linux/agpgart|sys/agpio|" + @${FIND} ${WRKSRC} -type f | ${XARGS} grep -l linux/agpgart | \ + ${XARGS} perl -pi -e "s|linux/agpgart|sys/agpio|" pre-install: .if exists(${PREFIX}/lib/libGL.so.${GLVER}) && !defined(GL_CHECK_OVERRIDE) && !defined(PACKAGE_BUILDING) |