# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-py2app version 0.9 revision 1 categories-append devel license {MIT PSF} maintainers jmr openmaintainer description converts python scripts into executable Mac OS X apps long_description \ A distutils extension which converts python scripts into executable \ Mac OS X applications, able to run without requiring an existing python \ installation. This is a replacement for bundlebuilder. platforms darwin homepage http://wiki.python.org/moin/MacPython/py2app master_sites https://pypi.python.org/packages/source/p/py2app/ distname py2app-${version} checksums md5 eb31f5fefcf80aeaf4d02ec68d5978b4 \ rmd160 75f645d0605cf883dae7e05f6b597348e4ba6d63 \ sha256 7922672f9e99b50ed931780d43405ac134988b1532dd0659ef130b824f88c59d python.versions 26 27 33 34 if {$subport ne $name} { depends_lib-append port:py${python.version}-macholib post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ ${destroot}${prefix}/share/examples/${subport} xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${subport} file copy {*}[glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/py2app/ livecheck.regex py2app (0\.\[0-9\]+(\.\[0-9\]+)?) }