# New ports collection makefile for:	openarena
# Date created:				2007-08-01
# Whom:					Josh Tolbert <hemi@puresimplicity.net>
#
# $FreeBSD: games/openarena/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	openarena
PORTVERSION=	${GAMEVERSION}.s${SVNREVISION}
PORTREVISION=	0
PORTEPOCH=	1
MASTER_SITES=	SF/oarena/src \
		http://files.poulsander.com/~poul19/public_files/oa/dev088/
DISTNAME=	${PORTNAME}-engine-source-0.8.8
# Master port defines EXTRACT_SUFX unless already defined
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	kamikaze@bsdforen.de
COMMENT=	Quake3 total conversion based on the ioquake3 engine

RUN_DEPENDS=	${DATADIR}/${Q3BASE}/pak0.pk3:${PORTSDIR}/games/openarena-data

MASTERDIR=	${.CURDIR}/../ioquake3
DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
DISTINFO_FILE=	${.CURDIR}/../${PORTNAME}/distinfo
PATCHDIR=	${.CURDIR}/../${PORTNAME}/files
PLIST=		${.CURDIR}/../${PORTNAME}/pkg-plist
PKGMESSAGE=	${.CURDIR}/../${PORTNAME}/pkg-message

NO_GAMELIBS=	yes
NO_TOOLS=	yes
# OpenArena doc is too messy to bother
NOPORTDOCS=	yes
# Dynamically loaded renderer not yet supported
WITHOUT_DLRENDERER=	yes

GAMEVERSION=	0.8.8
SVNREVISION=	1910
Q3ENGINEVER=	1.36_SVN${SVNREVISION}+${GAMEVERSION}
Q3TOTALCONV=	yes
Q3CLIENT=	openarena
Q3SERVER=	oa_ded
Q3BASE=		baseoa
Q3DIR=		${DATADIR}
# No icon included with OpenArena
Q3ICON=

.include "${MASTERDIR}/Makefile"
