aboutsummaryrefslogtreecommitdiff
path: root/games/quake3-ut/Makefile
blob: f17faa14b9a922186ee81dc7920b1b5f1a9dd22c (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
38
39
40
41
42
43
# Created by: Patrick Li <pat@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ut
PORTVERSION=	3.7
CATEGORIES=	games
MASTER_SITES=	http://bigfoot.morphos-team.net/misc/Quake3Mods/
PKGNAMEPREFIX=	${Q3PKGNAMEPREFIX}
DISTNAME=	UrbanTerror${PORTVERSION:S/.//}_full

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Quake III Arena mod: Urban Terror

NO_PACKAGE=	package will be 445MB, set FORCE_PACKAGE if you really want it

USE_ZIP=	yes
USE_CRLF=	yes
.if defined(.PARSEDIR)
USE_GMAKE=	yes
.endif
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

DATADIR=	${Q3DIR}/${PORTNAME}

PORT_OPTIONS=	DOCS

.include "${.CURDIR}/../quake3-data/Makefile.include"
.include <bsd.port.options.mk>

do-install:
	@${MKDIR} ${DATADIR}
.for f in *.pk3 description.txt
	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.  for f in beta3.html radio_commands.txt readme*.txt
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.  endfor
.endif

.include <bsd.port.mk>