summaryrefslogtreecommitdiff
path: root/games/hlserver-admin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/hlserver-admin/Makefile')
-rw-r--r--games/hlserver-admin/Makefile13
1 files changed, 8 insertions, 5 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: