aboutsummaryrefslogtreecommitdiffstats
path: root/games/prboom/Makefile
blob: 3b2542e70cf4ac18c40f9ac4c2021db6921d971b (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
# Created by: Jordan DeLong <fracture@allusion.net>
# $FreeBSD$

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

MAINTAINER= thiagohero501@gmail.com
COMMENT=    Multiplayer-capable and modified version of ID's classic DOOM game

LICENSE=    GPLv2

LIB_DEPENDS=    libsmpeg.so:${PORTSDIR}/multimedia/smpeg

USES=       gmake
USE_SDL=    mixer net sdl

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-i386-asm
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS_DEFINE= OPENGL
OPTIONS_DEFAULT=    OPENGL

DATADIR=    ${LOCALBASE}/share/doom
PLIST_SUB=  PORTVERSION=${PORTVERSION}

SUB_FILES=  pkg-message

OPENGL_CONFIGURE_ENABLE=    gl
OPENGL_USE= GL=yes

.include <bsd.port.mk>