commit:     77586e1907457e151faf3eb2829ee2c7b752e2d0
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 03:26:40 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 03:26:40 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77586e19

EAPI=5

Package-Manager: portage-2.2.20.1

 games-fps/lsdldoom/lsdldoom-1.5.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/games-fps/lsdldoom/lsdldoom-1.5.ebuild 
b/games-fps/lsdldoom/lsdldoom-1.5.ebuild
index 04d4f9b..b08df9c 100644
--- a/games-fps/lsdldoom/lsdldoom-1.5.ebuild
+++ b/games-fps/lsdldoom/lsdldoom-1.5.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Port of ID's doom to SDL"
@@ -21,7 +21,9 @@ RDEPEND="${DEPEND}
        shareware? ( games-fps/doom-data )
        freedoom? ( games-fps/freedoom )"
 
-PATCHES=( "${FILESDIR}"/${P}-paths.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-paths.patch
+}
 
 src_configure() {
        # cpu-opt -> just adds -mcpu crap to CFLAGS
@@ -32,8 +34,7 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
-       prepalldocs
-       dodoc ChangeLog
+       DOCS="ChangeLog" \
+               default
        prepgamesdirs
 }

Reply via email to