# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-appscript
version             0.19.0
categories          python
platforms           darwin
maintainers         internode.on.net:arsptr
description         High-level application scripting package for Python
long_description    Appscript is a high-level, user-friendly MacPython to \
                    Apple event bridge that allows you to control scriptable \
                    Mac OS X applications using ordinary Python scripts. \
                    Appscript makes MacPython a serious alternative to Apple's \
                    own AppleScript language for automating your Mac.

homepage            http://appscript.sourceforge.net/
master_sites        http://pypi.python.org/packages/source/a/appscript/
distname            appscript-${version}

depends_lib-append  port:py25-distribute

checksums           md5     d234c1f1b92290da9eb866f78f9a7343 \
                    sha1    ef4352e6cab42bf9f64fd5680a49d1a5acd8ffe3 \
                    rmd160  7c68a3fdfb5fac496a97e05397890477b5267990

post-destroot {
    file copy ${worksrcpath}/sample ${destroot}${prefix}/share/doc/${name}/sample
    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/doc
}
