From bfa69bbe514f46df0e0f1dd73db243f6f0400ca2 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Thu, 10 May 2001 02:11:51 +0000 Subject: Improve pre-patch following hlserver-cs/Makefile rev 1.10 Submitted by: maintainer --- games/halflifeserver/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'games/halflifeserver') diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile index f57ce57c772e..a61c25cab004 100644 --- a/games/halflifeserver/Makefile +++ b/games/halflifeserver/Makefile @@ -46,11 +46,9 @@ HL_PROGRAM= hlds_run pre-patch: # remove trailing ^M -.for file in *.cfg */*.cfg *.gam */*.gam *.htm */*.htm \ - *.inf */*.inf *.lst */*.lst *.sc */*.sc \ - *.scr */*.scr *.txt */*.txt - @${PERL} -pi -ne 's!\r\n!\n!' ${WRKSRC}/${file} >/dev/null 2>/dev/null -.endfor + @find -E ${WRKSRC} -type f \ + -iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt)" \ + -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \; do-install: install-files scan-libs -- cgit v1.2.3