diff options
Diffstat (limited to 'games-puzzle/tint/tint-0.03b.ebuild')
-rw-r--r-- | games-puzzle/tint/tint-0.03b.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/games-puzzle/tint/tint-0.03b.ebuild b/games-puzzle/tint/tint-0.03b.ebuild new file mode 100644 index 000000000000..0c5d6923dd1b --- /dev/null +++ b/games-puzzle/tint/tint-0.03b.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit 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="BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.4-r1" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-ovflfix.patch ) + +src_compile() { + emake \ + STRIP=true \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + localstatedir="${GAMES_STATEDIR}" +} + +src_install() { + dogamesbin tint + doman tint.6 + dodoc CREDITS NOTES + insopts -m 0664 + insinto "${GAMES_STATEDIR}" + doins tint.scores + prepgamesdirs +} |