freebsd-ports/games/q3base/Makefile
Kris Kennaway c1788f93dd Add ONLY_FOR_ARCHS=i386 because of 32-bit/endianness assumptions
Submitted by:	Ed Schouten <ed@fxq.nl> (maintainer)
2006-01-16 06:41:05 +00:00

46 lines
906 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
CATEGORIES= games
MASTER_SITES= http://quake3.quakesrc.org/files/quake3/q3base/
PKGNAMEPREFIX= quake3-
MAINTAINER= ed@fxq.nl
COMMENT= Quake III Arena fork using SDL
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_BZIP2= yes
USE_SDL= sdl net
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
CONFIGURE_TARGET=
CONFLICTS= q3server-1.32* quake3-[0-9]*
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKSRC}/pkg-message
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --disable-client
.else
USE_GL= yes
USE_SDL+= image
.endif
.include <bsd.port.pre.mk>
post-install:
@${MKDIR} ${PREFIX}/share/quake3/baseq3
@${MKDIR} ${PREFIX}/share/quake3/missionpack
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>