Package-Name: tcsh
Gentoo-Package: app-shells/tcsh
Requires: glibc
Compile-Requires: gcc binutils make
Homepage: http://www.tcsh.org/
Source: ftp://ftp.gw.com/pub/unix/tcsh/tcsh-(\d+.\d+.\d+).tar.gz $1
Zap-Before-Install: 1
Repack:
	tar xzvfp "$(SOURCE)"
Compile:
	cp -p BUGS FAQ Fixes README WishList Y2K "$(PREFIX)/"
	$(MAKE) -f ../Makefile configure
	$(MAKE) DFLAGS='-D_PATH_TCSHELL=\"/bin/tcsh\"'
	$(MAKE) install install.man
Install:
	if test -x /bin/tcsh ; then mv -f /bin/tcsh "$(PREFIX)/bin/tcsh.old" ; fi
	mv -f "$(PREFIX)/bin/tcsh" /bin/tcsh
	ln -fs tcsh /bin/csh
	$(MAKE) instman SECTION=1 MAN=tcsh
Patch: <<EOT
######## begin ignore-unknown-ls-colors.diff
--- ../tcsh-6.15.00-orig/tw.color.c	2006-03-03 03:46:45 +0900
+++ tw.color.c	2007-11-25 01:36:45 +0900
@@ -241,8 +241,8 @@
 		    getstring(&c, &v, &variables[i].color, ':');
 		    continue;
 		}
-		else
-		    stderror(ERR_BADCOLORVAR, v[0], v[1]);
+//		else
+//		    stderror(ERR_BADCOLORVAR, v[0], v[1]);
 	    }
 	    break;
 	}
######## end ignore-unknown-ls-colors.diff
EOT

-/etc/csh.cshrc
-/etc/csh.login
/bin/csh
/bin/tcsh
/etc/csh.cshrc
/etc/csh.login
/pkg/tcsh/
/usr/man/man1/tcsh.1.gz
