diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-05-10 02:11:51 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-05-10 02:11:51 +0000 |
commit | bfa69bbe514f46df0e0f1dd73db243f6f0400ca2 (patch) | |
tree | 5b6db88c34f282cc0cf04fae3f55dcfcc98530f1 /games/halflifeserver | |
parent | - Add NOPORTDOCS support (diff) |
Improve pre-patch following hlserver-cs/Makefile rev 1.10
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=42473
Diffstat (limited to 'games/halflifeserver')
-rw-r--r-- | games/halflifeserver/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
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 |