--- Portfile.orig	2007-04-13 00:28:04.000000000 -0400
+++ Portfile	2008-11-05 16:53:07.000000000 -0500
@@ -5,7 +5,7 @@
 name            tcsh
 version         6.15.00
 categories      shells
-maintainers     waqar@macports.org
+maintainers     waqar
 description     C shell with file name completion and command line editing 
 long_description \
     Tcsh is a version of the Berkeley C-Shell, with the addition of: a  \
@@ -14,9 +14,9 @@
 
 homepage        http://www.tcsh.org/Home
 platforms       darwin
-master_sites	ftp://ftp.funet.fi/pub/unix/shells/${name}/ \
-                  ftp://ftp.astron.com/pub/${name}/ \
-                  ftp://ftp.gw.com/pub/unix/${name}/ 
+master_sites	ftp://ftp.funet.fi/pub/unix/shells/${name}/old/ \
+                  ftp://ftp.astron.com/pub/${name}/old/ \
+                  ftp://ftp.gw.com/pub/unix/${name}/old 
 checksums       md5 67a0611620b080bd0eb032b1774382b6 \
                 sha1 d24f7bf27e80222a6293b6629c14db547f0b7387 \
                 rmd160 8065279e93bd3fddb2a95a3f74a680858d36508c
@@ -26,6 +26,6 @@
 depends_lib     port:libiconv \
                 port:ncurses
 
-livecheck.check md5
-livecheck.url   ftp://ftp.funet.fi/pub/unix/shells/${name}/
-livecheck.md5   6397135fdcd1cef68247e03f39dd0f29
+livecheck.check  regex
+livecheck.url    http://www.tcsh.org/MostRecentRelease
+livecheck.regex  "The most recent Tcsh release is \[^\\d\]*(\\d+(?:\\.\\d+)*)\[^\\d\]*"

