summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-28 21:42:52 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-28 21:42:52 +0000
commite8036b119ba9378350431b21c2f7e46ac4c82517 (patch)
tree161647b69357282a824a29e657e22f604e12bf2c /games-puzzle/mindless
parentold (diff)
downloadhistorical-e8036b119ba9378350431b21c2f7e46ac4c82517.tar.gz
historical-e8036b119ba9378350431b21c2f7e46ac4c82517.tar.bz2
historical-e8036b119ba9378350431b21c2f7e46ac4c82517.zip
ver bump #43192
Diffstat (limited to 'games-puzzle/mindless')
-rw-r--r--games-puzzle/mindless/ChangeLog7
-rw-r--r--games-puzzle/mindless/files/digest-mindless-1.42
-rw-r--r--games-puzzle/mindless/files/mindless20
-rw-r--r--games-puzzle/mindless/mindless-1.4.ebuild38
4 files changed, 66 insertions, 1 deletions
diff --git a/games-puzzle/mindless/ChangeLog b/games-puzzle/mindless/ChangeLog
index ac474599688d..74ae286fdb7c 100644
--- a/games-puzzle/mindless/ChangeLog
+++ b/games-puzzle/mindless/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/mindless
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.2 2003/09/10 15:47:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.3 2004/02/28 21:42:52 vapier Exp $
+
+*mindless-1.4 (28 Feb 2004)
+
+ 28 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Version bump and remove playmindless crap #43192 by Alexander Jenisch.
*mindless-1.3 (05 Aug 2003)
diff --git a/games-puzzle/mindless/files/digest-mindless-1.4 b/games-puzzle/mindless/files/digest-mindless-1.4
new file mode 100644
index 000000000000..532a9188975c
--- /dev/null
+++ b/games-puzzle/mindless/files/digest-mindless-1.4
@@ -0,0 +1,2 @@
+MD5 0b2da26c624428b697b7acd0e3a07c80 mindless-1.4.tar.gz 62106
+MD5 2256f3542094725015c835d017dea3e5 approracle.zip 480278
diff --git a/games-puzzle/mindless/files/mindless b/games-puzzle/mindless/files/mindless
new file mode 100644
index 000000000000..472288251120
--- /dev/null
+++ b/games-puzzle/mindless/files/mindless
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+SEARCHDIRS="
+${HOME}/.mindless/
+GENTOO_DIR
+"
+
+CARDINFO_DAT=""
+for d in ${SEARCHDIRS} ; do
+ if [ -f "${d}/cardinfo.dat" ] ; then
+ export CARDINFO_DAT="${d}/cardinfo.dat"
+ exec mindless-bin "$@"
+ elif [ -f "${d}/CardInfo.dat" ] ; then
+ export CARDINFO_DAT="${d}/CardInfo.dat"
+ exec mindless-bin "$@"
+ fi
+done
+
+echo "No CardInfo.dat found in:"
+echo "${SEARCHDIRS}"
diff --git a/games-puzzle/mindless/mindless-1.4.ebuild b/games-puzzle/mindless/mindless-1.4.ebuild
new file mode 100644
index 000000000000..33e7a517a222
--- /dev/null
+++ b/games-puzzle/mindless/mindless-1.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.4.ebuild,v 1.1 2004/02/28 21:42:52 vapier Exp $
+
+inherit games
+
+DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
+HOMEPAGE="http://mindless.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
+ http://www.e-league.com/files/approracle.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND="media-libs/gdk-pixbuf"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ newgamesbin mindless mindless-bin
+ dogamesbin ${FILESDIR}/mindless
+ dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/mindless
+ insinto ${GAMES_DATADIR}/${PN}
+ doins ${WORKDIR}/*.dat ${WORKDIR}/sets/*.dat
+ dodoc CHANGES README TODO
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "mindless is now a wrapper that searches"
+ einfo "for cardinfo files and then runs mindless-bin."
+ einfo "If you wish to run mindless yourself, please"
+ einfo "use mindless-bin."
+}