summaryrefslogtreecommitdiff
path: root/games/halflifeserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/halflifeserver/Makefile')
-rw-r--r--games/halflifeserver/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile
index 4a99d3ba4eda..264588e094e5 100644
--- a/games/halflifeserver/Makefile
+++ b/games/halflifeserver/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= hlds
-PORTVERSION= 3.1.0.9.c
+PORTVERSION= 3.1.1.0
CATEGORIES= games linux
-DISTFILES= hlds_l_3109_full.tar.gz \
- ${HLDSPATCH}
+DISTNAME= hlds_l_${PORTVERSION:S/.//g}_full
MAINTAINER= pat@FreeBSD.org
@@ -26,19 +25,18 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
HLDSDIR= /usr/games/hlds_l/
SORT?= /usr/bin/sort
-HLDSPATCH= hlds_l_3109c_beta.tar.gz
# files which should be installed with executables perms
EXECUTABLES= hltv hlds hlds_run libSteamValidateUserIDTickets.so \
libhlwon.so
.include <bsd.port.pre.mk>
-.if !exists(${DISTDIR}/${DISTFILES:S/${HLDSPATCH}//}) || !exists(${DISTDIR}/${HLDSPATCH})
-IGNORE= "Please download and execute hlds_l_3109_full.bin to read valve\'s \
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= "Please download and execute ${DISTNAME}.bin to read valve\'s \
agreement and if you agree to the terms, then it will dump the \
- tarball hlds_l_3109_full.tar.gz to your current directory. \
- Finally, move hlds_l_3109_full.tar.gz to ${DISTDIR}, \
- fetch ${HLDSPATCH} to ${DISTDIR} and run make again"
+ tarball ${DISTNAME}${EXTRACT_SUFX} to your current directory. \
+ Finally, move ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and run \
+ make again"
.endif
pre-patch: