b878bc5c2b
- Change master port over to hlserver-flf - (1) Installation directory went from: [/compat/linux/usr/games/hlds_l] to: [/usr/local/games/hlds_l] - Add if statements and message to prevent PORTREVISION bump of master ports affecting all slave ports Submitted by: netchild (1)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: Half Life Psychostats
|
|
# Date created: Sun Oct 14 14:34:20 CEST 2001
|
|
# Whom: martin@matuska.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= psychostats
|
|
PORTVERSION= 1.9.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= games www
|
|
MASTER_SITES= ftp://ftp.thaiguy.net/ \
|
|
http://www.psychostats.com/dl/ \
|
|
http://www.realityslap.com/downloads/ \
|
|
http://fratello-server.com/downloads/serveur/ \
|
|
http://mirrors.voyager.net/games/halflife/stats/psychostats/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= martin@matuska.org
|
|
COMMENT= Popular player statistics generator for Half-Life (cs/dod)
|
|
|
|
USE_PERL5_BUILD=yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
# files which should be installed with executable perms
|
|
EXECUTABLES= stats.pl install.pl
|
|
|
|
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
|
|
|
|
HALFLIFE_PORT_MASTER= ${.CURDIR}/../hlserver-flf
|
|
|
|
.include "${HALFLIFE_PORT_MASTER}/Makefile"
|