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

PORTNAME=   hlstats
PORTVERSION=    1.38
CATEGORIES= games www
MASTER_SITES=   SF

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

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>