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: $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-PyQGLViewer |
---|
8 | version 0.11 |
---|
9 | |
---|
10 | platforms darwin |
---|
11 | categories-append graphics |
---|
12 | maintainers inria.fr:christophe.pradal openmaintainer |
---|
13 | license {GPL-2+ Commercial} |
---|
14 | |
---|
15 | description PyQGLViewer is a set of Python bindings for libQGLViewer |
---|
16 | long_description PyQGLViewer is a set of Python bindings for the libQGLViewer C++ class library which ease \ |
---|
17 | the creation of OpenGL 3D viewers. It provides some of the typical \ |
---|
18 | 3D viewer functionalities, such as the possibility to move the \ |
---|
19 | camera using the mouse, which lacks in most of the other APIs. \ |
---|
20 | Other features include mouse manipulated frames, interpolated \ |
---|
21 | keyFrames, object selection, stereo display, screenshot saving \ |
---|
22 | and much more. It can be used by OpenGL beginners as well as \ |
---|
23 | to create complex applications, being fully customizable and \ |
---|
24 | easy to extend. |
---|
25 | |
---|
26 | homepage http://pyqglviewer.gforge.inria.fr |
---|
27 | master_sites https://gforge.inria.fr/frs/download.php/30908/ |
---|
28 | distname PyQGLViewer |
---|
29 | |
---|
30 | use_zip yes |
---|
31 | |
---|
32 | checksums rmd160 b7538e06c47370f9c9f2df70fc41932145621281 \ |
---|
33 | sha256 7f37a2d073816966c076c718af3cd2af3a934e0a812d6ca9703dc595edba59bc |
---|
34 | |
---|
35 | # Note that python 3.1 is not supported |
---|
36 | python.versions 27 |
---|
37 | python.default_version 27 |
---|
38 | |
---|
39 | if {$subport ne $name} { |
---|
40 | |
---|
41 | use_configure yes |
---|
42 | |
---|
43 | depends_lib-append port:py${python.version}-pyqt4 \ |
---|
44 | port:libPyQGLViewer \ |
---|
45 | port:py${python.version}-sip |
---|
46 | |
---|
47 | configure.cmd ${prefix}/bin/python${python.branch} configure.py |
---|
48 | configure.pre_args |
---|
49 | configure.args -Q ${prefix}/include -I ${prefix}/include -I ${python.include} -L ${prefix}/lib |
---|
50 | |
---|
51 | build.cmd make |
---|
52 | destroot.cmd make install |
---|
53 | destroot.destdir DESTDIR=${destroot} |
---|
54 | } |
---|
55 | |
---|
56 | livecheck.type regex |
---|
57 | livecheck.url ${homepage} |
---|
58 | livecheck.regex PyQGLViewer-(\[0-9\.\]+)\.zip |
---|