summaryrefslogtreecommitdiff
path: root/games/hlserver-psychostats/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-11-23 18:57:43 +0000
committerPatrick Li <pat@FreeBSD.org>2001-11-23 18:57:43 +0000
commitd7b45ed5f90c983a5c91360354350f9f3e3efeb8 (patch)
tree6944903e501da229eeafa3e86e4dd81f0790c334 /games/hlserver-psychostats/Makefile
parentFix IMAP/IMAP-SSL support. (diff)
Add hlserver-psychostats, a popular player statistics generator for
Half-Life mods Counter Strike and Day of Defeat. Submitted by: Martin Matuska <matuska@wu-wien.ac.at> Reviewed by: lioux
Notes
Notes: svn path=/head/; revision=50432
Diffstat (limited to '')
-rw-r--r--games/hlserver-psychostats/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/games/hlserver-psychostats/Makefile b/games/hlserver-psychostats/Makefile
new file mode 100644
index 000000000000..fb942a36e45a
--- /dev/null
+++ b/games/hlserver-psychostats/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Half Life Psychostats
+# Date created: Sun Oct 14 14:34:20 CEST 2001
+# Whom: matuska@wu-wien.ac.at
+#
+# $FreeBSD$
+#
+
+PORTNAME= psychostats
+PORTVERSION= 1.7
+CATEGORIES= games www
+MASTER_SITES= ftp://ftp.psychostats.com/psychostats/ \
+ http://www.madeagle.ru/apps/stats/psychostats/linux/1.7/ \
+ http://www.realityslap.com/downloads/ \
+ http://www.freebooters.org/ps/ \
+ http://www.cool-squad.com/downloads/ \
+ http://www.green-goblin.de/psychostats/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= matuska@wu-wien.ac.at
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+# files which should be installed with executable perms
+EXECUTABLES= stats 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_COUNTERSTRIKE_MASTER= ${.CURDIR}/../hlserver-cs
+
+.include "${HALFLIFE_COUNTERSTRIKE_MASTER}/Makefile"