freebsd-ports/games/prboom/Makefile
Pav Lucistnik e8f49503d8 - Fix CONFIGURE_ENV (fixes build with OpenGL enabled)
PR:		ports/118177
Submitted by:	Andriy Gapon <avg@icyb.net.ua>
Approved by:	maintainer timeout (3 weeks)
2007-12-14 22:43:17 +00:00

45 lines
963 B
Makefile

# New ports collection makefile for: prboom
# Date created: 10 June 2001
# Whom: Jordan DeLong <fracture@allusion.net>
#
# $FreeBSD$
#
PORTNAME= prboom
PORTVERSION= 2.4.7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= robin.schoonover@gmail.com
COMMENT= A multiplayer-capable and modified version of ID's classic DOOM game
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
USE_GMAKE= yes
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--disable-cpu-opt
OPTIONS= GL "Enable OpenGL support" off
MAN5= boom.cfg.5
MAN6= prboom.6 prboom-game-server.6
DATADIR= ${DMDIR}
PLIST_SUB= PORTVERSION=${PORTVERSION}
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.pre.mk>
.if defined(WITH_GL)
USE_GL= yes
.else
CONFIGURE_ARGS+=--disable-gl
.endif
.include <bsd.port.post.mk>