2012-12-13 02:02:50 +01:00
|
|
|
# Created by: Igor Pokrovsky <tiamat@comset.net>
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= vavoom
|
2011-01-08 22:01:23 +01:00
|
|
|
PORTVERSION= 1.33
|
2015-09-16 21:51:26 +02:00
|
|
|
PORTREVISION= 10
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Vavoom-source/${PORTVERSION}
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
|
2012-12-13 02:02:50 +01:00
|
|
|
MAINTAINER= bar@FreeBSD.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= Doom, Doom II, Heretic, Hexen, and Strife source port
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
|
2014-01-12 19:50:44 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2005-05-04 14:42:28 +02:00
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
USES= cmake dos2unix jpeg tar:bzip2
|
2014-01-12 19:50:44 +01:00
|
|
|
DOS2UNIX_REGEX= ((.*\.(c|cpp|h|s|asm|inc|vc|ls|acs|cfg|txt|vs|mak|mgw"))$$|\/(makefile\..*|makefile|Makefile)$$)
|
|
|
|
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
|
2015-09-13 20:58:29 +02:00
|
|
|
OPTIONS_DEFINE= FLAC LAUNCHER MAD MIKMOD OPENAL OPTIMIZED_CFLAGS VORBIS SDL DOCS
|
|
|
|
OPTIONS_DEFAULT= OPENGL SDL
|
2012-06-12 18:35:45 +02:00
|
|
|
LAUNCHER_DESC= Build GUI launcher
|
|
|
|
OPENAL_DESC= Enable OpenAL support
|
2014-01-12 19:50:44 +01:00
|
|
|
SDL_DESC= Use SDL for OpenGL support
|
2005-05-06 19:51:03 +02:00
|
|
|
|
2008-04-24 18:41:23 +02:00
|
|
|
SUB_FILES= pkg-message
|
2005-11-17 13:00:51 +01:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-06-02 13:40:09 +02:00
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
# The `-fno-strict-aliasing' flag (default on FreeBSD 6.0+) produces
|
|
|
|
# non-working code for `vcc', so we remove it here if present.
|
|
|
|
CFLAGS:= ${CFLAGS:N-fno-strict-aliasing}
|
|
|
|
CXXFLAGS:= ${CFLAGS:N-fno-strict-aliasing}
|
2005-11-17 13:00:51 +01:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MFLAC}
|
2014-01-12 19:50:44 +01:00
|
|
|
LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_FLAC=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_FLAC=N
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MLAUNCHER}
|
2014-03-24 13:35:11 +01:00
|
|
|
USE_WX= 2.8+
|
2015-09-13 20:58:29 +02:00
|
|
|
WX_UNICODE= yes
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_LAUNCHER=Y \
|
|
|
|
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"
|
2007-12-12 06:20:45 +01:00
|
|
|
PLIST_SUB+= LAUNCHER=""
|
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_LAUNCHER=N
|
2007-12-12 06:20:45 +01:00
|
|
|
PLIST_SUB+= LAUNCHER="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MMAD}
|
2014-01-12 19:50:44 +01:00
|
|
|
LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_LIBMAD=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_LIBMAD=N
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MMIKMOD}
|
2014-01-12 19:50:44 +01:00
|
|
|
LIB_DEPENDS+= libmikmod.so:${PORTSDIR}/audio/libmikmod
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_MIKMOD=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_MIKMOD=N
|
2005-12-12 22:03:34 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MOPENAL}
|
2013-12-26 00:29:34 +01:00
|
|
|
USES+= openal:al
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_OPENAL=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_OPENAL=N
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
2006-09-09 18:41:47 +02:00
|
|
|
CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MVORBIS}
|
2014-01-12 19:50:44 +01:00
|
|
|
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_VORBIS=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_VORBIS=N
|
2005-11-19 15:04:39 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MSDL}
|
2006-09-09 18:41:47 +02:00
|
|
|
USE_SDL= mixer sdl
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_SDL=Y
|
2014-01-12 19:50:44 +01:00
|
|
|
USE_GL= yes
|
|
|
|
CMAKE_ARGS+= -DWITH_OPENGL=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_SDL=N
|
2014-01-12 19:50:44 +01:00
|
|
|
CMAKE_ARGS+= -DWITH_OPENGL=N
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MWXUNICODE}
|
2009-10-14 15:34:06 +02:00
|
|
|
.endif
|
|
|
|
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
post-patch:
|
2008-06-21 23:56:21 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|$$\* ||; s|$${IWADDIR}|-iwaddir ${DMDIR} $$*|' \
|
2008-04-24 18:41:23 +02:00
|
|
|
${WRKSRC}/source/CMakeLists.txt
|
2009-10-14 15:34:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
|
|
|
|
${WRKSRC}/utils/acc/parse.c
|
|
|
|
@${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
|
|
|
|
${WRKSRC}/utils/acc/strlist.c
|
2009-12-29 03:17:40 +01:00
|
|
|
|
|
|
|
post-configure:
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MLAUNCHER}
|
2009-12-29 03:17:40 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/-pthread;-D_THREAD_SAFE //; \
|
|
|
|
s/-isystem /-I/g' \
|
|
|
|
${WRKSRC}/utils/vlaunch/CMakeFiles/vlaunch.dir/flags.make
|
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
post-install:
|
2012-06-12 18:35:45 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-01-12 19:50:44 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${STAGEDIR}${DOCSDIR}
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
.endif
|
2014-01-12 19:50:44 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vavoom.bin
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vavoom-dedicated.bin
|
Add vavoom 1.15.1,
Vavoom is a source port based on sources of Doom, Heretic,
Hexen and a little bit from Quake. To play Vavoom you need main
wad file from Doom, Ultimate Doom, Doom II, Heretic, Hexen or
Strife.
Differences from original game:
* Polygonal engine with colored lighting, with software mode,
* OpenGL support;
* Translucency;
* Complete support for freelook (look up & down) in all games;
* A powerful language to describe game logic;
* 100% client/server architecture with in-game joining;
* Quake-style console, with key bindings;
* Indirect support for DeHackEd;
* Crosshair;
* Jumping;
PR: ports/61765
Submitted by: Igor Pokrovsky <tiamat@comset.net>
2004-01-23 16:31:16 +01:00
|
|
|
|
2007-06-06 05:41:18 +02:00
|
|
|
.include "${PORTSDIR}/games/doom-data/Makefile.include"
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.mk>
|