aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlstats/Makefile
blob: f62f38a87c4ebafac0bc7fc4732f910b1900b35c (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
# New ports collection makefile for:   hlstats
# Date created:        26 December 2003
# Whom:                hideki
#
# $FreeBSD$
#

PORTNAME=   hlstats
PORTVERSION=    1.50
CATEGORIES= games www
MASTER_SITES=   http://www.hlstats-community.org/files/42/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A real-time stats parser for Half Life & its mods

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

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

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

.include <bsd.port.mk>