aboutsummaryrefslogtreecommitdiffstats
path: root/games/prboom/Makefile
blob: c93d72f6fe9cbdde1f2d7c005759a044e44a3afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    prboom
# Date created:             10 June 2001
# Whom:                 Jordan DeLong <fracture@allusion.net>
#
# $FreeBSD$
#

PORTNAME=   prboom
PORTVERSION=    2.5.0
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
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
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= OPENGL
OPTIONS_DEFAULT=    OPENGL

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.options.mk>

.if ${PORT_OPTIONS:MOPENGL}
USE_GL=     yes
.else
CONFIGURE_ARGS+=--disable-gl
.endif

.include <bsd.port.mk>