summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-03-26 07:22:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-03-26 07:22:02 +0000
commit718bf20897a2a3152e166327c249241b4076842c (patch)
tree41b4da0378137f055ebf5305009b0f052be6f188 /games-fps/freedoom
parentUse distutils eclass. (diff)
downloadgentoo-2-718bf20897a2a3152e166327c249241b4076842c.tar.gz
gentoo-2-718bf20897a2a3152e166327c249241b4076842c.tar.bz2
gentoo-2-718bf20897a2a3152e166327c249241b4076842c.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps/freedoom')
-rw-r--r--games-fps/freedoom/ChangeLog10
-rw-r--r--games-fps/freedoom/freedoom-0.6.2.ebuild53
2 files changed, 61 insertions, 2 deletions
diff --git a/games-fps/freedoom/ChangeLog b/games-fps/freedoom/ChangeLog
index 107c244d5f0d..7bdfdeefe957 100644
--- a/games-fps/freedoom/ChangeLog
+++ b/games-fps/freedoom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/freedoom
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/ChangeLog,v 1.14 2007/03/12 14:41:04 genone Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/ChangeLog,v 1.15 2008/03/26 07:22:02 mr_bones_ Exp $
+
+*freedoom-0.6.2 (26 Mar 2008)
+
+ 26 Mar 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +freedoom-0.6.2.ebuild:
+ version bump
12 Mar 2007; Marius Mauch <genone@gentoo.org> freedoom-0.4.1-r1.ebuild,
freedoom-0.5.ebuild:
diff --git a/games-fps/freedoom/freedoom-0.6.2.ebuild b/games-fps/freedoom/freedoom-0.6.2.ebuild
new file mode 100644
index 000000000000..e05e04a6d9c8
--- /dev/null
+++ b/games-fps/freedoom/freedoom-0.6.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/freedoom-0.6.2.ebuild,v 1.1 2008/03/26 07:22:02 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Freedoom - Open Source Doom resources"
+HOMEPAGE="http://freedoom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedoom/freedoom-demo-${PV}.zip
+ mirror://sourceforge/freedoom/freedoom-iwad-${PV}.zip
+ mirror://sourceforge/freedoom/freedm-${PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doomsday"
+
+RDEPEND="doomsday? ( games-fps/doomsday )"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/doom-data/${PN}
+ doins */*.wad || die "doins wad"
+ dodoc freedoom-iwad-${PV}/{CREDITS,ChangeLog,NEWS,README}
+ if use doomsday; then
+ # Make wrapper for doomsday
+ games_make_wrapper doomsday-freedoom "jdoom -file \
+ ${GAMES_DATADIR}/doom-data/freedoom/*.wad"
+ make_desktop_entry doomsday-freedoom "Doomsday - Freedoom"
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use doomsday; then
+ elog "To use the doomsday engine, run doomsday-freedoom"
+ else
+ elog "A Doom engine is required to play the wad"
+ elog "Enable the doomsday use flag if you want to use the doomsday engine"
+ fi
+ echo
+ ewarn "To play freedoom with Doom engines which do not support"
+ ewarn "subdirectories, create symlinks by running the following:"
+ ewarn "(Be careful of overwriting existing wads.)"
+ ewarn
+ ewarn " cd ${GAMES_DATADIR}/doom-data"
+ ewarn " for f in doom{1,2} freedm ; do"
+ ewarn " ln -sn freedoom/\${f}.wad"
+ ewarn " done"
+}