commit: 6cad65a0f81556b71b5f87046bac2f134b5c1d39 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun May 27 15:53:00 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun May 27 16:14:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cad65a0
games-misc/yadex: Drop old Package-Manager: Portage-2.3.38, Repoman-2.3.9 games-misc/yadex/yadex-1.7.0.ebuild | 51 ------------------------------------- 1 file changed, 51 deletions(-) diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild deleted file mode 100644 index 306f0a38eae..00000000000 --- a/games-misc/yadex/yadex-1.7.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils games - -DESCRIPTION="A Doom level (wad) editor" -HOMEPAGE="http://www.teaser.fr/~amajorel/yadex/" -SRC_URI="http://www.teaser.fr/~amajorel/yadex/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" -RESTRICT="test" - -DEPEND="x11-libs/libX11" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -i \ - -e '/iwad/s/local\///' \ - "${S}"/yadex.cfg \ - || die "sed yadex.cfg failed" - epatch "${FILESDIR}/${P}"-NULL-is-not-zero.patch \ - "${FILESDIR}/${P}"-elif.patch - # Force the patched file to be old, otherwise the compile fails - touch -t 197010101010 "${S}"/src/wadlist.cc - touch -t 197010101010 "${S}"/src/gfx.cc -} - -src_configure() { - # not an autoconf script - ./configure --prefix="/usr" || die "configure failed" -} - -src_compile() { - emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" -} - -src_install() { - dogamesbin obj/0/yadex - insinto "${GAMES_DATADIR}/${PN}/${PV}" - doins ygd/* - doman doc/yadex.6 - dodoc CHANGES FAQ README TODO VERSION - dohtml doc/* - insinto /etc/yadex/${PV} - doins yadex.cfg - prepgamesdirs -}
