From efc5035e975d94e4af3e7bffaf4a8c73fc7d3307 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 17:32:33 +0100 Subject: dev-cpp/pstreams: port to EAPI 7 Signed-off-by: Sam James --- dev-cpp/pstreams/pstreams-1.0.1.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'dev-cpp/pstreams') diff --git a/dev-cpp/pstreams/pstreams-1.0.1.ebuild b/dev-cpp/pstreams/pstreams-1.0.1.ebuild index 4d10c3e1bf66..e95044c86695 100644 --- a/dev-cpp/pstreams/pstreams-1.0.1.ebuild +++ b/dev-cpp/pstreams/pstreams-1.0.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs @@ -11,13 +11,12 @@ SRC_URI=" mirror://sourceforge/${PN}/${P}.tar.gz doc? ( mirror://sourceforge/${PN}/${PN}-docs-${PV}.tar.gz )" -SLOT="0" LICENSE="LGPL-3" +SLOT="0" IUSE="doc" KEYWORDS="~amd64 ~x86" -RDEPEND="" -DEPEND="doc? ( app-doc/doxygen )" +BDEPEND="doc? ( app-doc/doxygen )" src_compile() { if use doc; then @@ -38,5 +37,8 @@ src_install() { dodoc AUTHORS ChangeLog README - use doc && dohtml -r "${WORKDIR}"/${PN}-docs-${PV}/* + if use doc ; then + docinto html + dodoc -r "${WORKDIR}"/${PN}-docs-${PV}/* + fi } -- cgit v1.2.3