summaryrefslogtreecommitdiff
path: root/games/hlstats/Makefile
blob: 7cd71d3fcb2a8053068422cd6f2f06fe1c08226d (plain) (blame)
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
# New ports collection makefile for:	HLStats
# Date created:				26 December 2003
# Whom:					Hideki Machida <hido@neojapangz.com>
#
# $FreeBSD$
#

PORTNAME=	hlstats
PORTVERSION=	1.62
CATEGORIES=	games www
MASTER_SITES=	http://www.hlstats-community.org/wordpulse/site/hlscom/upload/Multimedia/download/${PORTVERSION}/
DISTNAME=	HLStats-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A real-time statistics generator for Half-Life and its mods

FORBIDDEN=	Vulnerable since 2006-09-02, http://portaudit.freebsd.org/09639ccc-3abb-11db-81e1-000e0c2e438a.html
EXPIRATION_DATE=	2011-09-30

LICENSE=	CDDL

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_PHP=	yes
USE_PERL5_RUN=	yes
HLSTATS?=	www/${PORTNAME}
PLIST_SUB+=	HLSTATS=${HLSTATS}

do-install:
	@${MKDIR} ${PREFIX}/${HLSTATS}
	cd ${WRKSRC} && ${TAR} cf - ChangeLog README* [a-z]* | ${TAR} xf - \
		-C ${PREFIX}/${HLSTATS}

.include <bsd.port.mk>