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
|
2005-05-04 14:42:28 +02:00
|
|
|
PORTVERSION= 1.17
|
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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-05-04 14:42:28 +02:00
|
|
|
DISTNAME= v${PORTVERSION:S/.//}_src
|
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
|
|
|
|
2004-07-21 19:47:52 +02:00
|
|
|
MAINTAINER= ip@doom.homeunix.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
|
|
|
|
|
2005-05-04 14:42:28 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
|
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
|
|
|
.ifdef (WITH_OPENAL)
|
|
|
|
LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
|
|
|
|
.endif
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_SDL= mixer sdl
|
|
|
|
USE_GL= yes
|
|
|
|
ALL_TARGET= all sv
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
2005-05-04 14:42:28 +02:00
|
|
|
MAKE_ARGS= "USE_SDL=1"
|
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
|
|
|
|
|
|
|
.ifdef (WITH_OPENAL)
|
2005-05-04 14:42:28 +02:00
|
|
|
MAKE_ARGS+= "USE_AL=1"
|
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
|
|
|
|
|
2005-11-17 13:00:51 +01:00
|
|
|
.ifdef (WITH_OPTIMIZED_CFLAGS)
|
|
|
|
MAKE_ARGS+= OPT_CFLAGS="-O3 -ffast-math -fomit-frame-pointer"
|
2005-05-06 19:51:03 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-17 13:00:51 +01:00
|
|
|
SUB_FILES= pkg-message vavoom
|
|
|
|
SUB_LIST= "PREFIX=${PREFIX}" "PORTSDIR=${PORTSDIR}"
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../doom-data/Makefile.include"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
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
|
|
|
pre-everything::
|
2005-11-17 13:00:51 +01:00
|
|
|
@${ECHO_CMD} ""
|
|
|
|
.ifndef (WITH_OPENAL)
|
|
|
|
@${ECHO_CMD} "Define WITH_OPENAL=yes to build Vavoom with 3D sound support"
|
|
|
|
.endif
|
|
|
|
.ifndef (WITH_OPTIMIZED_CFLAGS)
|
|
|
|
@${ECHO_CMD} "Define WITH_OPTIMIZED_CFLAGS=yes to build Vavoom optimized for speed"
|
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
|
2005-11-17 13:00:51 +01: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
|
|
|
|
|
|
|
post-patch:
|
2005-05-04 14:42:28 +02:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's|SDL\/||g' ${WRKSRC}/source/*.cpp
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
|
|
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/utils/acc/parse.c \
|
|
|
|
${WRKSRC}/utils/acc/strlist.c
|
|
|
|
.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
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Vavoom ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/VavoomSV ${PREFIX}/bin
|
|
|
|
|
2005-11-17 13:00:51 +01:00
|
|
|
# install wrapper script
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/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
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${MKDIR} ${DATADIR}/basev
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/default.cfg ${DATADIR}/basev
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/startup.vs ${DATADIR}/basev
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/games.txt ${DATADIR}/basev
|
|
|
|
.for i in doom heretic hexen strife
|
|
|
|
@${MKDIR} ${DATADIR}/basev/${i}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/${i}/wad0.wad ${DATADIR}/basev/${i}
|
|
|
|
.endfor
|
|
|
|
.for i in doom1 doom2 tnt plutonia
|
|
|
|
@${MKDIR} ${DATADIR}/basev/${i}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/${i}/wad0.wad ${DATADIR}/basev/${i}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/basev/${i}/base.txt ${DATADIR}/basev/${i}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/vavmref.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${DOCSDIR}
|
|
|
|
.endif
|
2005-11-17 13:00:51 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
# Run this target as a user from which you will play Vavoom. It will create
|
|
|
|
# required symlinks in users home directory. This should be done only once.
|
|
|
|
installuser:
|
|
|
|
cd ${DATADIR} && \
|
|
|
|
${FIND} . -type d -exec ${MKDIR} -p ~/.${PORTNAME}/{} \; && \
|
|
|
|
${FIND} . -type f -exec ${LN} -sf ${DATADIR}/{} ~/.${PORTNAME}/{} \;
|
|
|
|
.if exists(${DMDIR})
|
|
|
|
cd ${DMDIR} && \
|
|
|
|
${FIND} . -type d -exec ${MKDIR} -p ~/.${PORTNAME}/{} \; && \
|
|
|
|
${FIND} . -type f -exec ${LN} -sf ${DMDIR}/{} ~/.${PORTNAME}/{} \;
|
|
|
|
.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
|
|
|
|
2004-09-29 07:45:34 +02:00
|
|
|
.include <bsd.port.post.mk>
|