1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name openvrml |
---|
6 | version 0.17.9 |
---|
7 | categories graphics x11 |
---|
8 | maintainers ira.uka.de:raphael openmaintainer |
---|
9 | description a cross-platform VRML and X3D browser and C++ runtime \ |
---|
10 | library |
---|
11 | long_description OpenVRML is a free cross-platform runtime for VRML and \ |
---|
12 | X3D available under the GNU Lesser General Public \ |
---|
13 | License. The OpenVRML distribution includes libraries \ |
---|
14 | you can use to add VRML/X3D support to an application. \ |
---|
15 | On platforms where GTK+ is available, OpenVRML also \ |
---|
16 | provides a plug-in to render VRML/X3D worlds in Web \ |
---|
17 | browsers. |
---|
18 | homepage http://www.openvrml.org/ |
---|
19 | platforms darwin |
---|
20 | master_sites sourceforge |
---|
21 | checksums md5 e9feb42997dcba7aa64f460c33e7f986 \ |
---|
22 | sha1 38facec0ce7885a6cb0dfcf721563cb6bd1257ed \ |
---|
23 | rmd160 4d0258feaca6d99769bcdd43f0572fbb8b406425 |
---|
24 | configure.args --disable-script-node-javascript \ |
---|
25 | --disable-xembed \ |
---|
26 | --disable-player \ |
---|
27 | --disable-mozilla-plugin \ |
---|
28 | --disable-examples \ |
---|
29 | --without-x |
---|
30 | configure.env-append BOOST_LIB_SUFFIX=-mt |
---|
31 | depends_lib port:boost \ |
---|
32 | port:libpng \ |
---|
33 | port:jpeg \ |
---|
34 | port:fontconfig |
---|
35 | depends_build port:pkgconfig |
---|
36 | use_parallel_build yes |
---|
37 | |
---|
38 | platform darwin 9 { |
---|
39 | configure.ldflags-append -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ |
---|
40 | /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib |
---|
41 | } |
---|
42 | |
---|
43 | variant no_png description {disables support for rendering PNG images as textures} { |
---|
44 | depends_lib-delete port:libpng |
---|
45 | configure.args-append --disable-png-textures |
---|
46 | } |
---|
47 | |
---|
48 | variant no_jpeg description {disables support for rendering JPEG images as textures} { |
---|
49 | depends_lib-delete port:jpeg |
---|
50 | configure.args-append --disable-jpeg-textures |
---|
51 | } |
---|
52 | |
---|
53 | variant no_text_rendering description {disables support for rendering Text nodes} { |
---|
54 | depends_lib-delete port:fontconfig |
---|
55 | configure.args-append --disable-render-text-node |
---|
56 | } |
---|
57 | |
---|
58 | variant js_mozilla description {enables support for JavaScript in the Script node with Mozilla} { |
---|
59 | depends_lib-append port:mozilla |
---|
60 | configure.args-delete --disable-script-node-javascript |
---|
61 | } |
---|
62 | |
---|
63 | variant no_opengl description {does not build the GL renderer} { |
---|
64 | configure.args-append --disable-gl-renderer |
---|
65 | } |
---|
66 | |
---|
67 | variant xembed description {builds the XEmbed control} { |
---|
68 | depends_lib-append port:gtk2 \ |
---|
69 | port:dbus |
---|
70 | configure.args-delete --disable-xembed |
---|
71 | } |
---|
72 | |
---|
73 | variant player requires xembed description {builds GNOME openvrml-player} { |
---|
74 | depends_lib-append port:libgnomeui \ |
---|
75 | port:curl |
---|
76 | configure.args-delete --disable-player |
---|
77 | } |
---|
78 | |
---|
79 | variant mozilla_plugin description {builds the Mozilla plug-in} { |
---|
80 | depends_lib-append port:mozilla |
---|
81 | configure.args-delete --disable-mozilla-plugin |
---|
82 | } |
---|
83 | |
---|
84 | variant examples description {builds the example programs} { |
---|
85 | depends_lib-append port:libsdl |
---|
86 | configure.args-delete --disable-examples |
---|
87 | } |
---|
88 | |
---|
89 | variant x11 description {builds OpenVRML with depending on the X Windowing System} { |
---|
90 | depends_lib-append lib:libX11.6:XFree86 |
---|
91 | configure.args-delete --without-x |
---|
92 | configure.args-append --with-x |
---|
93 | } |
---|