blob: 21d25d1d3eda3e57a00cd46f1612cd2b24a75dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.11.ebuild,v 1.2 2002/07/16 03:12:06 owen 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 )"
HOMEPAGE="http://www.tcsh.org/"
SLOT="0"
LICENSE="BSD"
KEYWORDS="x86 ppc"
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/${P}-tc.os.h-gentoo.diff || die
}
src_compile() {
econf \
--prefix=/ || die
emake || die
}
src_install() {
make DESTDIR=${D} install install.man || die
use perl && ( \
perl tcsh.man2html || die
dohtml tcsh.html/*.html
)
dosym /bin/tcsh /bin/csh
dodoc FAQ Fixes NewThings Ported README WishList Y2K
insinto /etc
doins ${FILESDIR}/csh.cshrc ${FILESDIR}/csh.login
}
|