Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (34 sloc) 1.7 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-appscript
version 1.0.1
revision 0
platforms darwin
license public-domain
maintainers nomaintainer
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/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 d5bc7581a0149500b6bed18c47711ddc31024658 \
sha256 24eae98bb50bd6788be9e7ce03cea1187788d63e70712eedcf186dc1b9fb6578 \
size 411330
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
post-destroot {
set subdir appscript_[string index ${python.version} 0]x
xinstall -m 0755 -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.type none
}
You can’t perform that action at this time.