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
|
|
|
# New ports collection makefile for: vavoom
|
|
|
|
# Date created: 18 Jan 2004
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vavoom
|
2011-01-08 22:01:23 +01:00
|
|
|
PORTVERSION= 1.33
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2011-03-03 00:59:52 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
|
|
|
COMMENT= Doom, Doom II, Heretic, Hexen and Strife source port
|
|
|
|
|
2010-02-05 12:46:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2012-06-01 07:26:28 +02:00
|
|
|
png15:${PORTSDIR}/graphics/png
|
2005-05-04 14:42:28 +02:00
|
|
|
|
2005-12-12 22:03:34 +01:00
|
|
|
USE_BZIP2= yes
|
2008-05-28 00:12:09 +02:00
|
|
|
USE_CMAKE= 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
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
OPTIONS= ALLEGRO "Use Allegro for hardware API" off \
|
|
|
|
FLAC "Enable FLAC support" off \
|
2007-12-12 06:20:45 +01:00
|
|
|
LAUNCHER "Build GUI launcher" on \
|
2006-09-09 18:41:47 +02:00
|
|
|
LIBMAD "Enable MP3 support" off \
|
|
|
|
MIKMOD "Enable MikMod support" off \
|
|
|
|
OPENAL "Enable OpenAL support" off \
|
|
|
|
OPENGL "Enable OpenGL support" on \
|
|
|
|
OPTIMIZED_CFLAGS "Enable compilation optimizations" off \
|
|
|
|
VORBIS "Enable Ogg Vorbis support" off \
|
2009-10-14 15:34:06 +02:00
|
|
|
SDL "Use SDL for hardware API" on \
|
|
|
|
WXUNICODE "Enable Unicode support" on
|
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
|
|
|
|
|
|
|
.include <bsd.port.pre.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
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if !defined(WITH_ALLEGRO) && !defined(WITH_SDL)
|
|
|
|
IGNORE= needs ALLEGRO or SDL for hardware API
|
2005-12-12 22:03:34 +01:00
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_ALLEGRO) && defined(WITH_SDL)
|
|
|
|
IGNORE= selected conflicting options ALLEGRO and SDL
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_ALLEGRO)
|
2008-04-24 18:41:23 +02:00
|
|
|
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
|
|
|
|
CMAKE_ARGS+= -DWITH_ALLEGRO=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_ALLEGRO=N
|
2006-09-11 20:20:12 +02:00
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_FLAC)
|
2008-04-07 22:37:23 +02:00
|
|
|
LIB_DEPENDS+= FLAC.10:${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
|
|
|
|
|
2007-12-12 06:20:45 +01:00
|
|
|
.if defined(WITH_LAUNCHER)
|
|
|
|
USE_WX= 2.4+
|
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
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_LIBMAD)
|
|
|
|
LIB_DEPENDS+= mad.2:${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
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_MIKMOD)
|
|
|
|
LIB_DEPENDS+= mikmod.2:${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
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_OPENAL)
|
2010-01-25 20:15:18 +01:00
|
|
|
USE_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
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_OPENGL)
|
|
|
|
USE_GL= yes
|
2008-04-24 18:41:23 +02:00
|
|
|
. if defined(WITH_ALLEGRO)
|
|
|
|
LIB_DEPENDS+= agl.0:${PORTSDIR}/graphics/allegrogl
|
|
|
|
BROKEN= please use SDL instead of ALLEGRO, for OPENGL support
|
|
|
|
. endif
|
|
|
|
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_OPENGL=N
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
2006-01-02 10:26:41 +01:00
|
|
|
.endif
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_VORBIS)
|
2007-07-28 14:27:31 +02:00
|
|
|
LIB_DEPENDS+= vorbis.4:${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
|
|
|
|
|
2006-09-09 18:41:47 +02:00
|
|
|
.if defined(WITH_SDL)
|
|
|
|
USE_SDL= mixer sdl
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_SDL=Y
|
2006-09-09 18:41:47 +02:00
|
|
|
.else
|
2008-04-24 18:41:23 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_SDL=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
|
|
|
|
|
2009-10-14 15:34:06 +02:00
|
|
|
.if !defined(WITHOUT_WXUNICODE)
|
|
|
|
WX_UNICODE=yes
|
|
|
|
.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:
|
2006-09-09 18:41:47 +02:00
|
|
|
@cd ${WRKSRC} && ${SH} fixunix.sh
|
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:
|
|
|
|
.if defined(WITH_LAUNCHER)
|
|
|
|
@${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:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${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
|
2006-09-09 18:41:47 +02:00
|
|
|
@${ECHO_CMD}
|
2005-11-17 13:00:51 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-09-09 18:41:47 +02:00
|
|
|
@${ECHO_CMD}
|
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"
|
|
|
|
|
2004-09-29 07:45:34 +02:00
|
|
|
.include <bsd.port.post.mk>
|