Chocolate Doom is a portable branch of the classic doom.exe experience

from the days of DOS. The author, Simon Howard, has worked to insure 
Chocolate Doom, which is nothing more than a directly modified version
of the released iD Software source code, has zero changes that affect
gameplay, look, or feel, and also re-created a DOS-like setup program to
configure the game much like the original setup.exe.

from MAINTAINER Ryan Freeman
This commit is contained in:
phessler 2009-06-05 21:58:43 +00:00
parent 395862c022
commit 1b6f073be1
7 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/05 21:58:43 phessler Exp $
COMMENT = portable version of iD Software's Doom
DISTNAME = chocolate-doom-1.2.1
CATEGORIES = games x11
HOMEPAGE = http://www.chocolate-doom.org/
MAINTAINER = Ryan Freeman <ryan@slipgate.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = SDL c m pthread
LIB_DEPENDS = SDL_mixer.>=3::devel/sdl-mixer \
SDL_net.>=1::devel/sdl-net \
samplerate.>=1::audio/libsamplerate
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=chocolate-doom/}
USE_X11 = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS+ = --without-python
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/games/doom/
${INSTALL_MAN} ${WRKBUILD}/man/chocolate-doom.cfg.5 \
${PREFIX}/man/man5/
${INSTALL_MAN} ${WRKBUILD}/man/default.cfg.5 \
${PREFIX}/man/man5/
${INSTALL_MAN} ${WRKBUILD}/man/chocolate-doom.6 \
${PREFIX}/man/man6/
${INSTALL_MAN} ${WRKBUILD}/man/chocolate-server.6 \
${PREFIX}/man/man6/
${INSTALL_MAN} ${WRKBUILD}/man/chocolate-setup.6 \
${PREFIX}/man/man6/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (chocolate-doom-1.2.1.tar.gz) = 3wTDgANO/3iea57hwBZJdw==
RMD160 (chocolate-doom-1.2.1.tar.gz) = JACmlVqKRSlHJXB5Mo5ESAHD0vc=
SHA1 (chocolate-doom-1.2.1.tar.gz) = OygCwPiosCvJxCXt4KE6qf0TFNc=
SHA256 (chocolate-doom-1.2.1.tar.gz) = /61QqEf3B+pch4RNvZwTOebS0YK7XPbm9infQg9mKcE=
SIZE (chocolate-doom-1.2.1.tar.gz) = 664600

View File

@ -0,0 +1,11 @@
--- setup/Makefile.in.orig Wed Dec 10 21:29:26 2008
+++ setup/Makefile.in Wed Dec 10 21:28:32 2008
@@ -170,7 +170,7 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-gamesdir = $(prefix)/games
+gamesdir = $(prefix)/bin
AM_CFLAGS = -I../textscreen -I../src -DINSTALL_DIR="\"$(gamesdir)\""
SOURCE_FILES = \
compatibility.c compatibility.h \

View File

@ -0,0 +1,11 @@
--- src/Makefile.in.orig Wed Dec 10 21:27:14 2008
+++ src/Makefile.in Wed Dec 10 21:27:39 2008
@@ -239,7 +239,7 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-gamesdir = $(prefix)/games
+gamesdir = $(prefix)/bin
AM_CFLAGS = -I../textscreen -I../pcsound @SDLMIXER_CFLAGS@ @SDLNET_CFLAGS@
DEDSERV_FILES = \
d_dedicated.c \

View File

@ -0,0 +1,21 @@
Chocolate Doom is a portable branch of the classic doom.exe experience
from the days of DOS. The author, Simon Howard, has worked to insure
Chocolate Doom, which is nothing more than a directly modified version
of the released iD Software source code, has zero changes that affect
gameplay, look, or feel, and also re-created a DOS-like setup program to
configure the game much like the original setup.exe.
Chocolate Doom provides:
chocolate-doom - the game
chocolate-setup - the game setup program
chocolate-server - server for up to 4-player net games
Due to the port re-implimenting the original game as closely as
possible, all original game PWADs and demos work flawlessly. Other
original features include a PC-speaker driver written with OpenBSD in
mind, just like the DOS PC-speaker driver, and a working -left and
-right network command parameter system for the 'surround display' setup
that was obtainable with the original DOS executables over an IPX
network.
Check the chocolate-*(6) manpages for additional information.

View File

@ -0,0 +1,15 @@
To play the game you will need an original Doom, Ultimate Doom, Doom II
or Final Doom IWAD. Place the doom.wad, doom2.wad, plutonia.wad,
tnt.wad, or all of the above in ${PREFIX}/share/games/doom/ to play.
If multiple IWADs are installed, you may specify the one you want to
play via the -iwad command-line parameter e.g.
$ chocolate-doom -iwad doom.wad
The Shareware IWAD is available in games/doomdata.
Run `chocolate-setup' to generate a configuration file to your liking.
If you would like to enjoy the classic in-game Doom music, you may
install audio/timidity and Chocolate Doom will automatically make use
of it at runtime, no recompilation required. Be sure that the music is
enabled within chocolate-setup.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/05 21:58:43 phessler Exp $
@bin bin/chocolate-doom
@bin bin/chocolate-server
@bin bin/chocolate-setup
@man man/man5/chocolate-doom.cfg.5
@man man/man5/default.cfg.5
@man man/man6/chocolate-doom.6
@man man/man6/chocolate-server.6
@man man/man6/chocolate-setup.6
share/games/
share/games/doom/