summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-03-19 04:08:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-03-19 04:08:00 +0000
commit0d7aeaa5e2f1246c83276dde68d5c47f30126369 (patch)
treec99eff5745e2f9bbe07fb76f3060da8e2f1e2daf /games-puzzle/monsterz
parentupdate m68k patch (diff)
downloadgentoo-2-0d7aeaa5e2f1246c83276dde68d5c47f30126369.tar.gz
gentoo-2-0d7aeaa5e2f1246c83276dde68d5c47f30126369.tar.bz2
gentoo-2-0d7aeaa5e2f1246c83276dde68d5c47f30126369.zip
make sure media-libs/sdl-mixer was built with USE=mikmod; tidy
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-puzzle/monsterz')
-rw-r--r--games-puzzle/monsterz/ChangeLog5
-rw-r--r--games-puzzle/monsterz/monsterz-0.4.1.ebuild15
2 files changed, 15 insertions, 5 deletions
diff --git a/games-puzzle/monsterz/ChangeLog b/games-puzzle/monsterz/ChangeLog
index 83b5c01319ed..ea4831920686 100644
--- a/games-puzzle/monsterz/ChangeLog
+++ b/games-puzzle/monsterz/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/monsterz
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/ChangeLog,v 1.1 2005/03/19 00:08:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/ChangeLog,v 1.2 2005/03/19 04:08:00 mr_bones_ Exp $
+
+ 18 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> monsterz-0.4.1.ebuild:
+ make sure media-libs/sdl-mixer was built with USE=mikmod; tidy
*monsterz-0.4.1 (18 Mar 2005)
diff --git a/games-puzzle/monsterz/monsterz-0.4.1.ebuild b/games-puzzle/monsterz/monsterz-0.4.1.ebuild
index e9293b15d12b..c07eaf2cc47c 100644
--- a/games-puzzle/monsterz/monsterz-0.4.1.ebuild
+++ b/games-puzzle/monsterz/monsterz-0.4.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/monsterz-0.4.1.ebuild,v 1.1 2005/03/19 00:08:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/monsterz-0.4.1.ebuild,v 1.2 2005/03/19 04:08:00 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
DESCRIPTION="a little puzzle game, similar to the famous Bejeweled or Zookeeper"
HOMEPAGE="http://sam.zoy.org/projects/monsterz/"
-SRC_URI="http://sam.zoy.org/projects/monsterz/monsterz-0.4.1.tar.gz"
+SRC_URI="http://sam.zoy.org/projects/monsterz/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
@@ -15,6 +15,13 @@ IUSE=""
DEPEND="dev-python/pygame"
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer mikmod ; then
+ die "${PN} requires that media-libs/sdl-mixer be built with USE=mikmod"
+ fi
+ games_pkg_setup
+}
+
src_unpack() {
unpack ${A}
cd "${S}"
@@ -27,7 +34,7 @@ src_unpack() {
src_install() {
local dir=${GAMES_DATADIR}/${PN}
- insinto ${dir}
+ insinto "${dir}"
doins *.wav *.s3m *.png || die "doins failed"
newgamesbin monsterz.py ${PN} || die "dobin failed"
dodir "${GAMES_STATEDIR}"