source: trunk/dports/python/py-PyQGLViewer/Portfile

Last change on this file was 120842, checked in by mf2k@…, 3 years ago

py-PyQGLViewer: Fix livecheck. (#40790)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
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 120842 2014-06-09 20:21:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-PyQGLViewer
8version             0.11
9revision            2
10categories-append   graphics
11platforms           darwin
12maintainers         inria.fr:christophe.pradal openmaintainer
13license             {GPL-2+ Commercial}
14
15description         PyQGLViewer is a set of Python bindings for libQGLViewer
16
17long_description    PyQGLViewer is a set of Python bindings for the libQGLViewer C++ class library which ease \
18                    the creation of OpenGL 3D viewers. It provides some of the typical \
19                    3D viewer functionalities, such as the possibility to move the \
20                    camera using the mouse, which lacks in most of the other APIs. \
21                    Other features include mouse manipulated frames, interpolated \
22                    keyFrames, object selection, stereo display, screenshot saving \
23                    and much more. It can be used by OpenGL beginners as well as \
24                    to create complex applications, being fully customizable and \
25                    easy to extend.
26
27homepage            http://pyqglviewer.gforge.inria.fr/
28master_sites        https://gforge.inria.fr/frs/download.php/30908
29worksrcdir          PyQGLViewer
30distname            ${worksrcdir}-${version}
31use_zip             yes
32
33checksums           rmd160  b7538e06c47370f9c9f2df70fc41932145621281 \
34                    sha256  7f37a2d073816966c076c718af3cd2af3a934e0a812d6ca9703dc595edba59bc
35
36# Note that python 3.1 is not supported
37python.versions     27
38
39if {${name} ne ${subport}} {
40    depends_build-append port:mesa
41
42    # Can use either py*-pyqt4 or py*-pyqt4-devel.
43    depends_lib-append  path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 \
44                        port:libQGLViewer \
45                        port:py${python.version}-sip
46
47    use_configure       yes
48    configure.cmd       ${python.bin} configure.py
49    configure.pre_args
50    configure.args      -Q ${prefix}/include \
51                        -I ${prefix}/include \
52                        -I ${python.include} \
53                        -L ${prefix}/lib
54    configure.universal_args
55
56    build.cmd           make
57    build.target        all
58
59    destroot.cmd        make
60    destroot.target     install
61    destroot.destdir    DESTDIR=${destroot}
62}
63
64livecheck.type      regex
65livecheck.url       ${homepage}
66livecheck.regex     "PyQGLViewer sources (\[0-9\.\]+)"
Note: See TracBrowser for help on using the repository browser.