freebsd-ports/games/prboom/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

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: prboom
# Date created: 10 June 2001
# Whom: Jordan DeLong <fracture@allusion.net>
#
# $FreeBSD$
#
PORTNAME= prboom
PORTVERSION= 2.2.6
PORTREVISION= 1
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+="-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}
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.pre.mk>
.if defined(WITH_GL)
CONFIGURE_ARGS+=--enable-gl
USE_GL= yes
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in README doc/README.compat doc/README.demos doc/boom.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>