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 90856 2012-03-16 04:54:57Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pyobjc-qtkit |
---|
8 | version 2.5.1 |
---|
9 | categories-append devel |
---|
10 | license MIT |
---|
11 | maintainers gmail.com:lkraider+ports openmaintainer |
---|
12 | platforms darwin |
---|
13 | supported_archs noarch |
---|
14 | description QTKit wrappers for PyObjC |
---|
15 | long_description This port provides wrappers for the QTKit framework for \ |
---|
16 | use with PyObjC. QTKit is an modern, object-oriented \ |
---|
17 | framework for working with QuickTime media in Cocoa \ |
---|
18 | applications, and is a replacement for the older \ |
---|
19 | Carbon-based Quicktime framework. |
---|
20 | |
---|
21 | homepage http://pyobjc.sourceforge.net/ |
---|
22 | master_sites http://pypi.python.org/packages/source/p/pyobjc-framework-QTKit/ |
---|
23 | distname pyobjc-framework-QTKit-${version} |
---|
24 | |
---|
25 | checksums md5 d88494989d6c62ecfe2ac9c8948206fa \ |
---|
26 | sha1 a5756adcac995aea380b88be9f2e00a53bbcb248 \ |
---|
27 | rmd160 a2d177c3e1e80f0fd08e7966ee9b3473702154e8 |
---|
28 | |
---|
29 | python.versions 26 27 31 32 33 |
---|
30 | python.default_version 27 |
---|
31 | |
---|
32 | if {$subport != $name} { |
---|
33 | depends_lib port:py${python.version}-pyobjc-quartz |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | xinstall -m 644 -W ${worksrcpath} \ |
---|
37 | LICENSE.txt README.txt \ |
---|
38 | ${destroot}${prefix}/share/doc/${subport} |
---|
39 | copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport} |
---|
40 | } |
---|
41 | } else { |
---|
42 | livecheck.type regex |
---|
43 | livecheck.url http://pypi.python.org/pypi/pyobjc-framework-QTKit/ |
---|
44 | livecheck.regex {pyobjc-framework-QTKit ([0-9.]+)} |
---|
45 | } |
---|