1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name Coin |
---|
5 | version 2.4.3 |
---|
6 | description cross platform C++ OpenGL scene graph library |
---|
7 | long_description Coin is a high-level 3D graphics library with a \ |
---|
8 | C++ Application Programming Interface. Coin uses scene-graph data \ |
---|
9 | structures to render real-time graphics suitable for mostly all \ |
---|
10 | kinds of scientific and engineering visualization applications. |
---|
11 | |
---|
12 | categories graphics devel |
---|
13 | homepage http://www.coin3d.org/lib/coin/ |
---|
14 | platforms darwin |
---|
15 | maintainers cssdev@mac.com |
---|
16 | master_sites http://ftp.coin3d.org/coin/src/all/ |
---|
17 | checksums md5 57c039a55133c5037ebef6759d26f603 |
---|
18 | |
---|
19 | depends_build lib:libX11.6:XFree86 bin:doxygen:doxygen |
---|
20 | depends_lib port:simage |
---|
21 | |
---|
22 | use_configure yes |
---|
23 | configure.args --with-simage=${prefix} |
---|
24 | |
---|
25 | platform darwin { |
---|
26 | configure.args-append --without-framework --enable-darwin-x11 |
---|
27 | } |
---|
28 | |
---|
29 | variant aqua requires darwin { |
---|
30 | configure.args-delete --without-framework --enable-darwin-x11 |
---|
31 | configure.args-append --with-framework=${destroot}/Library/Frameworks --without-x |
---|
32 | depends_build-delete lib:libX11.6:XFree86 |
---|
33 | } |
---|
34 | |
---|
35 | variant devel { |
---|
36 | configure.args-append --enable-next-minor --enable-debug |
---|
37 | } |
---|
38 | |
---|
39 | variant manpages { |
---|
40 | depends_build-append bin:doxygen:doxygen |
---|
41 | configure.args-append --enable-man --mandir=${prefix}/share/man |
---|
42 | post-destroot { |
---|
43 | file rename ${destroot}${prefix}/share/man/man3/threads.3 \ |
---|
44 | ${destroot}${prefix}/share/man/man3/threads.3coin |
---|
45 | file rename ${destroot}${prefix}/share/man/man3/manips.3 \ |
---|
46 | ${destroot}${prefix}/share/man/man3/manips.3coin |
---|
47 | } |
---|
48 | } |
---|
49 | |
---|
50 | variant threadsafe { |
---|
51 | configure.args-append --enable-threadsafe |
---|
52 | } |
---|