aboutsummaryrefslogtreecommitdiff
path: root/games/prboom/Makefile
blob: a687771f75e02b138b154e837ae302f931e4ccc6 (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
# Created by: Jordan DeLong <fracture@allusion.net>

PORTNAME=	prboom
PORTVERSION=	2.5.0
PORTREVISION=	11
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:multimedia/smpeg \
		libpng.so:graphics/png

USES=		gmake sdl
USE_GL=		gl
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_USES=	gl
OPENGL_USE=	GL=glu

.include <bsd.port.mk>