aboutsummaryrefslogtreecommitdiff
path: root/games/hlserver-cs
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-28 17:21:58 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-28 17:21:58 +0000
commit945bf9f969e7c392fe22a2936de05efa04d7f5c0 (patch)
tree675bc9d92a91697b1d742bfb1d5a2e584097b459 /games/hlserver-cs
parentcbf7ce2f8cce379de77afa6098e18964fa81be6b (diff)
downloadports-945bf9f969e7c392fe22a2936de05efa04d7f5c0.tar.gz
ports-945bf9f969e7c392fe22a2936de05efa04d7f5c0.zip
Notes
Diffstat (limited to 'games/hlserver-cs')
-rw-r--r--games/hlserver-cs/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
index 2904db117d08..dd3e227c479f 100644
--- a/games/hlserver-cs/Makefile
+++ b/games/hlserver-cs/Makefile
@@ -23,6 +23,7 @@ DISTNAME?= ${PORTNAME}_${PORTVERSION:S/.//}_full
MAINTAINER?= pat@databits.net
+BUILD_DEPENDS= ${NONEXISTENT}:${HALFLIFESERVER_PORT}:patch
RUN_DEPENDS= ${LINUXBASE}${HLDSDIR}${HL_PROGRAM}:${HALFLIFESERVER_PORT}
ONLY_FOR_ARCHS= i386
@@ -30,6 +31,7 @@ USE_LINUX_PREFIX= yes
NO_CDROM= "Size; the data set is much too big"
NO_BUILD= yes
.if (${PORTNAME}==cs)
+PORTREVISION= 1
WRKSRC?= ${WRKDIR}/cstrike
.else
WRKSRC?= ${WRKDIR}/${PORTNAME}
@@ -45,6 +47,20 @@ HL_PROGRAM!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V HL_PROGRAM
PLIST_SUB_MASTER!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PLIST_SUB_FOR_THIS_PORT
PKGMESSAGE!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V PKGMESSAGE
+# 3.1.0.8 Beta A patch
+HALFLIFESERVER_PORT_WRKSRC!= cd ${HALFLIFESERVER_PORT} && ${MAKE} -V WRKSRC
+
+.if !target(post-extract)
+post-extract:
+.if exists(${HALFLIFESERVER_PORT_WRKSRC}/cstrike)
+ ${CP} -Rp ${HALFLIFESERVER_PORT_WRKSRC}/cstrike ${WRKDIR}
+.else
+ @${ECHO_MSG} "Please update your ports tree, it is not syncronized to the latest tree"
+ @${ECHO_MSG} "This port will not work. Check the FreeBSD Handbook on how to update"
+ @${FALSE}
+.endif
+.endif
+
pre-patch:
# remove trailing ^M
@find -E ${WRKSRC} -type f \