aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3-ut/Makefile
blob: 5c529e72a9a9f1979348d6443c3e94046f74ca0c (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
# Created by: Patrick Li <pat@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ut
PORTVERSION=    3.7
PORTREVISION=   1
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

USES=       gmake zip
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

DATADIR=    ${Q3DIR}/${PORTNAME}

OPTIONS_DEFINE= DOCS

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

do-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} *.pk3 description.txt \
         ${STAGEDIR}${DATADIR})
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} beta3.html radio_commands.txt \
        readme*.txt ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>