summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-17 13:15:45 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-17 19:38:32 -0500
commit2cd0f37f4098de3456b7661e01322d9cd8b86c2f (patch)
tree0bdf885fd02df97dd7834940f9c5bcb9b11845d5 /games-arcade/netris
parentadd slot dep for sys-libs/ncurses (diff)
downloadgentoo-2cd0f37f4098de3456b7661e01322d9cd8b86c2f.tar.gz
gentoo-2cd0f37f4098de3456b7661e01322d9cd8b86c2f.tar.bz2
gentoo-2cd0f37f4098de3456b7661e01322d9cd8b86c2f.zip
clean old
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-arcade/netris')
-rw-r--r--games-arcade/netris/Manifest1
-rw-r--r--games-arcade/netris/netris-0.52.ebuild67
2 files changed, 0 insertions, 68 deletions
diff --git a/games-arcade/netris/Manifest b/games-arcade/netris/Manifest
index 7cdf2964eb63..03bb85f5e5ea 100644
--- a/games-arcade/netris/Manifest
+++ b/games-arcade/netris/Manifest
@@ -1,3 +1,2 @@
DIST netris-0.52.tar.gz 33135 SHA256 8bc770ebb2c3ead1611ca7a1a2f3d833e169536c78d53b3fcf49381164ee9706 SHA512 842ad8602394dee929c3c4ba222f9f5ffe628e52348c3faf7c9098bbd5b0b0279fffc7927320f8ee8a5102537c995a8ed605d851f1cd32e4bd8976a7889c84e1 WHIRLPOOL 7bf0356b85107ec871c15afa9e680596e890e22cfb6ba9e72b4487af84c01b5aa4519a0d218c8736f80edaa8ba0c488d49aca07dd67c75dad91054de3a7ea7aa
-DIST netris_0.52-7.diff.gz 11586 SHA256 6b4d157768d075d9fedb9318f2583add253af994bab8ed6fe25b65b5086c8cc5 SHA512 2d2fe28dbf886107fa27f631e30534aab8afe027b5a41da3761ff39a16d65d7cf6ff5bf409708d55740638df75e334b5fb1ae4c5304616731fb6498d2cc00ca9 WHIRLPOOL ff1ff01f25b12f809f72682e48f539dd55df8e370151effe1222898b12239abf972e97ff1e8cc768beedf3c085b96e6c3540a309f08205245811ae1b52b51ac2
DIST netris_0.52-9.diff.gz 14482 SHA256 7364a74dabf43e834a2dc76352191b8794094c1f5f4ab02c64950af61a40261b SHA512 4bed230091ddecf5a0dc043981ec9b0a177bee01262715b9cb9a2af0adefe2db52555416b795a70dd496e6fb0b132586bc7f32d2a480f1cfd6c4d40304076109 WHIRLPOOL 26d51d8cb7b2bbe2b7d754ad707023b796ad4f79d97c0af742b3514dde2f8bf14e165211b23d92aa8665cba324ce85d2272b966123ba56e2d83bd1f31bf40215
diff --git a/games-arcade/netris/netris-0.52.ebuild b/games-arcade/netris/netris-0.52.ebuild
deleted file mode 100644
index 5e0d8019bfcc..000000000000
--- a/games-arcade/netris/netris-0.52.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils games
-
-DEB_VER=7
-DESCRIPTION='Classic networked version of T*tris'
-HOMEPAGE='http://www.netris.org/'
-SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz
- mirror://debian/pool/main/n/netris/netris_${PV}-${DEB_VER}.diff.gz"
-
-LICENSE='GPL-2'
-SLOT='0'
-KEYWORDS='amd64 ~mips ppc ~sparc x86 ~x86-fbsd'
-IUSE=''
-
-DEPEND='sys-libs/ncurses'
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${WORKDIR}"/netris_${PV}-${DEB_VER}.diff
- # bug #185332
- sed -i \
- -e '/sys\/time/ i\
-#include <sys/types.h> \
-#include <time.h>
-' \
- -e '/netint2/ s/short/int16_t/' \
- -e '/netint4/ s/long/int32_t/' \
- netris.h \
- || die 'sed failed'
- sed -i \
- -e '/curses\.h/ a\
-#include <term.h>
-' \
- curses.c \
- || die 'sed failed'
- sed -i \
- -e 's/volatile //g' \
- -e '/Be more forgiving/d' \
- -e 's/static myRandSeed/static int myRandSeed/' \
- util.c \
- || die 'sed failed'
- sed -i \
- -e 's/\(long pauseTimeLeft\)/\1 = 0/' \
- game.c \
- || die 'sed failed'
- sed -i \
- -e '/^CC/d' \
- -e '/^COPT/d' \
- -e '/^CFLAGS/d' \
- -e 's/(LFLAGS)/(LDFLAGS) $(LFLAGS)/' \
- Configure \
- || die 'sed failed'
-}
-
-src_configure() {
- bash ./Configure -O || die 'Configure failed'
-}
-
-src_install() {
- dogamesbin netris sr
- dodoc FAQ README robot_desc
- prepgamesdirs
-}