# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger # $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.10-r3.ebuild,v 1.1 2002/03/21 11:49:19 seemant Exp $ S=${WORKDIR}/${P}.00 DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" #ugh, astron.com doesn't support passive ftp... maybe another source? SRC_URI="ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz" DEPEND="virtual/glibc >=sys-libs/ncurses-5.1 perl? ( sys-devel/perl )" src_unpack() { unpack ${A} cd ${S} patch -p0 < ${FILESDIR}/${P}-tc.os.h-gentoo.diff } src_compile() { ./configure \ --prefix=/ \ --mandir=/usr/share/man \ --host=${CHOST} \ || die emake || die } src_install() { make DESTDIR=${D} install install.man || die if [ "`use perl`" ] then perl tcsh.man2html || die dohtml tcsh.html/*.html fi dosym tcsh /bin/csh dodoc FAQ Fixes NewThings Ported README WishList Y2K insinto /etc doins ${FILESDIR}/csh.cshrc ${FILESDIR}/csh.login }