summaryrefslogtreecommitdiffstats
path: root/games/quake3-ra3/Makefile
blob: 23cfa75d899d58732bbe3b87a048b3c6ebf43e82 (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
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$

PORTNAME=	ra3
PORTVERSION=	1.76	# 1.80 exists, but is kinda goofy; 1.76 is classic
CATEGORIES=	games
MASTER_SITES=	http://games.mirrors.tds.net/pub/planetquake3/modifications/rocketarena3/
PKGNAMEPREFIX=	${Q3PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Quake III Arena mod: Rocket Arena 3

USES=		zip
NO_BUILD=	yes

WRKSRC=		${WRKDIR}/arena
DATADIR=	${Q3DIR}/${PORTNAME}

OPTIONS_DEFINE=	DOCS

.include "${.CURDIR}/../quake3-data/Makefile.include"

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in *.cfg *.pk3
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud