freebsd-ports/games/openarena/Makefile
Dominic Fandrey 9ab41ffb0e Update and clean up the ioquake3 family of ports.
The following maintenance operations were performed:

- Recreate all patches with `make makepatch`
- Add LICENSE
- Update MAINTAINER to kami@freebsd.org
- games/ioquake3
  - Replace a lot of `.if ${PORT_OPTIONS:MFOO}` with `bsd.options.mk` fu
  - Add support for slaves using different SDL versions
- games/ioquake3-devel
  - Update to GIT revision 2808
  - Use SDL2
- games/iourbanterror
  - Change treatment of patches so `make makepatch` doesn't screw the patches in ${MASTERDIR}/files over
  - Update 4.2.018 to 4.2.023
- games/urbanterror-data
  - Update 4.2.018 to 4.2.023
  - Fix install without DOCS

Reviewed by:	cs
Approved by:	cs
Differential Revision:	https://reviews.freebsd.org/D5816
2016-04-25 22:43:23 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Josh Tolbert
# $FreeBSD$
PORTNAME= openarena
PORTVERSION= ${GAMEVERSION}.s${SVNREVISION}
PORTREVISION= 2
PORTEPOCH= 1
MASTER_SITES= SF/oarena/src \
http://files.poulsander.com/~poul19/public_files/oa/dev088/
DISTNAME= ${PORTNAME}-engine-source-${GAMEVERSION}
# Master port defines EXTRACT_SUFX unless already defined
EXTRACT_SUFX= .tar.bz2
MAINTAINER= kami@freebsd.org
COMMENT= Quake3 total conversion based on the ioquake3 engine
LICENSE?= GPLv2
RUN_DEPENDS= ${DATADIR}/${Q3BASE}/pak0.pk3:games/openarena-data
MASTERDIR= ${.CURDIR}/../ioquake3
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
DISTINFO_FILE= ${.CURDIR}/../${PORTNAME}/distinfo
PATCHDIR= ${.CURDIR}/../${PORTNAME}/files
PKGMESSAGE= ${.CURDIR}/../${PORTNAME}/pkg-message
IOQ3?= CLIENT
IOQ3ARCH?= ${ARCH}
# OpenArena doc is too messy to bother
OPTIONS_EXCLUDE= DOCS
GAMEVERSION= 0.8.8
SVNREVISION= 1910
Q3ENGINEVER= SVN${SVNREVISION}+${GAMEVERSION}
Q3TOTALCONV= yes
Q3CLIENT= openarena
Q3SERVER= oa_ded
Q3BASE= baseoa
Q3DIR= ${DATADIR}
# No icon included with OpenArena
Q3ICON=
pre-patch:
@${FIND} ${WRKSRC} -name \*.orig -delete
.include "${MASTERDIR}/Makefile"