2001-11-23 19:57:43 +01:00
|
|
|
# New ports collection makefile for: Half Life Psychostats
|
|
|
|
# Date created: Sun Oct 14 14:34:20 CEST 2001
|
2005-02-24 02:44:07 +01:00
|
|
|
# Whom: martin@matuska.org
|
2001-11-23 19:57:43 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= psychostats
|
2003-07-16 12:20:55 +02:00
|
|
|
PORTVERSION= 1.9.1
|
2005-06-21 06:31:45 +02:00
|
|
|
PORTREVISION= 1
|
2001-11-23 19:57:43 +01:00
|
|
|
CATEGORIES= games www
|
2003-07-16 12:20:55 +02:00
|
|
|
MASTER_SITES= ftp://ftp.thaiguy.net/ \
|
|
|
|
http://www.psychostats.com/dl/ \
|
2001-11-23 19:57:43 +01:00
|
|
|
http://www.realityslap.com/downloads/ \
|
2003-07-16 12:20:55 +02:00
|
|
|
http://fratello-server.com/downloads/serveur/ \
|
|
|
|
http://mirrors.voyager.net/games/halflife/stats/psychostats/
|
2001-11-23 19:57:43 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
|
2005-02-24 02:44:07 +01:00
|
|
|
MAINTAINER= martin@matuska.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Popular player statistics generator for Half-Life (cs/dod)
|
2001-11-23 19:57:43 +01:00
|
|
|
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2001-11-23 19:57:43 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
# files which should be installed with executable perms
|
2003-07-16 12:20:55 +02:00
|
|
|
EXECUTABLES= stats.pl install.pl
|
2001-11-23 19:57:43 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for files in ${EXECUTABLES}
|
|
|
|
@${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
|
|
|
|
${WRKSRC}/${files}
|
|
|
|
.endfor
|
|
|
|
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|; \
|
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|; \
|
|
|
|
s|%%HLDSDIR%%|${HLDSDIR}|' \
|
|
|
|
${WRKSRC}/stats.cfg
|
|
|
|
|
|
|
|
slaveport-post-install:
|
|
|
|
.for files in ${EXECUTABLES}
|
|
|
|
@${CHMOD} u+x ${PREFIX}${HLDSDIR}${DISTNAME}/${files}
|
|
|
|
.endfor
|
|
|
|
|
2005-06-21 06:31:45 +02:00
|
|
|
HALFLIFE_PORT_MASTER= ${.CURDIR}/../hlserver-flf
|
2001-11-23 19:57:43 +01:00
|
|
|
|
2005-06-21 06:31:45 +02:00
|
|
|
.include "${HALFLIFE_PORT_MASTER}/Makefile"
|