aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3-osp/Makefile
blob: ed7bc730d0826e9053ffaa0571e4e41a9a426efd (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
44
# New ports collection makefile for:    Q3 Mod: OSP Tourney DM/CA/CTF
# Date created:             Mon Jun  4 16:20:32 EDT 2001
# Whom:                 pat@databits.net
#
# $FreeBSD$
#

PORTNAME=   osp
PORTVERSION=    1.03a
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX=  ${Q3PKGNAMEPREFIX}
DISTNAME=   osp-Quake3-${PORTVERSION}_full

MAINTAINER= ports@FreeBSD.org
COMMENT=    Quake III Arena Mod: OSP Tourney DM/CA/CTF

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_ZIP=    yes
USE_CRLF=   yes
NO_BUILD=   yes

DATADIR=    ${Q3DIR}/${PORTNAME}

do-install:
    @${MKDIR} ${DATADIR}
.for f in *.cfg *.pk3 description.txt filters.txt
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
.for d in cfg-GfxExample locs vm
    @${CP} -R ${WRKSRC}/${d} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/Docs/*.txt ${DOCSDIR}
    @${INSTALL_DATA} "${WRKSRC}/OSP Match Quick Start.txt" \
        ${DOCSDIR}/osp-match-quick-start.txt
.endif

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

.include <bsd.port.mk>