new version
authorMaik Schreiber <blizzy@gentoo.org>
Mon, 21 Oct 2002 18:09:03 +0000 (18:09 +0000)
committerMaik Schreiber <blizzy@gentoo.org>
Mon, 21 Oct 2002 18:09:03 +0000 (18:09 +0000)
app-shells/tcsh/ChangeLog
app-shells/tcsh/files/digest-tcsh-6.12 [new file with mode: 0644]
app-shells/tcsh/files/tcsh-6.12-tc.os.h-gentoo.diff [new file with mode: 0644]
app-shells/tcsh/tcsh-6.12.ebuild [new file with mode: 0644]

index 63947311c5b0902be5118e878026202badb9ecad..bb13208bceebe68c3e98c6d49c8646979cb5bb32 100644 (file)
@@ -1,33 +1,37 @@
 # ChangeLog for app-shells/tcsh
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.5 2002/09/20 18:57:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/ChangeLog,v 1.6 2002/10/21 18:09:03 blizzy Exp $
+
+*tcsh-6.12 (21 Oct 2002)
+
+  21 Oct 2002; Maik Schreiber <blizzy@gentoo.org> : New version, closes bug
+  #6406.
 
 *tcsh-6.11 (09 Jul 2002)
 
-  19 Sept 2002; Mike Frysinger <vapier@gentoo.org> :
-  Added more hosts to SRC_URI and added HOMEPAGE variable
+  19 Sept 2002; Mike Frysinger <vapier@gentoo.org> : Added more hosts to
+  SRC_URI and added HOMEPAGE variable
 
-  15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
-  Changed KEYWORDS="*" to KEYWORDS="x86 ppc"
+  15 Jul 2002; Owen Stampflee <owen@gentoo.org> : Changed KEYWORDS="*" to
+  KEYWORDS="x86 ppc"
 
-  09 Jul 2002; Seemant Kulleen <seemant@gentoo.org> tcsh-6.11.ebuild
+  09 Jul 2002; Seemant Kulleen <seemant@gentoo.org> tcsh-6.11.ebuild,
   files/digest-tcsh-6.11 :
 
   Version bump.  Thanks to: gentoo@subgroove.net in bug #4740
 
 *tcsh-6.10-r3 (21 Mar 2002)
 
-  19 Sept 2002; Mike Frysinger <vapier@gentoo.org> :
-  Added more hosts to SRC_URI and added HOMEPAGE variable
-
-  21 Mar 2002; Seemant Kulleen <seemant@gentoo.org>  tcsh-6.10-r3.ebuild :
+  19 Sept 2002; Mike Frysinger <vapier@gentoo.org> : Added more hosts to
+  SRC_URI and added HOMEPAGE variable
 
-  HTML documentation will not get gzipped any longer.  Thanks to
+  21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> tcsh-6.10-r3.ebuild:
+  HTML documentation will not get gzipped any longer. Thanks to
   stefan@mdy.univie.ac.at for pointing this out.
 
-*tcsh-6.10-r2 (1 Feb 2002)
+*tcsh-6.10-r2 (01 Feb 2002)
 
-  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+  01 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
   
   Added initial ChangeLog which should be updated whenever the package is
   updated in any way. This changelog is targetted to users. This means that the
diff --git a/app-shells/tcsh/files/digest-tcsh-6.12 b/app-shells/tcsh/files/digest-tcsh-6.12
new file mode 100644 (file)
index 0000000..7733a66
--- /dev/null
@@ -0,0 +1 @@
+MD5 dccf1e673103594546fe74c313932428 tcsh-6.12.00.tar.gz 824297
diff --git a/app-shells/tcsh/files/tcsh-6.12-tc.os.h-gentoo.diff b/app-shells/tcsh/files/tcsh-6.12-tc.os.h-gentoo.diff
new file mode 100644 (file)
index 0000000..b7faeaf
--- /dev/null
@@ -0,0 +1,10 @@
+--- tc.os.h~   Sat Nov 11 23:03:39 2000
++++ tc.os.h    Fri Apr 13 15:32:16 2001
+@@ -88,6 +88,7 @@
+ 
+ #if defined(linux) || defined(__NetBSD__) || defined(__FreeBSD__) || SYSVREL >= 4  || defined(_MINIX_VMD)
+ # undef NEEDstrerror
++# include <time.h>
+ #endif /* linux || __NetBSD__ || __FreeBSD__ || SYSVREL >= 4 || _MINIX_VMD */
+ 
+ #if !defined(pyr) && !defined(sinix)
diff --git a/app-shells/tcsh/tcsh-6.12.ebuild b/app-shells/tcsh/tcsh-6.12.ebuild
new file mode 100644 (file)
index 0000000..d505580
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.12.ebuild,v 1.1 2002/10/21 18:09:03 blizzy Exp $
+
+MY_P="${PN}-${PV}.00"
+
+DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
+SRC_URI="ftp://ftp.astron.com/pub/tcsh/${MY_P}.tar.gz"
+HOMEPAGE="http://www.tcsh.org"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+IUSE="perl"
+
+RDEPEND="virtual/glibc
+       >=sys-libs/ncurses-5.1
+       perl? ( sys-devel/perl )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       patch -p0 < ${FILESDIR}/${P}-tc.os.h-gentoo.diff || die
+}
+
+src_compile() {
+       econf --prefix=/ || die "configure problem"
+       emake || die "compile problem"
+}
+
+src_install() {
+       make DESTDIR=${D} install install.man || die
+
+       if [ "`use perl`" ] ; then
+               perl tcsh.man2html || die
+               dohtml tcsh.html/*.html
+       fi
+
+       dosym /bin/tcsh /bin/csh
+       dodoc FAQ Fixes NewThings Ported README WishList Y2K
+
+       insinto /etc
+       doins ${FILESDIR}/csh.cshrc ${FILESDIR}/csh.login
+}