aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-29 01:21:58 +0800
committerlioux <lioux@FreeBSD.org>2001-09-29 01:21:58 +0800
commitc6dabb5441a8998806bfadaa3d8d22793bdf9d69 (patch)
treed56a08dedf4459bd544294e03bab431195ef1352 /games
parentbf00320424c439416a6b1abb23961fbf6ba10f66 (diff)
downloadfreebsd-ports-gnome-c6dabb5441a8998806bfadaa3d8d22793bdf9d69.tar.gz
freebsd-ports-gnome-c6dabb5441a8998806bfadaa3d8d22793bdf9d69.tar.zst
freebsd-ports-gnome-c6dabb5441a8998806bfadaa3d8d22793bdf9d69.zip
o add fixes in sync with halflifeserver port version 3.1.0.8.0a
o bump PORTREVISION (not a PORTVERSION bump)
Diffstat (limited to 'games')
-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 \