summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 17:32:33 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:53 +0100
commitefc5035e975d94e4af3e7bffaf4a8c73fc7d3307 (patch)
treec9b523a6aa5b1fc7a5e1f0b8933da2628181ba83 /dev-cpp/pstreams
parentdev-cpp/picojson: port to EAPI 7 (diff)
downloadgentoo-efc5035e975d94e4af3e7bffaf4a8c73fc7d3307.tar.gz
gentoo-efc5035e975d94e4af3e7bffaf4a8c73fc7d3307.tar.bz2
gentoo-efc5035e975d94e4af3e7bffaf4a8c73fc7d3307.zip
dev-cpp/pstreams: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/pstreams')
-rw-r--r--dev-cpp/pstreams/pstreams-1.0.1.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-cpp/pstreams/pstreams-1.0.1.ebuild b/dev-cpp/pstreams/pstreams-1.0.1.ebuild
index 4d10c3e1bf6..e95044c8669 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
}