mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-shells/tcsh-6.24.10: drop USE=doc add USE=man
There is no documentation (html-version of the man-page) any more in this version. Install the manpage when USE=man only. Closes: https://bugs.gentoo.org/923475 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -17,7 +17,7 @@ SRC_URI="
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="nls doc"
|
||||
IUSE="nls man"
|
||||
RESTRICT="test"
|
||||
|
||||
# we need gettext because we run autoconf (AM_ICONV)
|
||||
@@ -26,8 +26,7 @@ RDEPEND="
|
||||
virtual/libcrypt:=
|
||||
virtual/libiconv"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
doc? ( dev-lang/perl )"
|
||||
sys-devel/gettext"
|
||||
|
||||
CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
|
||||
|
||||
@@ -93,12 +92,13 @@ src_install() {
|
||||
emake DESTDIR="${D}" install install.man
|
||||
|
||||
DOCS=( FAQ Fixes Ported README.md WishList Y2K )
|
||||
if use doc ; then
|
||||
perl tcsh.man2html tcsh.man || die
|
||||
HTML_DOCS=( tcsh.html/*.html )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
if use man ; then
|
||||
mv tcsh.man{,1}
|
||||
doman tcsh.man1
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins \
|
||||
"${CONFDIR}"/csh.cshrc \
|
||||
|
||||
Reference in New Issue
Block a user