--- /opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate_dports/python/py-appscript/Portfile	2006-11-02 21:03:23.000000000 +0100
+++ py-appscript.portfile	2007-03-08 18:22:40.000000000 +0100
@@ -4,7 +4,7 @@
 PortGroup python24 1.0
 
 name			   py-appscript
-version			   0.15.5
+version			   0.17.0
 categories		   python
 platforms		   darwin
 maintainers		   arsptr@internode.on.net
@@ -15,12 +15,22 @@
                    alternative to Apple's own AppleScript language for automating your \
                    Mac.
 
-homepage		   http://freespace.virgin.net/hamish.sanderson/appscript.html
-master_sites       http://cheeseshop.python.org/packages/source/a/appscript/
+homepage		   http://appscript.sourceforge.net/
+master_sites       sourceforge:appscript
 distname           appscript-${version}
 
-depends_lib-append port:py-osaterminology port:py-htmltemplate
+depends_lib-append port:py-htmltemplate
+
+checksums	md5 311f0da00294972f8ff22173d4bb16ea \
+		sha1 4cbef0909c173e25c2b5ba003de2ce5e89cc1f21 \
+		rmd160 8d520a11c66af1ebafba6abbe97f8dec720ef910 
+
+post-destroot    {
+		xinstall -d ${destroot}${prefix}/share/doc/py-appscript
+		file copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/py-appscript
+		xinstall -d ${destroot}${prefix}/share/doc/py-appscript
+		file copy ${worksrcpath}/Documentation ${destroot}${prefix}/share/doc/py-appscript/
+		xinstall -m 0755 ${worksrcpath}/Extras/osadict/osadict ${destroot}${prefix}/bin
+		xinstall -m 0755 ${worksrcpath}/Extras/osascangui/osascangui ${destroot}${prefix}/bin
+}
 
-checksums	md5 e1e834f9a12b088e179e1bde4ea7a24f \
-		sha1 f8a95c3c0e0b62f3b6d104abd7032669085fe1d1 \
-		rmd160 b502fc17f0747ed11caf5883cd16c0f318b152cb

