aboutsummaryrefslogtreecommitdiff
path: root/games/prboom/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 16:35:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 16:35:45 +0000
commit3a283e24f296371e9b753c09e3e62a92ef3d8703 (patch)
tree88e0a2bbddafb5c9bdc18e8e02c5e59fb9f9d471 /games/prboom/Makefile
parent7a0a8929bea1c510b4f30261d294a78b556b49d7 (diff)
downloadports-3a283e24f296371e9b753c09e3e62a92ef3d8703.tar.gz
ports-3a283e24f296371e9b753c09e3e62a92ef3d8703.zip
Notes
Diffstat (limited to 'games/prboom/Makefile')
-rw-r--r--games/prboom/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
index 178ec16032d8..9ef681656d0a 100644
--- a/games/prboom/Makefile
+++ b/games/prboom/Makefile
@@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= OPENGL
+OPTIONS_DEFAULT= OPENGL
OPTIONS= GL "Enable OpenGL support" on
MAN5= boom.cfg.5
@@ -33,12 +35,12 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.include "${.CURDIR}/../doom-data/Makefile.include"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GL)
+.if ${PORT_OPTIONS:MOPENGL}
USE_GL= yes
.else
CONFIGURE_ARGS+=--disable-gl
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>