1 | # -*- 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 |
---|
2 | # $Id: Portfile 90855 2012-03-16 04:41:36Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pyobjc-quartz |
---|
8 | version 2.5.1 |
---|
9 | categories-append devel |
---|
10 | license MIT |
---|
11 | maintainers gmail.com:lkraider+ports openmaintainer |
---|
12 | platforms darwin |
---|
13 | description Quartz wrappers for PyObjC |
---|
14 | long_description This port provides the CoreGraphics, ImageIO, \ |
---|
15 | QuartzComposer, QuartzCore, QuartzFilters, ImageKit, \ |
---|
16 | PDFKit and CoreVideo framework wrappers \ |
---|
17 | for use with PyObjC. |
---|
18 | |
---|
19 | homepage http://pyobjc.sourceforge.net/ |
---|
20 | master_sites http://pypi.python.org/packages/source/p/pyobjc-framework-Quartz/ |
---|
21 | distname pyobjc-framework-Quartz-${version} |
---|
22 | |
---|
23 | checksums md5 8ac7d4b6028a81a428cda75de2732ee9 \ |
---|
24 | sha1 114121fdb449288f8ac3e40fe86c56508661171f \ |
---|
25 | rmd160 395dfdf566ebf3c56fbba6b0415881d7cef5c622 |
---|
26 | |
---|
27 | python.versions 26 27 31 32 33 |
---|
28 | python.default_version 27 |
---|
29 | |
---|
30 | if {$subport != $name} { |
---|
31 | depends_lib port:py${python.version}-pyobjc |
---|
32 | |
---|
33 | post-destroot { |
---|
34 | xinstall -m 644 -W ${worksrcpath} \ |
---|
35 | LICENSE.txt README.txt \ |
---|
36 | ${destroot}${prefix}/share/doc/${subport} |
---|
37 | copy ${worksrcpath}/Examples \ |
---|
38 | ${destroot}${prefix}/share/doc/${subport}/examples |
---|
39 | copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport} |
---|
40 | } |
---|
41 | livecheck.type none |
---|
42 | } else { |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url http://pypi.python.org/pypi/pyobjc-framework-Quartz/ |
---|
45 | livecheck.regex {pyobjc-framework-Quartz ([0-9.]+)} |
---|
46 | } |
---|