1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/prboom-plus/Makefile
Muhammad Moinur Rahman 47165f9edf
games/prboom-plus: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 08:38:11 +01:00

51 lines
1.2 KiB
Makefile

PORTNAME= prboom-plus
PORTVERSION= 2.5.1.3
PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= thiagohero501@gmail.com
COMMENT= Fork of the prboom Doom game engine
WWW= http://prboom-plus.sourceforge.net/
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
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
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
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
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>