ports/61765: New port: games/vavoom Doom, Doom II, Heretic, Hexen and Strife source port
Igor Pokrovsky
tiamat at comset.net
Fri Jan 23 03:20:51 UTC 2004
>Number: 61765
>Category: ports
>Synopsis: New port: games/vavoom Doom, Doom II, Heretic, Hexen and Strife source port
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 22 19:20:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #1: Sun Dec 14 13:12:44 MSK 2003 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
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;
....
>How-To-Repeat:
>Fix:
--- vavoom.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# vavoom
# vavoom/files
# vavoom/files/patch-Makefile
# vavoom/files/patch-source-asm_i386.h
# vavoom/files/patch-source-sys_sdl.cpp
# vavoom/files/patch-source-s_sdl.cpp
# vavoom/pkg-plist
# vavoom/pkg-descr
# vavoom/distinfo
# vavoom/Makefile
# vavoom/pkg-message
#
echo c - vavoom
mkdir -p vavoom > /dev/null 2>&1
echo c - vavoom/files
mkdir -p vavoom/files > /dev/null 2>&1
echo x - vavoom/files/patch-Makefile
sed 's/^X//' >vavoom/files/patch-Makefile << 'END-of-vavoom/files/patch-Makefile'
X--- Makefile.orig Mon Jan 19 18:13:16 2004
X+++ Makefile Mon Jan 19 18:18:12 2004
X@@ -8,7 +8,7 @@
X #DEBUG = 1
X
X # Uncomment to compile using SDL
X-#USE_SDL = 1
X+USE_SDL = 1
X
X # Uncomment to compile without OpenGL driver
X #NOGL = 1
X@@ -60,7 +60,7 @@
X ifdef USE_SDL
X #-- Linux with SDL --
X SYS_OBJS = \
X- obj/cd_linux.o \
X+ obj/cd_none.o \
X obj/d_sdl.o \
X obj/in_sdl.o \
X obj/net_bsd.o \
X@@ -70,7 +70,7 @@
X obj/sys_i386.o \
X obj/sys_sdl.o
X GL_SYS_OBJ = obj/gl_sdl.o
X-LIBS := `sdl-config --libs` -lSDL_mixer -lm -lstdc++
X+LIBS := `${SDL_CONFIG} --libs` -lSDL_mixer -lm -lstdc++
X else
X #-- Linux with Allegro --
X SYS_OBJS = \
X@@ -214,7 +214,7 @@
X ifdef MESAGL
X LIBS := -lMesaGL $(LIBS)
X else
X-LIBS := -lGL $(LIBS)
X+LIBS := -lGL -L${X11BASE}/lib $(LIBS)
X endif
X endif
X
X@@ -308,8 +308,8 @@
X
X # ---------------------------------------
X
X-C_ARGS = -c -W -Wall -march=pentiumpro -ffast-math
X-CPP_ARGS = -c -W -Wall -march=pentiumpro -ffast-math
X+C_ARGS = -c ${CFLAGS} -I${X11BASE}/include `${SDL_CONFIG} --cflags` -W -Wall -ffast-math
X+CPP_ARGS = -c ${CFLAGS} -I${X11BASE}/include `${SDL_CONFIG} --cflags` -W -Wall -ffast-math
X ASM_ARGS = -c -W -Wall -x assembler-with-cpp
X LINK_ARGS = -Wall
X
X@@ -337,7 +337,7 @@
X exe: Vavoom$(EXE)
X
X Vavoom$(EXE): $(OBJ_FILES) $(LIB_FILES)
X- gcc $(LINK_ARGS) -o $@ $^ $(LIBS)
X+ ${CC} $(LINK_ARGS) -o $@ $^ $(LIBS)
X
X suid:
X chown root.root Vavoom
X@@ -347,13 +347,13 @@
X addr2line -e Vavoom -f < crash.txt >> basev/debug.txt
X
X obj/%.o : source/%.c
X- gcc $(C_ARGS) -o $@ $<
X+ ${CC} $(C_ARGS) -o $@ $<
X
X obj/%.o : source/%.cpp source/*.h
X- gcc $(CPP_ARGS) -o $@ $<
X+ ${CC} $(CPP_ARGS) -o $@ $<
X
X obj/%.o : source/%.s source/asm_i386.h
X- gcc $(ASM_ARGS) -o $@ $<
X+ ${CC} $(ASM_ARGS) -o $@ $<
X
X # ---------------------------------------
X
X@@ -370,16 +370,16 @@
X svexe: VavoomSV$(EXE)
X
X VavoomSV$(EXE): $(SV_OBJ_FILES)
X- gcc $(LINK_ARGS) -o $@ $(SV_OBJ_FILES) $(SV_LIBS)
X+ ${CC} $(LINK_ARGS) -o $@ $(SV_OBJ_FILES) $(SV_LIBS)
X
X obj/sv/%.o : source/%.c
X- gcc $(C_ARGS) -DSERVER -o $@ $<
X+ ${CC} $(C_ARGS) -DSERVER -o $@ $<
X
X obj/sv/%.o : source/%.cpp source/*.h
X- gcc $(CPP_ARGS) -DSERVER -o $@ $<
X+ ${CC} $(CPP_ARGS) -DSERVER -o $@ $<
X
X obj/sv/%.o : source/%.s
X- gcc $(ASM_ARGS) -DSERVER -o $@ $<
X+ ${CC} $(ASM_ARGS) -DSERVER -o $@ $<
X
X # ---------------------------------------
X
X@@ -415,11 +415,11 @@
X # ---------------------------------------
X
X ifndef INSTALL
X-INSTALL = ginstall
X+INSTALL = install -c
X endif
X
X ifndef INSTALL_DIR
X-INSTALL_DIR = /usr/local/games/Vavoom
X+INSTALL_DIR = ${DATADIR}
X endif
X
X ifndef INSTALL_GROUP
X@@ -511,8 +511,8 @@
X asm: $(ASM_FILES)
X
X source/%.asm : source/%.s source/asm_i386.h source/gas2tasm.exe
X- gcc -x assembler-with-cpp -E -P -DGAS2TASM $< -o - | source/gas2tasm.exe > $@
X+ ${CC} -x assembler-with-cpp -E -P -DGAS2TASM $< -o - | source/gas2tasm.exe > $@
X
X source/gas2tasm.exe : source/gas2tasm.c
X- gcc -O3 -ffast-math -fomit-frame-pointer -s -o $@ $<
X+ ${CC} -O3 -ffast-math -fomit-frame-pointer -s -o $@ $<
X
END-of-vavoom/files/patch-Makefile
echo x - vavoom/files/patch-source-asm_i386.h
sed 's/^X//' >vavoom/files/patch-source-asm_i386.h << 'END-of-vavoom/files/patch-source-asm_i386.h'
X--- source/asm_i386.h.orig Mon Jan 19 09:45:14 2004
X+++ source/asm_i386.h Mon Jan 19 09:46:32 2004
X@@ -27,13 +27,13 @@
X
X #define USEASM
X
X-#ifdef __linux__
X+#if defined(__linux__) || defined(__FreeBSD__)
X #define C(label) label // ELF format
X #else
X #define C(label) _##label // COFF format
X #endif
X
X-#if !defined GAS2TASM && (defined DJGPP || defined __linux__)
X+#if !defined GAS2TASM && (defined DJGPP || defined __linux__ || defined __FreeBSD__)
X #define Align4 .p2align 2
X #define Align8 .p2align 3
X #define Align16 .p2align 4
END-of-vavoom/files/patch-source-asm_i386.h
echo x - vavoom/files/patch-source-sys_sdl.cpp
sed 's/^X//' >vavoom/files/patch-source-sys_sdl.cpp << 'END-of-vavoom/files/patch-source-sys_sdl.cpp'
X--- source/sys_sdl.cpp.orig Wed Jan 21 15:22:13 2004
X+++ source/sys_sdl.cpp Wed Jan 21 15:29:23 2004
X@@ -45,7 +45,7 @@
X
X // EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
X
X-#ifdef __i386__
X+#if defined(__i386__)
X extern "C" {
X
X void Sys_SetFPCW(void);
X@@ -61,8 +61,10 @@
X
X // PUBLIC DATA DEFINITIONS -------------------------------------------------
X
X+#ifndef __FreeBSD__
X jmp_buf __Context::Env;
X const char* __Context::ErrToThrow;
X+#endif
X
X // PRIVATE DATA DEFINITIONS ------------------------------------------------
X
X@@ -256,6 +258,7 @@
X
X void Sys_MakeCodeWriteable(unsigned long startaddr, unsigned long length)
X {
X+#ifndef __FreeBSD__
X int r;
X unsigned long addr;
X int psize = getpagesize();
X@@ -268,6 +271,7 @@
X {
X Sys_Error("Protection change failed\n");
X }
X+#endif
X }
X
X //**************************************************************************
X@@ -726,6 +730,7 @@
X {
X signal(s, SIG_IGN); // Ignore future instances of this signal.
X
X+#ifndef __FreeBSD__
X switch (s)
X {
X case SIGABRT:
X@@ -756,6 +761,27 @@
X __Context::ErrToThrow = "Terminated by signal";
X }
X longjmp(__Context::Env, 1);
X+#else
X+ switch (s)
X+ {
X+ case SIGABRT: throw VavoomError("Abnormal termination triggered by abort call");
X+ case SIGFPE: throw VavoomError("Floating Point Exception");
X+ case SIGILL: throw VavoomError("Illegal Instruction");
X+ case SIGINT: throw VavoomError("Interrupted by User");
X+ case SIGSEGV: throw VavoomError("Segmentation Violation");
X+ case SIGTERM: throw VavoomError("Software termination signal from kill");
X+#ifdef SIGKILL
X+ case SIGKILL: throw VavoomError("Killed");
X+#endif
X+#ifdef SIGQUIT
X+ case SIGQUIT: throw VavoomError("Quited");
X+#endif
X+#ifdef SIGNOFP
X+ case SIGNOFP: throw VavoomError("VAVOOM requires a floating-point processor");
X+#endif
X+ default: throw VavoomError("Terminated by signal");
X+ }
X+#endif
X }
X
X //==========================================================================
END-of-vavoom/files/patch-source-sys_sdl.cpp
echo x - vavoom/files/patch-source-s_sdl.cpp
sed 's/^X//' >vavoom/files/patch-source-s_sdl.cpp << 'END-of-vavoom/files/patch-source-s_sdl.cpp'
X--- source/s_sdl.cpp.orig Sat Mar 8 14:08:04 2003
X+++ source/s_sdl.cpp Wed Jan 21 15:41:52 2004
X@@ -82,8 +82,8 @@
X
X IMPLEMENT_CLASS(VDefaultSoundDevice);
X
X-static TCvarI mix_frequency ("mix_frequency", "22050", CVAR_ARCHIVE);
X-static TCvarI mix_bits ("mix_bits", "16", CVAR_ARCHIVE);
X+static TCvarI mix_frequency ("mix_frequency", "44100", CVAR_ARCHIVE);
X+static TCvarI mix_bits ("mix_bits", "8", CVAR_ARCHIVE);
X static TCvarI mix_channels ("mix_channels", "2", CVAR_ARCHIVE);
X
X static TCvarI mix_chunksize ("mix_chunksize", "4096", CVAR_ARCHIVE);
X@@ -107,6 +107,8 @@
X static TVec listener_forward;
X static TVec listener_right;
X static TVec listener_up;
X+
X+SDL_AudioCVT wavecvt;
X
X // CODE --------------------------------------------------------------------
X
X@@ -337,6 +339,12 @@
X mix_bits = fmt & 0xFF;
X mix_channels = ch;
X
X+ if (SDL_BuildAudioCVT(&wavecvt, AUDIO_S8, 2, 4096,
X+ fmt, mix_channels, mix_frequency) == -1) {
X+ Sys_Error("SDL_BuildAudioCVT: failed.\n");
X+ return;
X+ }
X+
X channels = Z_CNew<channel_t>(mix_voices);
X for (i = 0; i < mix_voices; i++)
X {
X@@ -425,13 +433,23 @@
X return;
X }
X
X- // copy the lump to a SDL_Mixer chunk...
X- chunk = Mix_LoadRAW_RW(SDL_RWFromMem((void*)S_sfx[sound_id].data,
X- S_sfx[sound_id].len), 0, S_sfx[sound_id].freq, AUDIO_U8, 1);
X- if (chunk == NULL)
X- Sys_Error("Mix_LoadRAW_RW() failed!\n");
X- voice = Mix_LoadChannel(-1, chunk, 0);
X-
X+ wavecvt.len = S_sfx[sound_id].len;
X+ wavecvt.buf = (Uint8*)malloc(wavecvt.len*wavecvt.len_mult);
X+ memcpy(wavecvt.buf, S_sfx[sound_id].data, S_sfx[sound_id].len);
X+
X+ if (SDL_ConvertAudio(&wavecvt) == -1) {
X+ Sys_Error("SDL_ConvertAudio: error during conversion\n");
X+ return;
X+ }
X+
X+ // copy the lump to a SDL_Mixer chunk...
X+ chunk = Mix_QuickLoad_RAW((Uint8*)wavecvt.buf,
X+ wavecvt.len*wavecvt.len_mult);
X+ if (chunk == NULL)
X+ Sys_Error("Mix_QuickLoad_RAW() failed!\n");
X+
X+ voice = Mix_PlayChannel(-1, chunk, 0);
X+
X if (voice < 0)
X {
X S_DoneWithLump(sound_id);
X@@ -448,9 +466,6 @@
X pitch = CalcPitch(S_sfx[sound_id].freq, sound_id);
X #warning how to set the pitch? (CS)
X
X- // ready to go...
X- Mix_Play(voice);
X-
X channels[chan].origin_id = origin_id;
X channels[chan].origin = origin;
X channels[chan].channel = channel;
X@@ -501,22 +516,28 @@
X return;
X }
X
X- // copy the lump to a SDL_Mixer chunk...
X- chunk = Mix_LoadRAW_RW(SDL_RWFromMem((void*)S_VoiceInfo.data,
X- S_VoiceInfo.len), 0, S_VoiceInfo.freq, AUDIO_U8, 1);
X- if (chunk == NULL)
X- Sys_Error("Mix_LoadRAW_RW() failed!\n");
X- voice = Mix_LoadChannel(-1, chunk, 0);
X-
X+ wavecvt.len = S_sfx[VOICE_SOUND_ID].len;
X+ wavecvt.buf = (Uint8*)malloc(wavecvt.len*wavecvt.len_mult);
X+ memcpy(wavecvt.buf, S_sfx[VOICE_SOUND_ID].data, S_sfx[VOICE_SOUND_ID].len);
X+
X+ if (SDL_ConvertAudio(&wavecvt) == -1) {
X+ Sys_Error("SDL_ConvertAudio: error during conversion\n");
X+ return;
X+ }
X+ // copy the lump to a SDL_Mixer chunk...
X+ chunk = Mix_QuickLoad_RAW((Uint8*)wavecvt.buf,
X+ wavecvt.len*wavecvt.len_mult);
X+ if (chunk == NULL)
X+ Sys_Error("Mix_QuickLoad_RAW() failed!\n");
X+
X+ voice = Mix_PlayChannel(-1, chunk, 0);
X+
X if (voice < 0)
X {
X S_DoneWithLump(VOICE_SOUND_ID);
X return;
X }
X
X- // ready to go...
X- Mix_Play(voice);
X-
X channels[chan].origin_id = 0;
X channels[chan].origin = TVec(0, 0, 0);
X channels[chan].channel = 1;
X@@ -558,19 +579,26 @@
X return;
X }
X
X- chunk = Mix_LoadRAW_RW(SDL_RWFromMem((void*)S_sfx[sound_id].data,
X- S_sfx[sound_id].len), 0, S_sfx[sound_id].freq, AUDIO_U8, 1);
X- if (chunk == NULL)
X- Sys_Error("Mix_LoadRAW_RW() failed!\n");
X-
X- voice = Mix_LoadChannel(-1, chunk, 0);
X+ wavecvt.len = S_sfx[sound_id].len;
X+ wavecvt.buf = (Uint8*)malloc(wavecvt.len*wavecvt.len_mult);
X+ memcpy(wavecvt.buf, S_sfx[sound_id].data, S_sfx[sound_id].len);
X+
X+ if (SDL_ConvertAudio(&wavecvt) == -1) {
X+ Sys_Error("SDL_ConvertAudio: error during conversion\n");
X+ return;
X+ }
X+ // copy the lump to a SDL_Mixer chunk...
X+ chunk = Mix_QuickLoad_RAW((Uint8*)wavecvt.buf,
X+ wavecvt.len*wavecvt.len_mult);
X+ if (chunk == NULL)
X+ Sys_Error("Mix_QuickLoad_RAW() failed!\n");
X+
X+ voice = Mix_PlayChannel(-1, chunk, 0);
X
X if (voice < 0)
X {
X return;
X }
X-
X- Mix_Play(voice);
X
X start = Sys_Time();
X while (1)
END-of-vavoom/files/patch-source-s_sdl.cpp
echo x - vavoom/pkg-plist
sed 's/^X//' >vavoom/pkg-plist << 'END-of-vavoom/pkg-plist'
Xbin/Vavoom
Xbin/VavoomSV
X%%DATADIR%%/basev/doom/wad0.wad
X at dirrm %%DATADIR%%/basev/doom
X%%DATADIR%%/basev/doom1/base.txt
X%%DATADIR%%/basev/doom1/wad0.wad
X at dirrm %%DATADIR%%/basev/doom1
X%%DATADIR%%/basev/doom2/base.txt
X%%DATADIR%%/basev/doom2/wad0.wad
X at dirrm %%DATADIR%%/basev/doom2
X%%DATADIR%%/basev/heretic/wad0.wad
X at dirrm %%DATADIR%%/basev/heretic
X%%DATADIR%%/basev/hexen/wad0.wad
X at dirrm %%DATADIR%%/basev/hexen
X%%DATADIR%%/basev/plutonia/base.txt
X%%DATADIR%%/basev/plutonia/wad0.wad
X at dirrm %%DATADIR%%/basev/plutonia
X%%DATADIR%%/basev/strife/wad0.wad
X at dirrm %%DATADIR%%/basev/strife
X%%DATADIR%%/basev/tnt/base.txt
X%%DATADIR%%/basev/tnt/wad0.wad
X at dirrm %%DATADIR%%/basev/tnt
X%%DATADIR%%/basev/default.cfg
X%%DATADIR%%/basev/games.txt
X%%DATADIR%%/basev/startup.vs
X at dirrm %%DATADIR%%/basev
X at dirrm %%DATADIR%%
X%%PORTDOCS%%%%DOCSDIR%%/vavmref.txt
X%%PORTDOCS%%%%DOCSDIR%%/vavoom.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-vavoom/pkg-plist
echo x - vavoom/pkg-descr
sed 's/^X//' >vavoom/pkg-descr << 'END-of-vavoom/pkg-descr'
XVavoom is a source port based on sources of Doom, Heretic, Hexen
Xand a little bit from Quake. To play Vavoom you need main wad file
Xfrom Doom, Ultimate Doom, Doom II, Heretic, Hexen or Strife.
X
XDifferences from original game:
X* Polygonal engine with colored lighting, with software mode, OpenGL support;
X* Translucency;
X* Complete support for freelook (look up & down) in all games;
X* A powerful language to describe game logic;
X* 100% client/server architecture with in-game joining;
X* Quake-style console, with key bindings;
X* Indirect support for DeHackEd;
X* Crosshair;
X* Jumping;
X....
X
XNo music support is available in SDL compiled version at the moment.
XSound effects are 8 bit, 44100KHz, stereo.
X
XWWW: http://www.vavoom-engine.com/
X
X- Igor Pokrovsky
Xtiamat at comset.net
END-of-vavoom/pkg-descr
echo x - vavoom/distinfo
sed 's/^X//' >vavoom/distinfo << 'END-of-vavoom/distinfo'
XMD5 (v115_1_src.zip) = 58a9fad8ec2168b12fe7154ebbee04ad
END-of-vavoom/distinfo
echo x - vavoom/Makefile
sed 's/^X//' >vavoom/Makefile << 'END-of-vavoom/Makefile'
X# New ports collection makefile for: vavoom
X# Date created: 18 Jan 2004
X# Whom: Igor Pokrovsky <tiamat at comset.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= vavoom
XPORTVERSION= 1.15.1
XCATEGORIES= games
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= v115_1_src
X
XMAINTAINER= tiamat at comset.net
XCOMMENT= Doom, Doom II, Heretic, Hexen and Strife source port
X
XLIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
X.ifdef (WITH_OPENAL)
XLIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
X.endif
X
XUSE_ZIP= yes
XUSE_GMAKE= yes
XUSE_REINPLACE= yes
XUSE_SDL= yes
XUSE_GL= yes
XALL_TARGET= all sv
XONLY_FOR_ARCHS= i386
X
XEXTRACT_AFTER_ARGS= -d ${WRKSRC}
X
X.ifdef (WITH_OPENAL)
XMAKE_ARGS= "USE_AL=1"
X.endif
X
X.ifndef (WITH_OPENAL)
Xpre-everything::
X @${ECHO_CMD} "********************************************************************"
X @${ECHO_CMD} "You can define WITH_OPENAL=yes to build Vavoom with 3D sound support"
X @${ECHO_CMD} "********************************************************************"
X.endif
X
Xpost-patch:
X cd ${WRKSRC} && ${SH} ${WRKSRC}/fixunix.sh
X @${REINPLACE_CMD} -e 's|SDL\/||g' ${WRKSRC}/source/*.cpp
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/Vavoom ${PREFIX}/bin
X ${INSTALL_PROGRAM} ${WRKSRC}/VavoomSV ${PREFIX}/bin
X
X @${MKDIR} ${DATADIR}
X @${MKDIR} ${DATADIR}/basev
X ${INSTALL_DATA} ${WRKSRC}/basev/default.cfg ${DATADIR}/basev
X ${INSTALL_DATA} ${WRKSRC}/basev/startup.vs ${DATADIR}/basev
X ${INSTALL_DATA} ${WRKSRC}/basev/games.txt ${DATADIR}/basev
X.for i in doom heretic hexen strife
X @${MKDIR} ${DATADIR}/basev/${i}
X ${INSTALL_DATA} ${WRKSRC}/basev/${i}/wad0.wad ${DATADIR}/basev/${i}
X.endfor
X.for i in doom1 doom2 tnt plutonia
X @${MKDIR} ${DATADIR}/basev/${i}
X ${INSTALL_DATA} ${WRKSRC}/basev/${i}/wad0.wad ${DATADIR}/basev/${i}
X ${INSTALL_DATA} ${WRKSRC}/basev/${i}/base.txt ${DATADIR}/basev/${i}
X.endfor
X
X.ifndef (NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/docs/vavmref.txt ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${DOCSDIR}
X.endif
X
Xpost-install:
X @${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%DATADIR%%|${DATADIR}|' \
X <${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-vavoom/Makefile
echo x - vavoom/pkg-message
sed 's/^X//' >vavoom/pkg-message << 'END-of-vavoom/pkg-message'
X*****************************************************************************
X* In order to run Vavoom you will need original IWAD file from either:
X* Doom, Doom II, TNT, Plutonia, Heretic, Hexen or Strife.
X*
X* Manually do the following:
X* 1. Make directory for Vavoom data
X* mkdir ${HOME}/vavoom
X* 2. Copy Vavoom data into this directory
X* cp -r %%DATADIR%%/basev ${HOME}/vavoom
X* 3. Copy IWAD from original game here as well
X* cp /where/is/doom.wad ${HOME}/vavoom
X* 4. Execute Vavoom from directory with game data
X* cd ${HOME}/vavoom && %%PREFIX%%/bin/Vavoom -opengl
X* or
X* cd ${HOME}/vavoom && %%PREFIX%%/bin/Vavoom -opengl -openal
X* if you compiled Vavoom with OpenAL support
X*****************************************************************************
END-of-vavoom/pkg-message
exit
--- vavoom.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list