summaryrefslogtreecommitdiff
path: root/games/quake3server-ut/Makefile
blob: e1f4b931a61ab52077ead7c716260e01d9b2b40d (plain)
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
38
39
40
# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:22 joerg Exp $

DISTNAME=	urbanterror3
PKGNAME=	quake3server-ut-3.0
PKGREVISION=	1
CATEGORIES=	games net
DISTFILES=	urbanterror3.zip

MASTER_SITES=	http://64.159.80.11/ \
		ftp://mirror.candidhosting.com/pub/ut/ \
		http://box3.fsk405.org/q3ut3/ \
		http://fsk405.org/q3ut3/ \
		ftp://www.playdedicated.com/pub/sid/quake3/ \
		ftp://ftp.edome.net/online/clientit/ \
		http://atrivo.wofut.com/~zac/

MAINTAINER=	david@silicium.ath.cx
COMMENT=	Quake III Arena Mod: Urban Terror 3 for Linux

.include "../../games/quake3server/Makefile.common"

DEPENDS+=	quake3server>=1.32:../../games/quake3server
ONLY_FOR_PLATFORM=	NetBSD-*-i386
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/q3ut3
Q3MODDIR=	${Q3ROOTDIR}/ut
DOCDIR=		${PREFIX}/share/doc/lokigames/quake3server/ut
MESSAGE_SUBST+=	Q3MODDIR=${Q3MODDIR}

do-install:
	${INSTALL_DATA_DIR} ${Q3MODDIR}
	${INSTALL_DATA_DIR} ${DOCDIR}

	${INSTALL_DATA} ${WRKSRC}/zq3ut3.pk3 ${Q3MODDIR}

	for docfile in readme.txt overview.txt radio\ commands.txt; do \
		${INSTALL_DATA} "${WRKSRC}/$${docfile}" ${DOCDIR}; \
	done

.include "../../mk/bsd.pkg.mk"