mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/notcurses: install manpages unconditionally
- 150 kb worth of files in total. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user