diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-25 07:09:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-09-25 07:09:15 +0000 |
commit | 573bddc536f383673371776a638986f604611779 (patch) | |
tree | 7789453e3026a7d6f9ece0e6f1954682d96ab589 /games-puzzle/tint | |
parent | lets help the user (Manifest recommit) (diff) | |
download | gentoo-2-573bddc536f383673371776a638986f604611779.tar.gz gentoo-2-573bddc536f383673371776a638986f604611779.tar.bz2 gentoo-2-573bddc536f383673371776a638986f604611779.zip |
initial commit - ebuild based on the one provided by LepeL via bug #65143
Diffstat (limited to 'games-puzzle/tint')
-rw-r--r-- | games-puzzle/tint/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/tint/Manifest | 2 | ||||
-rw-r--r-- | games-puzzle/tint/files/0.03a-warnings.patch | 31 | ||||
-rw-r--r-- | games-puzzle/tint/files/digest-tint-0.03a | 1 | ||||
-rw-r--r-- | games-puzzle/tint/metadata.xml | 5 | ||||
-rw-r--r-- | games-puzzle/tint/tint-0.03a.ebuild | 40 |
6 files changed, 89 insertions, 0 deletions
diff --git a/games-puzzle/tint/ChangeLog b/games-puzzle/tint/ChangeLog new file mode 100644 index 000000000000..db9781ce7288 --- /dev/null +++ b/games-puzzle/tint/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/tint +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tint/ChangeLog,v 1.1 2004/09/25 07:09:15 mr_bones_ Exp $ + +*tint-0.03a (25 Sep 2004) + + 25 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> + +files/0.03a-warnings.patch, +tint-0.03a.ebuild: + initial commit - ebuild based on the one provided by LepeL via bug #65143 + diff --git a/games-puzzle/tint/Manifest b/games-puzzle/tint/Manifest new file mode 100644 index 000000000000..7651d8b3ee70 --- /dev/null +++ b/games-puzzle/tint/Manifest @@ -0,0 +1,2 @@ +MD5 d12fa3a19400d8eb69abe5787fdb9c75 tint-0.03a.ebuild 657 +MD5 5289223409923d86537f6acd9f5d89e6 files/digest-tint-0.03a 61 diff --git a/games-puzzle/tint/files/0.03a-warnings.patch b/games-puzzle/tint/files/0.03a-warnings.patch new file mode 100644 index 000000000000..5dc1cfa7aa39 --- /dev/null +++ b/games-puzzle/tint/files/0.03a-warnings.patch @@ -0,0 +1,31 @@ +--- tint.c.orig 2004-09-24 19:28:16.000000000 -0700 ++++ tint.c 2004-09-24 19:28:27.000000000 -0700 +@@ -651,7 +651,7 @@ + shapecount[engine.curshape]++; + break; + /* shape moved down one line */ +- case 1: ++ case 1:; + } + } + } +--- engine.c.orig 2004-09-24 19:26:04.000000000 -0700 ++++ engine.c 2004-09-24 19:28:01.000000000 -0700 +@@ -27,6 +27,8 @@ + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++#include <stdlib.h> ++#include <string.h> + #include "typedefs.h" + #include "utils.h" + #include "io.h" +@@ -94,7 +96,7 @@ + case 5: + real_rotate (shape,FALSE); + break; +- case 3: /* This one is not rotated at all */ ++ case 3:; /* This one is not rotated at all */ + } + } + diff --git a/games-puzzle/tint/files/digest-tint-0.03a b/games-puzzle/tint/files/digest-tint-0.03a new file mode 100644 index 000000000000..f39af468dd74 --- /dev/null +++ b/games-puzzle/tint/files/digest-tint-0.03a @@ -0,0 +1 @@ +MD5 e89e47bafcd3be1184b3e334927a5a79 tint_0.03a.tar.gz 16781 diff --git a/games-puzzle/tint/metadata.xml b/games-puzzle/tint/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/tint/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-puzzle/tint/tint-0.03a.ebuild b/games-puzzle/tint/tint-0.03a.ebuild new file mode 100644 index 000000000000..7056e28dcea4 --- /dev/null +++ b/games-puzzle/tint/tint-0.03a.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tint/tint-0.03a.ebuild,v 1.1 2004/09/25 07:09:15 mr_bones_ Exp $ + +inherit eutils games + +MY_P=${P/-/_} +DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game" +HOMEPAGE="http://oasis.frogfoot.net/code/tint/" +SRC_URI="http://oasis.frogfoot.net/code/tint/download/$PV/$MY_P.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.4-r1" + +src_unpack() { + unpack $A + cd "${S}" + epatch "${FILESDIR}/${PV}-warnings.patch" +} + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + localstatedir="${GAMES_STATEDIR}" \ + || die "emake failed" +} + +src_install() { + dogamesbin tint || die "dogamesbin failed" + doman tint.6 + dodoc CREDITS NOTES + insopts -m 0664 + insinto "${GAMES_STATEDIR}" + doins tint.scores || die "doins failed" + prepgamesdirs +} |