net-p2p/syrep: bump EAPI
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 16:26:40 +0000 (12:26 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:01:58 +0000 (19:01 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-p2p/syrep/syrep-0.9.ebuild

index 5c015c5d59c5f65f30a076315fb7f6b8aa6ceaf1..d3656097df043c53addfa7f3697db3aff29e463d 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=6
 inherit autotools
 
 DESCRIPTION="A generic file repository synchronization tool"
@@ -18,6 +18,7 @@ DEPEND="sys-libs/zlib
        doc? ( www-client/lynx )"
 
 src_prepare() {
+       default
        sed -i \
                -e "s/#if (DB_VERSION_MAJOR != 4).*/#if (DB_VERSION_MAJOR < 4)/" \
                configure.ac || die
@@ -33,8 +34,7 @@ src_configure() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
-       cd doc
-       dodoc README *.txt
-       use doc && dohtml *.html *.css
+       DOCS=( doc/README doc/*.txt )
+       use doc && HTML_DOCS=( doc/*.html doc/*.css )
+       default
 }