# -*- 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
python.rootname pyobjc-framework-Quartz
description Quartz wrappers for PyObjC
long_description This port provides the CoreGraphics, ImageIO, \
QuartzComposer, QuartzCore, QuartzFilters, ImageKit, \
PDFKit and CoreVideo framework wrappers \
homepage https://pythonhosted.org/pyobjc/
master_sites pypi:p/${python.rootname}/
distname ${python.rootname}-${version}
checksums rmd160 977190becfc230676e401912e3dca182b8b585a4 \
sha256 79ca11ab1285533852585854398be6e7f2ef209f9f3ad5d0a2bec90a77d654d7 \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-pyobjc \
port:py${python.version}-pyobjc-cocoa
if {${configure.sdkroot} eq ""} {
set sdkroot ${configure.sdkroot}
build.env-append SDKROOT=${sdkroot}
ui_error "${subport} @${version} requires Mac OS X 10.5 or later"
return -code error "incompatible Mac OS X version"
xinstall -m 0644 -W ${worksrcpath} \
${destroot}${prefix}/share/doc/${subport}
copy ${worksrcpath}/Examples \
${destroot}${prefix}/share/doc/${subport}/examples