summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-02-02 09:21:53 +0100
committerFabian Groffen <grobian@gentoo.org>2024-02-02 09:23:16 +0100
commit5f924415a36d8cb841f6eaad63dd88d894afc547 (patch)
treea012e2036702554abefc134dd369dd910b21b4a0 /app-shells
parentx11-misc/mygestures: fix build with upcoming gcc14 (diff)
downloadgentoo-5f924415a36d8cb841f6eaad63dd88d894afc547.tar.gz
gentoo-5f924415a36d8cb841f6eaad63dd88d894afc547.tar.bz2
gentoo-5f924415a36d8cb841f6eaad63dd88d894afc547.zip
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>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/tcsh/tcsh-6.24.10.ebuild14
1 files 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 \