summaryrefslogtreecommitdiff
path: root/games/prboom-plus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/prboom-plus/Makefile')
-rw-r--r--games/prboom-plus/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile
index 2e9294aaddbe..64f650880bab 100644
--- a/games/prboom-plus/Makefile
+++ b/games/prboom-plus/Makefile
@@ -3,7 +3,7 @@
PORTNAME= prboom-plus
PORTVERSION= 2.5.1.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF
@@ -14,22 +14,26 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
- libpng.so:graphics/png
+ libpng.so:graphics/png \
+ libmad.so:audio/libmad \
+ libfluidsynth.so:audio/fluidsynth \
+ libvorbisfile.so:audio/libvorbis
USES= gmake localbase sdl
-USE_SDL= mixer net sdl
+USE_GL= gl
+USE_SDL= image mixer net sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-waddir=${DATADIR}
+DATADIR= ${DMDIR}
+
OPTIONS_DEFINE= DOCS OPENGL
OPTIONS_DEFAULT=OPENGL
-DATADIR= ${DMDIR}
-
-OPENGL_CONFIGURE_ENABLE= gl
OPENGL_USES= gl
OPENGL_USE= GL=glu
+OPENGL_CONFIGURE_ENABLE= gl
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \