summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-23 19:43:51 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-23 21:16:49 +0200
commitaacfef26bc00557c7ebe807103bfb5e9415f509e (patch)
treeb17d544244f39b9ff0b487903e8ec752d0e926d5 /games-arcade/netris
parentgames-arcade/netris: Stop using games.eclass (diff)
downloadgentoo-aacfef26bc00557c7ebe807103bfb5e9415f509e.tar.gz
gentoo-aacfef26bc00557c7ebe807103bfb5e9415f509e.tar.bz2
gentoo-aacfef26bc00557c7ebe807103bfb5e9415f509e.zip
games-arcade/netris: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-arcade/netris')
-rw-r--r--games-arcade/netris/netris-0.52-r1.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/games-arcade/netris/netris-0.52-r1.ebuild b/games-arcade/netris/netris-0.52-r1.ebuild
deleted file mode 100644
index 0052d3ee208a..000000000000
--- a/games-arcade/netris/netris-0.52-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DEB_VER=9
-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 ~x86 ~x86-fbsd"
-IUSE=''
-
-DEPEND='sys-libs/ncurses:0='
-RDEPEND=${DEPEND}
-
-src_prepare() {
- epatch "${WORKDIR}"/netris_${PV}-${DEB_VER}.diff
- epatch netris-0.52/debian/patches/[01]*
- # 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 -i \
- -e 's/volatile //g' \
- -e '/Be more forgiving/d' \
- -e 's/static myRandSeed/static int myRandSeed/' \
- util.c || die
- sed -i \
- -e 's/\(long pauseTimeLeft\)/\1 = 0/' \
- game.c || die
- sed -i \
- -e '/^CC/d' \
- -e '/^COPT/d' \
- -e '/^CFLAGS/d' \
- -e 's/(LFLAGS)/(LDFLAGS) $(LFLAGS)/' \
- Configure || die
-}
-
-src_configure() {
- bash ./Configure -O || die
-}
-
-src_install() {
- dogamesbin netris sr
- dodoc FAQ README robot_desc
- prepgamesdirs
-}