aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlstats/Makefile
blob: 41d19fbb4c2c3ff12777a02f4a61475c1198d751 (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.20
CATEGORIES= games www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

RUN_DEPENDS=    php-config:${PORTSDIR}/www/mod_php4 \
        ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql

NO_BUILD=   yes
USE_APACHE= yes
USE_PERL5_RUN=  yes

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

.include <bsd.port.mk>