1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name qwtplot3d |
---|
6 | version 0.2.7 |
---|
7 | revision 0 |
---|
8 | categories graphics science |
---|
9 | maintainers nomaintainer |
---|
10 | description Qt-based 3D-widgets |
---|
11 | long_description Feature-rich Qt / OpenGL-based C++ programming library, \ |
---|
12 | providing 3D-widgets for technical applications |
---|
13 | homepage http://${name}.sourceforge.net |
---|
14 | master_sites sourceforge:${name} |
---|
15 | distname ${name}-${version} |
---|
16 | worksrcdir ${name} |
---|
17 | extract.suffix .tgz |
---|
18 | checksums md5 2f14660152e2e26bfeaaeec479ed9f2b \ |
---|
19 | sha1 4463fafb8420a91825e165da7a296aaabd70abea \ |
---|
20 | rmd160 0f28462cb95ef6091d73642c8b26ece60d50bfb8 |
---|
21 | platforms darwin |
---|
22 | |
---|
23 | set qt_dir ${prefix}/libexec/qt4-mac |
---|
24 | |
---|
25 | configure.cmd ${qt_dir}/bin/qmake |
---|
26 | configure.pre_args |
---|
27 | |
---|
28 | depends_lib port:qwt |
---|
29 | |
---|
30 | patch { |
---|
31 | reinplace "s|0.2.6|0.2.7|g" ${worksrcpath}/qwtplot3d.pro |
---|
32 | } |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 0644 ${worksrcpath}/lib/lib${name}.${version}.dylib ${destroot}/${prefix}/lib |
---|
36 | system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.2.dylib" |
---|
37 | system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.dylib" |
---|
38 | system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.dylib" |
---|
39 | xinstall -m 755 -d ${destroot}/${prefix}/include/${name} |
---|
40 | eval xinstall -m 0644 [glob ${worksrcpath}/include/*] ${destroot}/${prefix}/include/${name} |
---|
41 | } |
---|