summaryrefslogtreecommitdiff
path: root/games/hlserver-admin
diff options
context:
space:
mode:
Diffstat (limited to 'games/hlserver-admin')
-rw-r--r--games/hlserver-admin/Makefile13
-rw-r--r--games/hlserver-admin/distinfo3
2 files changed, 10 insertions, 6 deletions
diff --git a/games/hlserver-admin/Makefile b/games/hlserver-admin/Makefile
index a2751958fd4d..81de5b87995a 100644
--- a/games/hlserver-admin/Makefile
+++ b/games/hlserver-admin/Makefile
@@ -6,11 +6,13 @@
#
PORTNAME= admin
-PORTVERSION= 2.50.09
+PORTVERSION= 2.50.11
PORTEPOCH= 1
MASTER_SITES= http://www.adminmod.org/downloads/ \
- http://metamod.org/files/other/
-DISTFILES= halflife-${PORTNAME}-${PORTVERSION}.tgz \
+ http://www.adminmod.org/downloads/beta/ \
+ http://www.metamod.org/dl/dlls/
+DISTFILES= halflife-admin-2.50.09.tgz \
+ halflifeadmin-beta-${PORTVERSION:S/.//g}.tgz \
metamod_i386.so
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTFILES:S/metamod_i386.so//}
@@ -20,8 +22,9 @@ WRKSRC= ${WRKDIR}/Admin
slaveport-post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/metamod_i386.so \
${WRKSRC}/dlls
- @${PERL} -pi.orig -e \
- 's|/usr/local/games/hlds_l|${PREFIX}${HLDSDIR:S/\/$//}|' \
+ @${CP} ${WRKDIR}/admin_MM_i386.so ${WRKSRC}/dlls
+ @${PERL} -pi.orig -e 's|2.50.07|${PORTVERSION}|; \
+ s|/usr/local/games/hlds_l|${PREFIX}${HLDSDIR:S/\/$//}|' \
${WRKSRC}/install_admin
slaveport-post-install:
diff --git a/games/hlserver-admin/distinfo b/games/hlserver-admin/distinfo
index bbc4a896608c..a7c52303a03a 100644
--- a/games/hlserver-admin/distinfo
+++ b/games/hlserver-admin/distinfo
@@ -1,2 +1,3 @@
MD5 (admin/halflife-admin-2.50.09.tgz) = 0c3e84ab27a3c743b9528732817a5c1e
-MD5 (admin/metamod_i386.so) = 95daa539247243b49a90e12f0034386d
+MD5 (admin/halflifeadmin-beta-25011.tgz) = 8b6e922afd779b09be70eab6c400fc08
+MD5 (admin/metamod_i386.so) = 2748472bf2cdab7623277181793cb764