Index: Portfile
===================================================================
--- Portfile	(revision 137234)
+++ Portfile	(working copy)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    ast
-version                 8.0.2
+version                 8.0.4
 categories              science
 platforms               darwin
 maintainers             aronnax
@@ -16,11 +16,12 @@
     for retrieving and interpreting that information and for generating \
     graphical output based on it.
 
-homepage                http://starlink.jach.hawaii.edu/starlink/AST
+homepage                http://starlink.eao.hawaii.edu/starlink/AST
 master_sites            http://www.starlink.ac.uk/download/ast/
-checksums               sha1    4dd7d9696bd1354c0ddb8e21600921364e317ae5 \
-                        rmd160  018db35038328b2959317f8ed48d33bcf8526080
 
+checksums               rmd160  cbe51a629d901aa37d0741b3ae0dd40e75485945 \
+                        sha256  39d8b1479382b936823444278075b305be22e2001fb85ef155dacd09c547ee01
+
 universal_variant no
 
 set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9}
@@ -69,8 +70,10 @@
     }
 }
 
-destroot.args-append    stardocsdir=${prefix}/share/docs \
-                        starexamplesdir=${prefix}/share/examples \
+set docdir              ${prefix}/share/doc/${subport}
+
+destroot.args-append    stardocsdir=${docdir} \
+                        starexamplesdir=${docdir}/examples \
                         starfacsdir=${prefix}/share/help \
                         starhelpdir=${prefix}/share/help \
                         starnewsdir=${prefix}/share/news \
