EAPI=5
authorMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:26:40 +0000 (22:26 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:26:40 +0000 (22:26 -0500)
Package-Manager: portage-2.2.20.1

games-fps/lsdldoom/lsdldoom-1.5.ebuild

index 04d4f9b96268c671a3704189c97137e8dfc5e378..b08df9cbaf40101af4492caf095b42b04e8017a9 100644 (file)
@@ -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
 }