summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/hlserver-cs/Makefile6
-rw-r--r--games/hlserver-snow/Makefile12
-rw-r--r--games/hlserver-snow/distinfo3
3 files changed, 17 insertions, 4 deletions
diff --git a/games/hlserver-cs/Makefile b/games/hlserver-cs/Makefile
index 7f94b4a4500f..2e9b5b2a1f85 100644
--- a/games/hlserver-cs/Makefile
+++ b/games/hlserver-cs/Makefile
@@ -63,6 +63,12 @@ post-extract:
.endif
.endif
+.if !target(slaveport-post-extract)
+slaveport-post-extract:
+.endif
+
+post-extract: slaveport-post-extract
+
pre-patch:
# remove trailing ^M
@find -E ${WRKSRC} -type f \
diff --git a/games/hlserver-snow/Makefile b/games/hlserver-snow/Makefile
index 111ef974604f..ef12bc495667 100644
--- a/games/hlserver-snow/Makefile
+++ b/games/hlserver-snow/Makefile
@@ -6,16 +6,22 @@
#
PORTNAME= snow
-PORTVERSION= 0.0.94
+PORTVERSION= 0.0.94.b
MASTER_SITES= ftp://ftp.task.gda.pl/mirror/ftp.extreme-players.de/exp/hl/mod/snowwar/ \
+ http://gamedesign.4players.de:1026/downloads/ \
+ http://www1.cod2001.com/Downloads-5371-/Half-Life_default/Mods/SnowWar/ \
http://www.ancient.co.jp/~game/files/
-DISTNAME= sw${PORTVERSION:S/.//g:S/^0//}
-EXTRACT_SUFX= .exe
+DISTFILES= sw094.exe hl_i386.so
+DIST_SUBDIR= snow
+EXTRACT_ONLY= sw094.exe
MAINTAINER= lioux@FreeBSD.org
USE_ZIP= yes
+slaveport-post-extract:
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/hl_i386.so ${WRKSRC}/dlls
+
HALFLIFE_COUNTERSTRIKE_MASTER= ${.CURDIR}/../hlserver-cs
.include "${HALFLIFE_COUNTERSTRIKE_MASTER}/Makefile"
diff --git a/games/hlserver-snow/distinfo b/games/hlserver-snow/distinfo
index 668cefe29d27..cb967057fcc3 100644
--- a/games/hlserver-snow/distinfo
+++ b/games/hlserver-snow/distinfo
@@ -1 +1,2 @@
-MD5 (sw094.exe) = 2543ac68fe509479d84ede31ba95b2d2
+MD5 (snow/sw094.exe) = 2543ac68fe509479d84ede31ba95b2d2
+MD5 (snow/hl_i386.so) = 76f829760b5ee85b0c73d6679fe3f92e