commit:     5f924415a36d8cb841f6eaad63dd88d894afc547
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 08:21:53 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 08:23:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f924415

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 <AT> gentoo.org>

 app-shells/tcsh/tcsh-6.24.10.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-shells/tcsh/tcsh-6.24.10.ebuild 
b/app-shells/tcsh/tcsh-6.24.10.ebuild
index 31a4b4873882..32e21c05882c 100644
--- a/app-shells/tcsh/tcsh-6.24.10.ebuild
+++ b/app-shells/tcsh/tcsh-6.24.10.ebuild
@@ -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 \

Reply via email to