summaryrefslogtreecommitdiff
path: root/games/hlserver-cs/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-03-23 10:16:47 +0000
committerMark Murray <markm@FreeBSD.org>2001-03-23 10:16:47 +0000
commitb22f09161638609765e46c5ade3aed8e2fe3bf7e (patch)
tree63abb8597671ac007bab378b5ce5091fcb44c908 /games/hlserver-cs/Makefile
parentI'll maintain this port. (diff)
Upgreate the Half-life server to the latest-and-greatest.
Also break out Counter-strike into a dependant port of its own, and add a similar dependant port for Frontline Force. The submitter takes over maintainership. Thanks! Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=40259
Diffstat (limited to 'games/hlserver-cs/Makefile')
-rw-r--r--games/hlserver-cs/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
new file mode 100644
index 000000000000..ecb18542c2bb
--- /dev/null
+++ b/games/hlserver-cs/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Counter Strike Server
+# Date created: Sat Mar 10 16:40:06 EST 2001
+# Whom: pat@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= CS
+PORTVERSION= 1.1b
+CATEGORIES= games linux
+MASTER_SITES= ftp://ftp.icrontic.com/pub/ \
+ http://flf.playnet.com/
+DISTNAME= cs_11b_full
+EXTRACT_ONLY=
+
+MAINTAINER= pat@databits.net
+
+BUILD_DEPENDS= /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base
+RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
+ hlds_l:${PORTSDIR}/games/halflifeserver
+
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+PREFIX= /compat/linux
+WRKSRC= ${WRKDIR}/hlds_l
+EXTRACT_ONLY_1= cs_11b_full.tar.gz
+
+HLDSDIR= /usr/games/hlds_l
+
+do-install:
+ @cd ${PREFIX}${HLDSDIR} ;\
+ for file in ${EXTRACT_ONLY_1}; do \
+ if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$${file} ${EXTRACT_AFTER_ARGS}) ;\
+ then \
+ exit 1 ;\
+ fi \
+ done
+
+.include <bsd.port.mk>