commit:     6dcaaf484b051e8ae9771fed03ccf9f443c1d675
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 19:32:14 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 19:32:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dcaaf48

media-gfx/pstoedit: update to EAPI 6

 media-gfx/pstoedit/pstoedit-3.70-r1.ebuild | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild 
b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
index 605b09d..6cc89e7 100644
--- a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
+++ b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit autotools eutils
+inherit autotools
 
 DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
 HOMEPAGE="https://sourceforge.net/projects/pstoedit/";
@@ -28,15 +28,19 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.60-libdl.patch
+       "${FILESDIR}"/${PN}-3.70-pkgconfig.patch
+)
+
 src_prepare() {
+       default
+
        sed -i \
                -e '/CXXFLAGS="-g"/d' \
                -e 's:-pedantic::' \
                configure.ac || die
 
-       epatch "${FILESDIR}"/${PN}-3.60-libdl.patch
-       epatch "${FILESDIR}"/${PN}-3.70-pkgconfig.patch
-
        eautoreconf
 }
 
@@ -54,7 +58,8 @@ src_install() {
        default
        doman doc/pstoedit.1
        dodoc doc/*.txt
-       dohtml doc/*.htm
+       docinto html
+       dodoc doc/*.htm
 
        find "${ED}" -name '*.la' -delete
 }

Reply via email to