# -*- 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-pyobjc-cocoa python.rootname pyobjc-framework-Cocoa version 3.0.4 categories-append devel platforms darwin license MIT maintainers nomaintainer description cocoa wrappers for PyObjC long_description This port provides the CoreFoundation, Foundation \ and AppKit wrappers for use with PyObjC. homepage http://pyobjc.sourceforge.net/ master_sites pypi:p/${python.rootname}/ distname ${python.rootname}-${version} checksums rmd160 f3055447c484aecd164891c9200710e74c352153 \ sha256 e90849433dab2ea02b393ced2ca02822dc9d98aba46311ee3ea971ad19e947cc python.versions 27 34 35 if {${name} ne ${subport}} { depends_lib port:py${python.version}-pyobjc platform darwin 8 { depends_fetch depends_lib pre-fetch { return -code error "PyObjC 2 requires Mac OS X 10.5 or later" } } post-destroot { xinstall -m 644 -W ${worksrcpath} \ LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/Examples \ ${destroot}${prefix}/share/doc/${subport}/examples copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type pypi }