commit:     c316deffd6304fb3a11748bc415e88b4fb180af3
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 08:07:36 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 08:07:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c316deff

dev-cpp/notcurses: install manpages unconditionally

 - 150 kb worth of files in total.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-cpp/notcurses/notcurses-2.2.3.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/notcurses/notcurses-2.2.3.ebuild 
b/dev-cpp/notcurses/notcurses-2.2.3.ebuild
index e605c199a79..8cf6e10a753 100644
--- a/dev-cpp/notcurses/notcurses-2.2.3.ebuild
+++ b/dev-cpp/notcurses/notcurses-2.2.3.ebuild
@@ -8,11 +8,11 @@ inherit cmake-multilib
 
 DESCRIPTION="Blingful TUIs and character graphics"
 HOMEPAGE="https://notcurses.com";
-SRC_URI="https://github.com/dankamongmen/notcurses/archive/v${PV}.tar.gz -> 
${P}.tar.gz doc? ( 
https://github.com/dankamongmen/notcurses/releases/download/v${PV}/notcurses-doc-${PV}.tar.gz
 )"
+SRC_URI="https://github.com/dankamongmen/notcurses/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://github.com/dankamongmen/notcurses/releases/download/v${PV}/notcurses-doc-${PV}.tar.gz";
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+doc"
 
 DEPEND="dev-libs/libunistring
        media-video/ffmpeg
@@ -40,12 +40,11 @@ src_test() {
 
 src_install() {
        cmake-multilib_src_install
-       if use doc ; then
-               # we use this tortured form lest we try, every time we release a
-               # x.y.1 or x.y.3, to install the source dir as a man page.
-               # exploit the fact that there's a bijection from html<>man.
-               for i in ../*.html ; do
-                       doman ../$(basename $i .html)
-               done
-       fi
+
+       # we use this tortured form lest we try, every time we release a
+       # x.y.1 or x.y.3, to install the source dir as a man page.
+       # exploit the fact that there's a bijection from html<>man.
+       for i in ../*.html ; do
+               doman ../$(basename $i .html)
+       done
 }

Reply via email to