Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 22:58:12 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311190 - in head/games: . chocolate-doom chocolate-doom/files
Message-ID:  <201301292258.r0TMwCJW085595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Tue Jan 29 22:58:11 2013
New Revision: 311190
URL: http://svnweb.freebsd.org/changeset/ports/311190

Log:
  - add new port: games/chocolate-doom
  
  Chocolate Doom is a port of ID Software's Doom, Doom II, and Final Doom to
  modern operating systems that aims to be as compatible with the original DOS
  executable as possible. This includes emulating all the different versions,
  playing demos perfectly accurately, playing "vanilla-only" PWADS, and netcode
  that works on newer operating systems while still behaving the same as
  "vanilla" Doom.
  
  WWW: http://chocolate-doom.org
  
  PR:		161701
  Submitted by:	jakub_lach@mailplus.pl

Added:
  head/games/chocolate-doom/
  head/games/chocolate-doom/Makefile   (contents, props changed)
  head/games/chocolate-doom/distinfo   (contents, props changed)
  head/games/chocolate-doom/files/
  head/games/chocolate-doom/files/patch-d__iwad.c   (contents, props changed)
  head/games/chocolate-doom/pkg-descr   (contents, props changed)
  head/games/chocolate-doom/pkg-message   (contents, props changed)
  head/games/chocolate-doom/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Jan 29 22:39:14 2013	(r311189)
+++ head/games/Makefile	Tue Jan 29 22:58:11 2013	(r311190)
@@ -126,6 +126,7 @@
     SUBDIR += cgoban
     SUBDIR += chanta
     SUBDIR += chapping
+    SUBDIR += chocolate-doom
     SUBDIR += cheech
     SUBDIR += childsplay
     SUBDIR += childsplay_plugins

Added: head/games/chocolate-doom/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/Makefile	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	chocolate-doom
+PORTVERSION=	1.7.0
+CATEGORIES=	games
+MASTER_SITES=	SF
+
+MAINTAINER=	jakub_lach@mailplus.pl
+COMMENT=	Doom port that aims to be compatible with the original exe
+
+LICENSE=	GPLv2
+
+USE_GMAKE=	yes
+USE_SDL=	mixer net sdl
+USE_PYTHON=	2.5+
+MAKE_JOBS_SAFE=	yes
+GNU_CONFIGURE=	yes
+
+MAN5=		chocolate-doom.cfg.5 default.cfg.5
+MAN6=		chocolate-doom.6 chocolate-server.6 chocolate-setup.6
+PORTDOCS=	CMDLINE ChangeLog HACKING INSTALL NEWS NOT-BUGS README README.OPL
+
+.include "${.CURDIR}/../doom-data/Makefile.include"
+
+.include <bsd.port.options.mk>
+
+post-patch-script:
+	${REINPLACE_CMD} -e 's|gamesdir = $$(prefix)/games|gamesdir = $$(prefix)/bin|' \
+		${WRKSRC}/src/Makefile.in ${WRKSRC}/setup/Makefile.in
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/HACKING ${DOCSDIR}
+	@${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>

Added: head/games/chocolate-doom/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/distinfo	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,2 @@
+SHA256 (chocolate-doom-1.7.0.tar.gz) = c1cffb602e3cc3a82941b4675b9dc816a6e419076faf8f54db46df397f86bfc0
+SIZE (chocolate-doom-1.7.0.tar.gz) = 1091798

Added: head/games/chocolate-doom/files/patch-d__iwad.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/files/patch-d__iwad.c	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,12 @@
+--- src/d_iwad.c	2011-05-17 16:01:48.000000000 -0700
++++ src/d_iwad.c	2011-10-15 11:30:26.998495197 -0700
+@@ -559,8 +559,7 @@
+ 
+     // Standard places where IWAD files are installed under Unix.
+ 
+-    AddIWADDir("/usr/share/games/doom");
+-    AddIWADDir("/usr/local/share/games/doom");
++    AddIWADDir("/usr/local/share/doom");
+ 
+ #endif
+ 

Added: head/games/chocolate-doom/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/pkg-descr	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,8 @@
+Chocolate Doom is a port of ID Software's Doom, Doom II, and Final Doom to
+modern operating systems that aims to be as compatible with the original DOS
+executable as possible. This includes emulating all the different versions,
+playing demos perfectly accurately, playing "vanilla-only" PWADS, and netcode
+that works on newer operating systems while still behaving the same as
+"vanilla" Doom.
+
+WWW: http://chocolate-doom.org

Added: head/games/chocolate-doom/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/pkg-message	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,6 @@
+**************************************************************
+
+To enable OPL MIDI emulation you need to run chocolate-setup,
+default Native MIDI is very similar to Roland SC-55.
+
+**************************************************************

Added: head/games/chocolate-doom/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/chocolate-doom/pkg-plist	Tue Jan 29 22:58:11 2013	(r311190)
@@ -0,0 +1,11 @@
+share/icons/chocolate-doom.png
+share/icons/chocolate-setup.png
+share/applications/chocolate-doom.desktop
+share/applications/screensavers/chocolate-doom-screensaver.desktop
+share/applications/chocolate-setup.desktop
+bin/chocolate-doom
+bin/chocolate-server
+bin/chocolate-setup
+@dirrmtry share/icons
+@dirrmtry share/applications/screensavers
+@dirrmtry share/applications



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301292258.r0TMwCJW085595>