aboutsummaryrefslogtreecommitdiff
path: root/devel/adasdl
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-11-13 14:45:08 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-11-13 14:45:08 +0000
commite99ceadaf6c77b80c19e16d91306e944305b1c88 (patch)
treee8a8f4dac51e148717ae07e2de0c635ec5d58833 /devel/adasdl
parent3a5afbdcc87c8da2cc12bd67ec501257e48bc034 (diff)
downloadports-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 'devel/adasdl')
-rw-r--r--devel/adasdl/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/devel/adasdl/Makefile b/devel/adasdl/Makefile
index 58742639b4e5..78c6a7831160 100644
--- a/devel/adasdl/Makefile
+++ b/devel/adasdl/Makefile
@@ -25,10 +25,10 @@ USE_GMAKE= yes
USE_REINPLACE= yes
do-patch:
- for i in `find ${WRKSRC} -name 'Makefile'`; do \
+ for i in `${FIND} ${WRKSRC} -name 'Makefile'`; do \
${REINPLACE_CMD} -e '/gnatmake/!s/make\ /gmake\ /' $${i}; \
done
- for i in `find ${WRKSRC} -name 'make.conf_x11'`; do \
+ for i in `${FIND} ${WRKSRC} -name 'make.conf_x11'`; do \
${REINPLACE_CMD} \
-e 's,/usr/local,${LOCALBASE},g' \
-e 's,/usr/X11R6,${X11BASE},g' \
@@ -67,33 +67,40 @@ do-build:
do-install:
${MKDIR} ${PREFIX}/lib/adaSDL
for i in `cat pkg-plist|grep "lib/adaSDL/"|grep -v framebuffer|grep -v _mixer|grep -v _image|sed "s/lib\/adaSDL\///"`; do \
- find ${WRKSRC}/AdaSDL/binding -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
+ ${FIND} ${WRKSRC}/AdaSDL/binding -name $${i} -maxdepth 1 | \
+ ${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
done
for i in `cat pkg-plist|grep "lib/adaSDL/"|grep framebuffer|sed "s/lib\/adaSDL\///"`; do \
- find ${WRKSRC}/AdaSDL_framebuff -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
+ ${FIND} ${WRKSRC}/AdaSDL_framebuff -name $${i} -maxdepth 1 | \
+ ${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
done
${MKDIR} ${PREFIX}/share/adaSDL
${MKDIR} ${PREFIX}/share/adaSDL/examples
for i in `cat pkg-plist|grep "share/adaSDL/examples"|grep -v dirrm|sed "s/share\/adaSDL\/examples\///"`; do \
- find ${WRKSRC}/AdaSDL_framebuff/sdltests -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/share/adaSDL/examples; \
+ ${FIND} ${WRKSRC}/AdaSDL_framebuff/sdltests -name $${i} \
+ -maxdepth 1 | ${INSTALL_DATA} \
+ `grep ""` ${PREFIX}/share/adaSDL/examples; \
done
.if !defined(WITHOUT_SDL_IMAGE)
for i in `cat pkg-plist|grep "lib/adaSDL/"|grep _image|sed "s/lib\/adaSDL\///"`; do \
- find ${WRKSRC}/AdaSDL_image -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
+ ${FIND} ${WRKSRC}/AdaSDL_image -name $${i} -maxdepth 1 | \
+ ${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
done
.endif
.if !defined(WITHOUT_SDL_MIXER)
for i in `cat pkg-plist|grep "lib/adaSDL/"|grep _mixer|sed "s/lib\/adaSDL\///"`; do \
- find ${WRKSRC}/AdaSDL_mixer -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
+ ${FIND} ${WRKSRC}/AdaSDL_mixer -name $${i} -maxdepth 1 | \
+ ${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaSDL; \
done
.endif
.if !defined(WITHOUT_OPENGL)
${MKDIR} ${PREFIX}/lib/adaGL
for i in `cat pkg-plist|grep "/adaGL/"|sed "s/lib\/adaGL\///"`; do \
- find ${WRKSRC}/AdaGL/GL -name $${i} -maxdepth 1|${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaGL; \
+ ${FIND} ${WRKSRC}/AdaGL/GL -name $${i} -maxdepth 1 | \
+ ${INSTALL_DATA} `grep ""` ${PREFIX}/lib/adaGL; \
done
.endif