# -*- 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 45511 2009-01-16 21:09:14Z jmr@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-py2app-devel version 0.4.2 revision 1 categories-append devel 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://undefined.org/python/#py2app fetch.type svn svn.url http://svn.pythonmac.org/py2app/py2app/trunk/ worksrcdir trunk set apymacholibfile "/lib/python2.5/site-packages/macholib/__init__.py" depends_lib-append port:py25-setuptools \ port:py25-altgraph \ path:${prefix}${apymacholibfile}:py25-macholib \ port:py25-modulegraph-devel \ port:py25-bdist_mpkg post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/examples/${name} xinstall -m 644 -W ${worksrcpath} LICENSE.txt NEWS.txt README.txt \ ${destroot}${prefix}/share/doc/${name} eval copy [glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${name} fs-traverse dir ${destroot}${prefix}/share/examples/${name} { if {[file isdirectory $dir] && [file tail dir] == ".svn"} { delete $dir } } } livecheck.check regex livecheck.url http://svn.pythonmac.org/py2app/py2app/trunk/py2app/__init__.py livecheck.regex {__version__ = "([0-9\.]+)"}