aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3-excessive/Makefile
blob: b1c526fcc76102013dfbd5ad71543b384ad91bd9 (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
# 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
DISTNAME=   ${PORTNAME}_q3_server_${PORTVERSION}

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

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_ZIP=    yes
NO_BUILD=   yes

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>