diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-05-03 01:34:44 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-05-03 01:34:44 +0000 |
commit | 6527c5587fea846f41bfc7209fdaf33f10204739 (patch) | |
tree | a16311fc88a168891518795ab753b0c3d34e9c53 /games/hlserver-cs | |
parent | d4ef2da689f3d7b28627c93038fff7567f4074e6 (diff) | |
download | ports-6527c5587fea846f41bfc7209fdaf33f10204739.tar.gz ports-6527c5587fea846f41bfc7209fdaf33f10204739.zip |
Notes
Diffstat (limited to 'games/hlserver-cs')
-rw-r--r-- | games/hlserver-cs/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile index 0b04d8b498e8..f27a3bf39bdc 100644 --- a/games/hlserver-cs/Makefile +++ b/games/hlserver-cs/Makefile @@ -31,7 +31,11 @@ ONLY_FOR_ARCHS= i386 USE_LINUX_PREFIX= yes NO_CDROM= "Size; the data set is much too big" NO_BUILD= yes +.if (${PORTNAME}==cs) WRKSRC?= ${WRKDIR}/cstrike +.else +WRKSRC?= ${WRKDIR}/${PORTNAME} +.endif PLIST_SUB+= ${PLIST_SUB_MASTER} INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} @@ -47,7 +51,7 @@ pre-patch: .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!' ${WRKDIR}/${file} >/dev/null 2>/dev/null + @${PERL} -pi -ne 's!\r\n!\n!' ${WRKSRC}/${file} >/dev/null 2>/dev/null .endfor # if you change the PLIST, please re-think the following |