Ticket #4374: Portfile.2

File Portfile.2, 1.5 KB (added by cssdev@…, 19 years ago)

Portfile for Coin-2.4.3

Line 
1# $Id: $
2
3PortSystem              1.0
4name                    Coin
5version                 2.4.3
6description             cross platform C++ OpenGL scene graph library
7long_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
12categories              graphics devel
13homepage                http://www.coin3d.org/lib/coin/
14platforms               darwin
15maintainers             cssdev@mac.com
16master_sites            http://ftp.coin3d.org/coin/src/all/
17checksums               md5 57c039a55133c5037ebef6759d26f603
18
19depends_build           lib:libX11.6:XFree86 bin:doxygen:doxygen
20depends_lib             port:simage
21
22use_configure           yes
23configure.args          --with-simage=${prefix}
24
25platform darwin {
26        configure.args-append   --without-framework --enable-darwin-x11
27}
28
29variant 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
35variant devel {
36        configure.args-append   --enable-next-minor --enable-debug
37}
38
39variant 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
50variant threadsafe {
51        configure.args-append   --enable-threadsafe
52}