summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-05-30 10:19:18 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-05-30 10:19:18 +0000
commita21e5f41819c2548c76db324587c405f5e771f34 (patch)
treef251969bdbd3ca40b3cad940f8d36c621f3b280a /games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild
parentVersion bump (diff)
downloadgentoo-2-a21e5f41819c2548c76db324587c405f5e771f34.tar.gz
gentoo-2-a21e5f41819c2548c76db324587c405f5e771f34.tar.bz2
gentoo-2-a21e5f41819c2548c76db324587c405f5e771f34.zip
Unmask on amd64 with >=doomsday-1.9.8
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild')
-rw-r--r--games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild b/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild
new file mode 100644
index 000000000000..c4e89b06e9c1
--- /dev/null
+++ b/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday-resources/doomsday-resources-1.01-r1.ebuild,v 1.1 2012/05/30 10:19:17 maksbotan Exp $
+
+inherit eutils games
+
+DESCRIPTION="Improved models & textures for doomsday"
+HOMEPAGE="http://www.doomsdayhq.com/"
+SRC_URI="mirror://sourceforge/deng/jdoom-resource-pack-${PV}.zip
+ mirror://sourceforge/deng/jdoom-details.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=games-fps/doomsday-1.9.8"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/doomsday/data/jdoom/auto
+ doins data/jDoom/* *.pk3 || die "doins failed"
+
+ # The definitions file cannot be auto-loaded
+ insinto "${GAMES_DATADIR}"/doomsday/defs/jdoom
+ doins defs/jDoom/* || die "doins failed"
+
+ dodoc *.txt docs/*
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "Add the following to the jdoom/doomsday command-line options:"
+ elog " -def ${GAMES_DATADIR}/doomsday/defs/jdoom/jDRP.ded"
+}