summaryrefslogtreecommitdiff
path: root/games/quake3server-ut/Makefile
blob: 73f66d49f0e5349c9af20ee70f63b430840f081e (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
# $NetBSD: Makefile,v 1.7 2011/03/11 12:08:04 zafer Exp $

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

MASTER_SITES=	http://distfiles.aydogan.net/games/	

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

PKG_DESTDIR_SUPPORT=	user-destdir

.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} ${DESTDIR}${Q3MODDIR}
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}

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

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

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