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