aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlstatsx/Makefile
blob: 828c0db94bde64df681a875e49d443d7d4180aa0 (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
37
38
39
40
# New ports collection makefile for:   hlstatsx
# Date created:        2006-06-12
# Whom:                Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=   hlstatsx
PORTVERSION=    1.01
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

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

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>