1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/games/prboom-plus/Makefile
2021-10-04 06:56:46 +02:00

45 lines
944 B
Makefile

# Created by: Jordan DeLong <fracture@allusion.net>
PORTNAME= prboom-plus
PORTVERSION= 2.5.1.3
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= thiagohero501@gmail.com
COMMENT= Fork of the prboom Doom game engine
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
libpng.so:graphics/png \
libmad.so:audio/libmad \
libfluidsynth.so:audio/fluidsynth \
libvorbisfile.so:audio/libvorbis
USES= gmake localbase 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
OPENGL_USES= gl
OPENGL_USE= GL=glu
OPENGL_CONFIGURE_ENABLE= gl
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e '/^gamesdir/s|/games|/bin|' \
-e '/^docdir/s/@PACKAGE@-@VERSION@/@PACKAGE@/'
.include "${.CURDIR}/Makefile.include"
.include <bsd.port.mk>