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 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 | |
---|
38 | if {$subport != $name} { |
---|
39 | |
---|
40 | use_configure yes |
---|
41 | |
---|
42 | depends_lib-append port:py${python.version}-pyqt4 \ |
---|
43 | port:libPyQGLViewer \ |
---|
44 | port:py${python.version}-sip |
---|
45 | |
---|
46 | configure.cmd ${prefix}/bin/python${python.branch} configure.py |
---|
47 | configure.pre_args -Q ${prefix}/include -I ${prefix}/include -I ${prefix}/include/python${python.branch} -I /opt/X11/include -L ${prefix}/lib |
---|
48 | |
---|
49 | build.cmd make |
---|
50 | destroot.cmd make install |
---|
51 | destroot.destdir DESTDIR=${destroot} |
---|
52 | |
---|
53 | |
---|
54 | livecheck.type regex |
---|
55 | livecheck.url ${homepage} |
---|
56 | livecheck.regex PyQGLViewer-(\[0-9\.\]+)\.zip |
---|