1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/games/q3base/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

46 lines
931 B
Makefile

# New ports collection makefile for: q3base
# Date created: 17 Nov 2005
# Whom: Ed Schouten <ed@fxq.nl>
#
# $FreeBSD$
#
PORTNAME= q3base
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://quake3.quakesrc.org/files/quake3/q3base/
MAINTAINER= ed@fxq.nl
COMMENT= Quake III Arena fork using SDL
USE_BZIP2= yes
USE_SDL= sdl net
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
OPTIONS= X11 "Build OpenGL client" on
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --disable-client
.else
USE_GL= yes
USE_SDL+= image
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\($${exec_prefix}/lib\)/quake3|\1/q3base|' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \
${WRKSRC}/src/botlib/be_interface.c
.include "${.CURDIR}/../quake3-data/Makefile.include"
.include <bsd.port.post.mk>