summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-25 02:45:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-25 02:45:01 +0000
commit60af6f03216813160433e38896b1c3b4b9e4195d (patch)
tree544abfc40fbddd72ace4dda1898357df399a9571 /games-fps/doomsday/doomsday-1.8.6.ebuild
parentNuke gatos from IUSE. (diff)
downloadgentoo-2-60af6f03216813160433e38896b1c3b4b9e4195d.tar.gz
gentoo-2-60af6f03216813160433e38896b1c3b4b9e4195d.tar.bz2
gentoo-2-60af6f03216813160433e38896b1c3b4b9e4195d.zip
Version bump #78453 by Maxime Carey.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'games-fps/doomsday/doomsday-1.8.6.ebuild')
-rw-r--r--games-fps/doomsday/doomsday-1.8.6.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/games-fps/doomsday/doomsday-1.8.6.ebuild b/games-fps/doomsday/doomsday-1.8.6.ebuild
new file mode 100644
index 000000000000..bae30d71f8ad
--- /dev/null
+++ b/games-fps/doomsday/doomsday-1.8.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday/doomsday-1.8.6.ebuild,v 1.1 2005/01/25 02:45:01 vapier Exp $
+
+inherit eutils games
+
+DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
+HOMEPAGE="http://www.doomsdayhq.com/"
+SRC_URI="mirror://sourceforge/deng/deng-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc x86"
+IUSE="openal"
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ openal? ( media-libs/openal )"
+
+S=${WORKDIR}/deng-${PV}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ rmdir "${D}/${GAMES_PREFIX}/include"
+ mv "${D}/${GAMES_DATADIR}/"{deng/Data/jDoom,doom-data}
+ dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/deng/Data/jDoom
+
+ local game
+ for game in jdoom jheretic jhexen ; do
+ newgamesbin "${FILESDIR}/wrapper" ${game}
+ sed -i \
+ -e "s:GAME:${game}:" "${D}"/${GAMES_BINDIR}/${game} \
+ || die "sed ${GAMES_BINDIR}/${game} failed"
+ done
+
+ dodoc Doc/*.txt Doc/*/*.txt README
+ prepgamesdirs
+}