freebsd-ports/games/hlserver-admin/Makefile
Patrick Li df2fcbc63b Tarball repackaged with new MetaMod version 1.12 that supports new versions
of halflifeserver and counter strike mods. Bump PORTREVISION.
2002-04-27 03:16:10 +00:00

30 lines
732 B
Makefile

# New ports collection makefile for: Half Life Admin Mod
# Date created: Sun Apr 29 15:58:33 EDT 2001
# Whom: pat@databits.net et al
#
# $FreeBSD$
#
PORTNAME= admin
PORTVERSION= 2.50.26
PORTREVISION= 2
PORTEPOCH= 1
MASTER_SITES= http://www.adminmod.org/downloads/
DISTNAME= halflife-admin-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}
WRKSRC= ${WRKDIR}/Admin
slaveport-post-extract:
@${PERL} -pi.orig -e \
's|/usr/local/games/hlds_l|${PREFIX}${HLDSDIR:S/\/$//}|' \
${WRKSRC}/install_admin
slaveport-post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/install_admin \
${PREFIX}${HLDSDIR}/Admin
HALFLIFE_COUNTERSTRIKE_MASTER= ${.CURDIR}/../hlserver-cs
.include "${HALFLIFE_COUNTERSTRIKE_MASTER}/Makefile"