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

PORTNAME=   hlstatsx
DISTVERSION=    1.20RC2
PORTREVISION=   1
CATEGORIES= games www
MASTER_SITES=   http://striker.interhact.net/hlstatsx/
DISTNAME=   HLstatsX_V${DISTVERSION}

MAINTAINER= sylvio@FreeBSD.org
COMMENT=    Real-time player and clan rankings and statistics for HL2 and mods

NO_BUILD=   yes
USE_APACHE= 20+
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} "*"

.include <bsd.port.mk>