summaryrefslogtreecommitdiff
path: root/games/hlstatsx/Makefile
blob: a10169223ed0068bdb11cadbc32c7c07e219ce17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:   hlstatsx
# Date created:        2006-06-12
# Whom:                Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=	hlstatsx
PORTVERSION=	1.01
PORTREVISION=	1
CATEGORIES=	games www
MASTER_SITES=	http://www.hlstatsx.com/downloads/
DISTNAME=	HLstatsX_V${PORTVERSION}

MAINTAINER=	farrokhi@FreeBSD.org
COMMENT=	Real-time player and clan rankings and statistics for HL2 and mods

NO_BUILD=	yes
USE_APACHE=	yes
USE_PHP=	gd mysql
USE_PERL5_RUN=	yes
USE_ZIP=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}
HLSTATSX?=	www/${PORTNAME}
PLIST_SUB+=	HLSTATSX=${HLSTATSX}
EXTRACT_AFTER_ARGS=	-d ${WRKSRC}

do-install:
	@ ${MKDIR} ${PREFIX}/${HLSTATSX}
	@ ${CP} -R ${WRKSRC}/* ${PREFIX}/${HLSTATSX}
	@ ${ECHO_MSG} "*"
	@ ${ECHO_MSG} "* Files have been installed in"
	@ ${ECHO_MSG} "* ${PREFIX}/${HLSTATSX}"
	@ ${ECHO_MSG} "*"
	@ ${ECHO_MSG} "* Visit http://www.hlstatsx.com/installation/ for instructions on getting it running."
	@ ${ECHO_MSG} "*"

.include <bsd.port.mk>