# -*- 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
maintainers {internode.on.net:arsptr @randomphrase}
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 pypi:a/${real_name}
distname ${real_name}-${version}
checksums rmd160 d5bc7581a0149500b6bed18c47711ddc31024658 \
sha256 24eae98bb50bd6788be9e7ce03cea1187788d63e70712eedcf186dc1b9fb6578
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
set subdir appscript_[string index ${python.version} 0]x
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/${subdir}
file copy ${worksrcpath}/${subdir}/sample \
${destroot}${prefix}/share/doc/${subport}/${subdir}/sample
file copy ${worksrcpath}/${subdir}/doc \
${destroot}${prefix}/share/doc/${subport}/${subdir}/doc
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}