diff options
author | lioux <lioux@FreeBSD.org> | 2001-05-10 02:11:51 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-05-10 02:11:51 +0000 |
commit | a77646f1c571693308ec5163078a37109e138fc6 (patch) | |
tree | 83eb4f44a8bc63561acf5875dc83be2f0e833b8d /games/halflifeserver/Makefile | |
parent | 29811ed41209a4b8900dd00e1ce6037715c7dede (diff) | |
download | FreeBSD-ports-a77646f1c571693308ec5163078a37109e138fc6.zip FreeBSD-ports-a77646f1c571693308ec5163078a37109e138fc6.tar.gz |
Improve pre-patch following hlserver-cs/Makefile rev 1.10
Submitted by: maintainer
Diffstat (limited to 'games/halflifeserver/Makefile')
-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 f57ce57..a61c25c 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 |