summaryrefslogtreecommitdiff
path: root/games/hlserver-admin/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-05 06:07:42 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-05 06:07:42 +0000
commit03356fe5a56c73a031bdf1759c8d109d5c4f634a (patch)
tree075acb386f57cf22c0144186aef93ab5c63e9a63 /games/hlserver-admin/Makefile
parentUpdate to scanssh 1.6b (Renamed to 1.60b to make PORTVERSION monotonic) (diff)
Update to 2.50.11 w/ metamod version 1.11.00
Notes
Notes: svn path=/head/; revision=52590
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: