summaryrefslogtreecommitdiffstats
path: root/games/quake3-excessive/Makefile
blob: 7a6f3cf46f652631638289b311a668771a929c21 (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
37
38
39
40
41
42
43
44
# New ports collection makefile for:	Q3 Mod: Excessive
# Date created:				Sat Jun 23 23:40:21 EDT 2001
# Whom:					pat@databits.net
#
# $FreeBSD$
#

PORTNAME=	excessive
PORTVERSION=	003
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	pat
PKGNAMEPREFIX=	${Q3PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}_q3_server_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Quake III Arena Mod: Excessive

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_ZIP=	yes
USE_CRLF=	yes
NO_BUILD=	yes

DATADIR=	${Q3DIR}/${PORTNAME}

post-extract:
	@(cd ${WRKSRC}; ${UNZIP_CMD} description.pk3)

do-install:
	@${MKDIR} ${DATADIR}
.for f in description.txt motd.cfg maplist.cfg
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
	@${MKDIR} ${DATADIR}/vm
	@${INSTALL_DATA} ${WRKSRC}/vm/qagame.qvm ${DATADIR}/vm
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

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

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