diff options
-rw-r--r-- | games-misc/yadex/ChangeLog | 7 | ||||
-rw-r--r-- | games-misc/yadex/yadex-1.7.0.ebuild | 19 |
2 files changed, 15 insertions, 11 deletions
diff --git a/games-misc/yadex/ChangeLog b/games-misc/yadex/ChangeLog index a94996921f3c..f71bbe7e96ae 100644 --- a/games-misc/yadex/ChangeLog +++ b/games-misc/yadex/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-misc/yadex -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/ChangeLog,v 1.9 2009/08/05 02:53:29 mr_bones_ Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/ChangeLog,v 1.10 2015/02/06 22:15:03 tupone Exp $ + + 06 Feb 2015; Tupone Alfredo <tupone@gentoo.org> yadex-1.7.0.ebuild: + EAPI 5 05 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> yadex-1.7.0.ebuild, +files/yadex-1.7.0-elif.patch: diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild index 70dc87b3917b..fb76e577aa6c 100644 --- a/games-misc/yadex/yadex-1.7.0.ebuild +++ b/games-misc/yadex/yadex-1.7.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/yadex-1.7.0.ebuild,v 1.11 2009/08/05 02:53:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/yadex-1.7.0.ebuild,v 1.12 2015/02/06 22:15:03 tupone Exp $ -EAPI=2 +EAPI=5 inherit eutils games DESCRIPTION="A Doom level (wad) editor" @@ -16,6 +16,7 @@ IUSE="" RESTRICT="test" DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" src_prepare() { sed -i \ @@ -25,8 +26,8 @@ src_prepare() { 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 196910101010 "${S}"/src/wadlist.cc - touch -t 196910101010 "${S}"/src/gfx.cc + touch -t 197010101010 "${S}"/src/wadlist.cc + touch -t 197010101010 "${S}"/src/gfx.cc } src_configure() { @@ -35,17 +36,17 @@ src_configure() { } src_compile() { - emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed" + emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" } src_install() { - dogamesbin obj/0/yadex || die "dogamesbin failed" + dogamesbin obj/0/yadex insinto "${GAMES_DATADIR}/${PN}/${PV}" - doins ygd/* || die "doins failed (data)" + doins ygd/* doman doc/yadex.6 dodoc CHANGES FAQ README TODO VERSION dohtml doc/* insinto /etc/yadex/${PV} - doins yadex.cfg || die "doins failed (cfg)" + doins yadex.cfg prepgamesdirs } |