summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-23 19:53:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-23 19:53:11 +0000
commit5d1251bf6a95cfc6f051358723993152b12ad7f6 (patch)
tree4017e00eaeb0ea3f73a28d444dbd868bea966a06 /games-puzzle/monsterz
parentia64 stable wrt #228965 (diff)
downloadgentoo-2-5d1251bf6a95cfc6f051358723993152b12ad7f6.tar.gz
gentoo-2-5d1251bf6a95cfc6f051358723993152b12ad7f6.tar.bz2
gentoo-2-5d1251bf6a95cfc6f051358723993152b12ad7f6.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-puzzle/monsterz')
-rw-r--r--games-puzzle/monsterz/files/monsterz-0.7.0-gentoo.patch30
-rw-r--r--games-puzzle/monsterz/monsterz-0.7.0.ebuild43
2 files changed, 0 insertions, 73 deletions
diff --git a/games-puzzle/monsterz/files/monsterz-0.7.0-gentoo.patch b/games-puzzle/monsterz/files/monsterz-0.7.0-gentoo.patch
deleted file mode 100644
index eb605b44d943..000000000000
--- a/games-puzzle/monsterz/files/monsterz-0.7.0-gentoo.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- monsterz.py.orig 2006-05-12 18:55:51.000000000 -0400
-+++ monsterz.py 2006-05-12 18:57:44.000000000 -0400
-@@ -23,8 +23,7 @@
- VERSION = '0.7.0'
- COPYRIGHT = 'MONSTERZ - COPYRIGHT 2005, 2006 SAM HOCEVAR - MONSTERZ IS ' \
- 'FREE SOFTWARE, YOU CAN REDISTRIBUTE IT AND/OR MODIFY IT ' \
-- 'UNDER THE TERMS OF THE DO WHAT THE FUCK YOU WANT TO ' \
-- 'PUBLIC LICENSE, VERSION 2 - '
-+ 'UNDER THE TERMS OF THE WTFPL, Version 2 - '
-
- # Constants
- HAVE_AI = False # broken
-@@ -1907,7 +1906,7 @@
- print ' (C) Mike Kershaw <dragorn@kismetwireless.net>'
-
- print 'This program is free software; you can redistribute it and/or modify it under'
-- print 'the terms of the Do What The Fuck You Want To Public License, Version 2, as'
-+ print 'the terms of the WTFPL, Version 2, as'
- print 'published by Sam Hocevar. See http://sam.zoy.org/wtfpl/ for more details.'
- print 'The sound effects are released under their own licences: applause.wav and'
- print 'pop.wav are covered by the LGPL, the others are covered by the GPL.'
-@@ -1932,7 +1931,7 @@
- global system, data, settings, fonter, monsterz
- override = {}
- scorefile = None
-- sharedir = dirname(argv[0])
-+ sharedir = "GENTOO_DATADIR"
- outfd = None
- try:
- long = ['help', 'version', 'music', 'sound', 'fullscreen',
diff --git a/games-puzzle/monsterz/monsterz-0.7.0.ebuild b/games-puzzle/monsterz/monsterz-0.7.0.ebuild
deleted file mode 100644
index 32ec94cc3d1f..000000000000
--- a/games-puzzle/monsterz/monsterz-0.7.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/monsterz-0.7.0.ebuild,v 1.3 2007/06/25 15:50:32 jer Exp $
-
-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/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 hppa ~ppc ~sparc x86"
-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}"
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i \
- -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
- monsterz.py || die "sed failed"
-}
-
-src_install() {
- local dir=${GAMES_DATADIR}/${PN}
- insinto "${dir}"
- doins -r graphics sound || die "doins failed"
- newgamesbin monsterz.py ${PN} || die "newgamesbin failed"
- newicon graphics/icon.png ${PN}.png
- make_desktop_entry ${PN} Monsterz
- dodoc README AUTHORS TODO
- prepgamesdirs
-}