diff options
Diffstat (limited to 'app-shells/tcsh/tcsh-6.24.10.ebuild')
-rw-r--r-- | app-shells/tcsh/tcsh-6.24.10.ebuild | 14 |
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 \ |