summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/halflifeserver/Makefile16
-rw-r--r--games/halflifeserver/distinfo1
-rw-r--r--games/halflifeserver/pkg-plist1
3 files changed, 11 insertions, 7 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile
index a31ace90e145..4a99d3ba4eda 100644
--- a/games/halflifeserver/Makefile
+++ b/games/halflifeserver/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= hlds
-PORTVERSION= 3.1.0.9
+PORTVERSION= 3.1.0.9.c
CATEGORIES= games linux
-DISTNAME= hlds_l_3109_full
+DISTFILES= hlds_l_3109_full.tar.gz \
+ ${HLDSPATCH}
MAINTAINER= pat@FreeBSD.org
@@ -25,18 +26,19 @@ 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}/${DISTNAME}${EXTRACT_SUFX})
-IGNORE= "Please download and execute ${DISTNAME}.bin to read valve\'s \
+.if !exists(${DISTDIR}/${DISTFILES:S/${HLDSPATCH}//}) || !exists(${DISTDIR}/${HLDSPATCH})
+IGNORE= "Please download and execute hlds_l_3109_full.bin to read valve\'s \
agreement and if you agree to the terms, then it will dump the \
- tarball ${DISTNAME}${EXTRACT_SUFX} to your current directory. \
- Finally, move ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and run \
- make again"
+ 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"
.endif
pre-patch:
diff --git a/games/halflifeserver/distinfo b/games/halflifeserver/distinfo
index fe5f14cc49df..bdbc4c7523b8 100644
--- a/games/halflifeserver/distinfo
+++ b/games/halflifeserver/distinfo
@@ -1 +1,2 @@
MD5 (hlds_l_3109_full.tar.gz) = de2ca8cb027f7227d4a2f7a71a071b84
+MD5 (hlds_l_3109c_beta.tar.gz) = 79b93740bb03c4bcbf70876ddf0432d2
diff --git a/games/halflifeserver/pkg-plist b/games/halflifeserver/pkg-plist
index 988b6188c7a2..ee04e04a448e 100644
--- a/games/halflifeserver/pkg-plist
+++ b/games/halflifeserver/pkg-plist
@@ -1,3 +1,4 @@
+%%PORTDOCS%%%%HLDSDIR%%3109c_changes.txt
%%PORTDOCS%%%%HLDSDIR%%EULA.TXT
%%PORTDOCS%%%%HLDSDIR%%HLTV-Readme.txt
%%HLDSDIR%%dmc/cl_dlls/client.dll