aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlserver-cs
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-09 05:30:27 +0800
committerlioux <lioux@FreeBSD.org>2001-05-09 05:30:27 +0800
commitc089453ef36d5735c6d98900b5d98f53bb22382d (patch)
tree586bc91f28c1ec673965724bfde718400710fff7 /games/hlserver-cs
parent72ace20c84b0457dd115473d892e86add7ba34c6 (diff)
downloadfreebsd-ports-gnome-c089453ef36d5735c6d98900b5d98f53bb22382d.tar.gz
freebsd-ports-gnome-c089453ef36d5735c6d98900b5d98f53bb22382d.tar.zst
freebsd-ports-gnome-c089453ef36d5735c6d98900b5d98f53bb22382d.zip
- Update MASTER_SITES
- Improve pre-patch target Submitted by: maintainer
Diffstat (limited to 'games/hlserver-cs')
-rw-r--r--games/hlserver-cs/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
index bdb2e9443fb4..34b70d1a7221 100644
--- a/games/hlserver-cs/Makefile
+++ b/games/hlserver-cs/Makefile
@@ -8,16 +8,16 @@
PORTNAME?= cs
PORTVERSION?= 1.1c
CATEGORIES= games linux
-MASTER_SITES?= ftp://ftp.icrontic.com/pub/ \
- http://flf.playnet.com/ \
+MASTER_SITES?= ftp://ftp.pipex.net/uunet/games/counterstrike/linux/ \
+ ftp://ftp.icsmedia.de/pub/games/halflife/counter_strike/linux_server/ \
+ ftp://ftp.phil.uni-erlangen.de/pub/hl/mods/ \
+ http://www.databits.net/~pat/ \
http://ftp2.gamespy.com/pub/cdrom/counter-strike/ \
ftp://fileplanet.ngi.it/fileplanet2/counter-strike/ \
ftp://ftp.fasta.fh-dortmund.de/gdi/halflife/counterstrike/ \
- http://www.death-match.com/fr/download/fichiers/halflife/mods/ \
- ftp://ftp.icsmedia.de/pub/games/halflife/counter_strike/linux_server/ \
http://ftp1download.gamespy.com/fileplanet/fpnew/action/half-life/modifications/cstrike/ \
- http://fileplanet.games-world.net/dl/ftp1.gamespy.com/fpnew/action/half-life/modifications/cstrike/ \
- ftp://fileplanet.blueyonder.co.uk/ftp1.gamespy.com/fpnew/action/half-life/modifications/cstrike/
+ http://fileplanet.games-world.net/dl/ftp1.gamespy.com/fpnew/action/half-life/modifications/cstrike/
+
PKGNAMEPREFIX= hlserver-
.ifndef(DISTNAME)
DISTFILES?= cs_11b_full.tar.gz cs_11c_up.tar.gz
@@ -48,11 +48,9 @@ PLIST_SUB_MASTER!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PLIST_SUB_FOR_THIS_PO
pre-patch:
# remove trailing ^M
-.for file in *.cfg */*.cfg *.gam */*.gam *.htm */*.htm \
- *.inf */*.inf *.lst */*.lst *.sc */*.sc \
- *.scr */*.scr *.txt */*.txt *.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 \;
# if you change the PLIST, please re-think the following
# Parses PLIST