summaryrefslogtreecommitdiff
path: root/games/quake3server-ra3/Makefile
blob: a9974d8508d235c6f9374b1c801b712cca5d8e7e (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
# $NetBSD: Makefile,v 1.6 2006/02/05 23:09:22 joerg Exp $

DISTNAME=	ra3-1.65
PKGNAME=	quake3server-ra3-1.65
PKGREVISION=	1
CATEGORIES=	games net
MASTER_SITES?=	http://gamefiles.blueyonder.co.uk/blueyondergames/quake3arena/modifications/rocketarena/patches/linux/ \
		http://mir2.ovh.net/ftp.planetquake3.net/modifications/rocketarena3/
DISTFILES=	ra3165cl.zip \
		ra3165sv.zip

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

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

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

do-install:
	${INSTALL_DATA_DIR} ${Q3MODDIR}
	${INSTALL_DATA_DIR} ${DOCDIR}
.for datafile in *.pk3 qagame* *.cfg
	${INSTALL_DATA} ${WRKSRC}/${datafile} ${Q3MODDIR}
.endfor

.for docfile in readme.txt readsrv.txt
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCDIR}
.endfor

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