aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlserver-trainhunters/Makefile
blob: 31eba0181593d6eb95fef23fac752cd424168d4b (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:    Train Hunters Server
# Date created:             Wed Nov 13 06:26:08 UTC 2002
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   trainhunters
PORTVERSION=    2.0.b0
MASTER_SITES=   http://th.fragoff.net/files/:WAD
DISTFILES=  thb20.tar.gz \
        spraypaint.wad:WAD
EXTRACT_ONLY=   thb20.tar.gz

MAINTAINER= lioux@FreeBSD.org
COMMENT=    Half-Life mod Train Hunters full server package for Linux

IGNORE=     Current version is no longer available anywhere

_DONT_INCLUDE_MK_=yes

HALFLIFE_COUNTERSTRIKE_MASTER=  ${.CURDIR}/../hlserver-cs

.include "${HALFLIFE_COUNTERSTRIKE_MASTER}/Makefile"

slaveport-post-extract:
    @cp -f ${DISTDIR}/spraypaint.wad ${WRKSRC}

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/thb20.tar.gz)
IGNORE=     You must manually fetch the Linux Port distfile\
        (${DISTFILES:M*tar.gz}) from http://www.fileplanet.com/dl/dl.asp?/planethalflife/svinstagib/${DISTFILES:M*tar.gz},\
        place it in ${DISTDIR} and then run make again
.endif

.include <bsd.port.post.mk>