--- /dev/null
+# ChangeLog for games-simulation/dangerdeep
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.1 2007/01/04 04:37:35 mr_bones_ Exp $
+
+*dangerdeep-0.2.0 (04 Jan 2007)
+
+ 04 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/dangerdeep-0.2.0-build.patch, +metadata.xml,
+ +dangerdeep-0.2.0.ebuild:
+ initial commit - ebuild submitted by Bernard Cafarelli via bug #130023
+
--- /dev/null
+AUX dangerdeep-0.2.0-build.patch 339 RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd SHA1 d7407c7fb8251833d6604fc1e24e71b869311e86 SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb
+MD5 dc7edf21133c2b24945e6de142358f36 files/dangerdeep-0.2.0-build.patch 339
+RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd files/dangerdeep-0.2.0-build.patch 339
+SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb files/dangerdeep-0.2.0-build.patch 339
+DIST dangerdeep-0.2.0.tar.gz 3854086 RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 SHA1 e47bfd98031e024cd6881827c285ef27ccb367c0 SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452
+DIST dangerdeep-data-0.2.0.zip 54163740 RMD160 0dc8439356239779522a841764235e0f6d682ffc SHA1 a790603387829399143dcdadbcae9481effa0d71 SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10
+EBUILD dangerdeep-0.2.0.ebuild 1517 RMD160 69c7fa35f8b801110e4b710d7160f71ddaf0e5c4 SHA1 ec26ca05691f538120d7badb475c4792ece406bb SHA256 784675732021f6c3e7658a1eb150f192d544c17360c98291de395121b6f05cab
+MD5 3919b5e367f25ca71358b70d24389a22 dangerdeep-0.2.0.ebuild 1517
+RMD160 69c7fa35f8b801110e4b710d7160f71ddaf0e5c4 dangerdeep-0.2.0.ebuild 1517
+SHA256 784675732021f6c3e7658a1eb150f192d544c17360c98291de395121b6f05cab dangerdeep-0.2.0.ebuild 1517
+MISC ChangeLog 474 RMD160 b5ebf6abb51daad806d7d0f0e6b334561566bd35 SHA1 3271369fdd4f3f3cca199d6b41d13f8342e239f1 SHA256 83b5ad1da09f9699fac67f7b5daa494ef47114e46fee07c8a487f222fe8776d1
+MD5 483955341f3f0bdcf83ec8bd5b85f852 ChangeLog 474
+RMD160 b5ebf6abb51daad806d7d0f0e6b334561566bd35 ChangeLog 474
+SHA256 83b5ad1da09f9699fac67f7b5daa494ef47114e46fee07c8a487f222fe8776d1 ChangeLog 474
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 c9a08cdbcb13a5d9519f77fa6070ca76 files/digest-dangerdeep-0.2.0 515
+RMD160 7c34834af122cb8dac569d090dbb79398274f8b9 files/digest-dangerdeep-0.2.0 515
+SHA256 0a11efe1a67a68278a28605a8be552fc23ea3f687bfbd9f069e0f7472ad547a6 files/digest-dangerdeep-0.2.0 515
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.1 2007/01/04 04:37:35 mr_bones_ Exp $
+
+inherit eutils debug toolchain-funcs games
+
+DESCRIPTION="a World War II German submarine simulation"
+HOMEPAGE="http://www.dangerdeep.net/"
+SRC_URI="mirror://sourceforge/${PN}/dangerdeep-${PV}.tar.gz
+ mirror://sourceforge/${PN}/dangerdeep-data-${PV}.zip"
+
+LICENSE="GPL-2 CCPL-Attribution-NonCommercial-NoDerivs-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="sse"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ sci-libs/fftw
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-net"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}"/data "${S}" || die "mv failed"
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-build.patch"
+ sed -i \
+ -e "/console_log.txt/ s:fopen.*:stderr;:" \
+ src/system.cpp \
+ || die "sed failed"
+}
+
+src_compile() {
+ local sse=-1
+
+ if use sse ; then
+ use amd64 && sse=3 || sse=1
+ fi
+
+ scons \
+ usex86sse=${sse} \
+ datadir="${GAMES_DATADIR}"/${PN} \
+ DESTDIR="${D}" \
+ --cache-disable \
+ || die "scons failed"
+}
+
+src_install() {
+ dogamesbin build/linux/${PN} || die "dogamesbin failed"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data/* || die "doins failed"
+
+ newicon logo.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Danger from the Deep" ${PN}.xpm
+
+ dodoc ChangeLog CREDITS *README*
+ doman doc/man/${PN}.6
+
+ prepgamesdirs
+}
--- /dev/null
+--- SConstruct.orig 2006-10-12 20:17:09.000000000 -0400
++++ SConstruct 2006-10-12 20:17:50.000000000 -0400
+@@ -117,6 +117,7 @@
+
+ else:
+ print "Compiling for Unix/Posix/Linux Environment"
++ SConsignFile()
+ env = Environment(ENV = os.environ)
+ env.Append(CPPPATH = ['/usr/include/SDL', '/usr/include/GL'])
+ libpath = ['/usr/X11R6/lib']
--- /dev/null
+MD5 3733507e99de5afc3c4172024cdfc61b dangerdeep-0.2.0.tar.gz 3854086
+RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 dangerdeep-0.2.0.tar.gz 3854086
+SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452 dangerdeep-0.2.0.tar.gz 3854086
+MD5 931d035cdf07d29b57e4797218fe53ff dangerdeep-data-0.2.0.zip 54163740
+RMD160 0dc8439356239779522a841764235e0f6d682ffc dangerdeep-data-0.2.0.zip 54163740
+SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10 dangerdeep-data-0.2.0.zip 54163740
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>