summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 19:14:19 +0100
committerSam James <sam@gentoo.org>2021-04-03 19:59:04 +0100
commit7113508106b2df2ebfe25d588357ea21869e1488 (patch)
treecee603f0ff4f0a1abd3808e2a7b3d513b16cabc1 /net-analyzer
parentsys-apps/kmod: replace EROOT with BROOT in src_prepare (diff)
downloadgentoo-7113508106b2df2ebfe25d588357ea21869e1488.tar.gz
gentoo-7113508106b2df2ebfe25d588357ea21869e1488.tar.bz2
gentoo-7113508106b2df2ebfe25d588357ea21869e1488.zip
net-analyzer/netwox: port to EAPI 7, multilib--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/netwox/netwox-5.39.0.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/net-analyzer/netwox/netwox-5.39.0.ebuild b/net-analyzer/netwox/netwox-5.39.0.ebuild
index 962009bd0fde..60405d17bda4 100644
--- a/net-analyzer/netwox/netwox-5.39.0.ebuild
+++ b/net-analyzer/netwox/netwox-5.39.0.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# NOTE: netwib, netwox and netwag go together, bump all or bump none
-EAPI=5
-inherit multilib toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="Toolbox of 217 utilities for testing Ethernet/IP networks"
HOMEPAGE="
@@ -13,6 +14,7 @@ HOMEPAGE="
"
SRC_URI="mirror://sourceforge/ntwox/${P}-src.tgz
doc? ( mirror://sourceforge/ntwox/${P}-doc_html.tgz )"
+S="${WORKDIR}"/${P}-src/src
LICENSE="GPL-3"
SLOT="0"
@@ -26,9 +28,9 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${P}-src/src
-
src_prepare() {
+ default
+
sed -i \
-e 's:/man$:/share/man:g' \
-e "s:/lib:/$(get_libdir):" \
@@ -57,5 +59,8 @@ DOCS=(
src_install() {
default
- use doc && dohtml -r "${WORKDIR}"/${P}-doc_html/*
+ if use doc ; then
+ docinto html
+ dodoc -r "${WORKDIR}"/${P}-doc_html/*
+ fi
}