summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-04-10 16:57:27 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-04-10 17:33:01 +0200
commit522f3401b7b2cff400a44f8f392ebff68426b6a6 (patch)
tree60dee6bd2b054d2db8f013ab7849ce6ff891682d /net-misc
parentnet-misc/wget2: Removed old (diff)
downloadgentoo-522f3401b7b2cff400a44f8f392ebff68426b6a6.tar.gz
gentoo-522f3401b7b2cff400a44f8f392ebff68426b6a6.tar.bz2
gentoo-522f3401b7b2cff400a44f8f392ebff68426b6a6.zip
net-misc/wget2: Unbreak live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/wget2/wget2-9999.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/net-misc/wget2/wget2-9999.ebuild b/net-misc/wget2/wget2-9999.ebuild
index 632bafad63f9..57cdc0a2f977 100644
--- a/net-misc/wget2/wget2-9999.ebuild
+++ b/net-misc/wget2/wget2-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="GNU Wget2 is a file and recursive website downloader"
HOMEPAGE="https://gitlab.com/gnuwget/wget2"
@@ -108,7 +108,16 @@ src_configure() {
src_install() {
default
- doman docs/man/man{1/*.1,3/*.3}
+ if [[ ${PV} == *9999 ]] ; then
+ if use doc ; then
+ local mpage
+ for mpage in $(find docs/man -type f -regextype grep -regex ".*\.[[:digit:]]$") ; do
+ doman ${mpage}
+ done
+ fi
+ else
+ doman docs/man/man{1/*.1,3/*.3}
+ fi
find "${D}" -type f -name '*.la' -delete || die
rm "${ED}"/usr/bin/${PN}_noinstall || die