1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name qwtplot3d |
---|
4 | version 0.2.7 |
---|
5 | revision 0 |
---|
6 | categories graphics science |
---|
7 | maintainers nomaintainer |
---|
8 | description Qt-based 3D-widgets |
---|
9 | long_description Feature-rich Qt / OpenGL-based C++ programming library, \ |
---|
10 | providing 3D-widgets for technical applications |
---|
11 | homepage http://${name}.sourceforge.net |
---|
12 | master_sites sourceforge:${name} |
---|
13 | distname ${name}-${version} |
---|
14 | worksrcdir ${name} |
---|
15 | extract.suffix .tgz |
---|
16 | checksums md5 2f14660152e2e26bfeaaeec479ed9f2b \ |
---|
17 | sha1 4463fafb8420a91825e165da7a296aaabd70abea \ |
---|
18 | rmd160 0f28462cb95ef6091d73642c8b26ece60d50bfb8 |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | configure.cmd qmake |
---|
22 | configure.pre_args |
---|
23 | |
---|
24 | depends_lib port:qwt |
---|
25 | |
---|
26 | patch { |
---|
27 | reinplace "s|0.2.6|0.2.7|g" ${worksrcpath}/qwtplot3d.pro |
---|
28 | } |
---|
29 | |
---|
30 | destroot { |
---|
31 | cd ${destroot}/${prefix}/lib |
---|
32 | xinstall -m 0644 ${worksrcpath}/lib/lib${name}.${version}.dylib ${destroot}/${prefix}/lib |
---|
33 | ln -s lib${name}.${version}.dylib lib${name}.0.2.dylib |
---|
34 | ln -s lib${name}.${version}.dylib lib${name}.0.dylib |
---|
35 | ln -s lib${name}.${version}.dylib lib${name}.dylib |
---|
36 | system "mkdir -p ${destroot}/${prefix}/include/${name}" |
---|
37 | eval xinstall -m 0644 [glob ${worksrcpath}/include/*] ${destroot}/${prefix}/include/${name} |
---|
38 | } |
---|