From 2f7b073c1bc54c873666c4522cd6cd49ac1d59df Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 10 Sep 2003 06:36:01 +0000 Subject: games-puzzle !@ --- games-puzzle/mindless/ChangeLog | 18 +++++++++++++ games-puzzle/mindless/Manifest | 6 +++++ games-puzzle/mindless/files/digest-mindless-1.2 | 2 ++ games-puzzle/mindless/files/digest-mindless-1.3 | 2 ++ games-puzzle/mindless/files/playmindless | 18 +++++++++++++ games-puzzle/mindless/mindless-1.2.ebuild | 35 +++++++++++++++++++++++++ games-puzzle/mindless/mindless-1.3.ebuild | 35 +++++++++++++++++++++++++ 7 files changed, 116 insertions(+) create mode 100644 games-puzzle/mindless/ChangeLog create mode 100644 games-puzzle/mindless/Manifest create mode 100644 games-puzzle/mindless/files/digest-mindless-1.2 create mode 100644 games-puzzle/mindless/files/digest-mindless-1.3 create mode 100644 games-puzzle/mindless/files/playmindless create mode 100644 games-puzzle/mindless/mindless-1.2.ebuild create mode 100644 games-puzzle/mindless/mindless-1.3.ebuild (limited to 'games-puzzle/mindless') diff --git a/games-puzzle/mindless/ChangeLog b/games-puzzle/mindless/ChangeLog new file mode 100644 index 000000000000..29f6a82a764f --- /dev/null +++ b/games-puzzle/mindless/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for app-games/mindless +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.1 2003/09/10 06:36:00 vapier Exp $ + +*mindless-1.3 (05 Aug 2003) + + 05 Aug 2003; Michael Sterrett mindless-1.3.ebuild: + version bump + +*mindless-1.2 (31 Dec 2002) + + 31 Dec 2002; Mike Frysinger : + Version bump. + +*mindless-1.1 (08 Dec 2002) + + 08 Dec 2002; Mike Frysinger : + Initial import. Ebuild submitted by moonlite@linux.nu. diff --git a/games-puzzle/mindless/Manifest b/games-puzzle/mindless/Manifest new file mode 100644 index 000000000000..b5cb429aa1d5 --- /dev/null +++ b/games-puzzle/mindless/Manifest @@ -0,0 +1,6 @@ +MD5 2e134b0d1f3aa78a20614e8f9dc896b7 files/digest-mindless-1.2 122 +MD5 e747276456a66bedb3610344039bcd6e files/playmindless 278 +MD5 46ffca7a60b97049b500cab648056a99 files/digest-mindless-1.3 122 +MD5 faa52c31dad9aa1b44e24d89a266b6d6 mindless-1.2.ebuild 913 +MD5 ac156169736b042e38ad24d6c302d9bb ChangeLog 577 +MD5 84eac1e7d8f499841a782007cc07585f mindless-1.3.ebuild 947 diff --git a/games-puzzle/mindless/files/digest-mindless-1.2 b/games-puzzle/mindless/files/digest-mindless-1.2 new file mode 100644 index 000000000000..43e33fedc78f --- /dev/null +++ b/games-puzzle/mindless/files/digest-mindless-1.2 @@ -0,0 +1,2 @@ +MD5 f6b2db8fffdcb1a50aec3e91acd7012c mindless-1.2.tar.gz 59834 +MD5 2256f3542094725015c835d017dea3e5 approracle.zip 480278 diff --git a/games-puzzle/mindless/files/digest-mindless-1.3 b/games-puzzle/mindless/files/digest-mindless-1.3 new file mode 100644 index 000000000000..d4351d99b1c3 --- /dev/null +++ b/games-puzzle/mindless/files/digest-mindless-1.3 @@ -0,0 +1,2 @@ +MD5 f1beae67b659609664d111ef6d56345c mindless-1.3.tar.gz 60267 +MD5 2256f3542094725015c835d017dea3e5 approracle.zip 480278 diff --git a/games-puzzle/mindless/files/playmindless b/games-puzzle/mindless/files/playmindless new file mode 100644 index 000000000000..0f970624bed0 --- /dev/null +++ b/games-puzzle/mindless/files/playmindless @@ -0,0 +1,18 @@ +#!/bin/bash + +SEARCHDIRS=" +${HOME}/.mindless/ +/usr/share/games/mindless/ +" + +CARDINFO_DAT="" +for d in ${SEARCHDIRS} ; do + export CARDINFO_DAT="${d}/CardInfo.dat" + if [ -f ${CARDINFO_DAT} ] ; then + mindless + exit 0 + fi +done + +echo "No CardInfo.dat found in:" +echo "${SEARCHDIRS}" diff --git a/games-puzzle/mindless/mindless-1.2.ebuild b/games-puzzle/mindless/mindless-1.2.ebuild new file mode 100644 index 000000000000..d7a94592bd69 --- /dev/null +++ b/games-puzzle/mindless/mindless-1.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.2.ebuild,v 1.1 2003/09/10 06:36:00 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 || die +} + +src_install() { + dogamesbin mindless ${FILESDIR}/playmindless + insinto ${GAMES_DATADIR}/${PN} + doins ${WORKDIR}{/,/sets/}*.dat + dodoc CHANGES README TODO + prepgamesdirs +} + +pkg_postinst() { + einfo "A wrapper script has been installed." + einfo "To play, just run 'playmindless'." + + games_pkg_postinst +} diff --git a/games-puzzle/mindless/mindless-1.3.ebuild b/games-puzzle/mindless/mindless-1.3.ebuild new file mode 100644 index 000000000000..327e7dc25fba --- /dev/null +++ b/games-puzzle/mindless/mindless-1.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.3.ebuild,v 1.1 2003/09/10 06:36:00 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() { + dogamesbin mindless ${FILESDIR}/playmindless + insinto ${GAMES_DATADIR}/${PN} + doins ${WORKDIR}{/,/sets/}*.dat + dodoc CHANGES README TODO + prepgamesdirs +} + +pkg_postinst() { + einfo "A wrapper script has been installed." + einfo "To play, just run 'playmindless'." + + games_pkg_postinst +} -- cgit v1.2.3-65-gdbad