summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:09 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:30:34 +0100
commit7e1c776560cff45e9be62594dc4e614864dd3eb2 (patch)
tree9cfc8888ab649e6310cbfc9e5f5aa513a27cfa62 /games-action/heroes
parentgames-action/gltron: Remove old (diff)
downloadgentoo-7e1c776560cff45e9be62594dc4e614864dd3eb2.tar.gz
gentoo-7e1c776560cff45e9be62594dc4e614864dd3eb2.tar.bz2
gentoo-7e1c776560cff45e9be62594dc4e614864dd3eb2.zip
games-action/heroes: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-action/heroes')
-rw-r--r--games-action/heroes/heroes-0.21-r1.ebuild69
1 files changed, 0 insertions, 69 deletions
diff --git a/games-action/heroes/heroes-0.21-r1.ebuild b/games-action/heroes/heroes-0.21-r1.ebuild
deleted file mode 100644
index 01adf63ffa2b..000000000000
--- a/games-action/heroes/heroes-0.21-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils autotools games
-
-data_ver=1.5
-snd_trk_ver=1.0
-snd_eff_ver=1.0
-
-DESCRIPTION="Heroes Enjoy Riding Over Empty Slabs: similar to Tron and Nibbles"
-HOMEPAGE="http://heroes.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
- mirror://sourceforge/${PN}/${PN}-data-${data_ver}.tar.bz2
- mirror://sourceforge/${PN}/${PN}-sound-tracks-${snd_trk_ver}.tar.bz2
- mirror://sourceforge/${PN}/${PN}-sound-effects-${snd_eff_ver}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="sdl nls ggi"
-RESTRICT="test"
-
-RDEPEND="nls? ( virtual/libintl )
- sdl? ( media-libs/libsdl media-libs/sdl-mixer )
- ggi? ( media-libs/libggi media-libs/libgii media-libs/libmikmod )
- !sdl? ( !ggi? ( media-libs/libsdl media-libs/sdl-mixer ) )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- #56118
- epatch "${FILESDIR}"/${PV}-cvs-segfault-fix.patch \
- "${FILESDIR}/${P}"-gcc4.patch \
- "${FILESDIR}/${P}"-underlink.patch \
- "${FILESDIR}"/${P}-automake-1.12.patch
- sed -i 's:$(localedir):/usr/share/locale:' \
- $(find . -name 'Makefile.in*') || die
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if use sdl || ! use ggi ; then
- myconf="${myconf} --with-sdl --with-sdl-mixer"
- else
- myconf="${myconf} --with-ggi --with-mikmod"
- fi
-
- local pkg
- for pkg in ${A//.tar.bz2} ; do
- cd "${WORKDIR}"/${pkg}
- egamesconf \
- --disable-heroes-debug \
- --disable-optimizations \
- $(use_enable nls) \
- ${myconf}
- done
-}
-
-src_install() {
- local pkg
- for pkg in ${A//.tar.bz2} ; do
- cd "${WORKDIR}"/${pkg}
- emake DESTDIR="${D}" install
- done
- prepgamesdirs
-}