[50643] trunk/dports/graphics/openvrml/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue May 5 16:34:03 PDT 2009
Revision: 50643
http://trac.macports.org/changeset/50643
Author: jeremyhu at macports.org
Date: 2009-05-05 16:34:02 -0700 (Tue, 05 May 2009)
Log Message:
-----------
openvrml: Use xulrunner instead of mozilla
Modified Paths:
--------------
trunk/dports/graphics/openvrml/Portfile
Modified: trunk/dports/graphics/openvrml/Portfile
===================================================================
--- trunk/dports/graphics/openvrml/Portfile 2009-05-05 23:24:04 UTC (rev 50642)
+++ trunk/dports/graphics/openvrml/Portfile 2009-05-05 23:34:02 UTC (rev 50643)
@@ -53,9 +53,10 @@
use_parallel_build yes
variant js_mozilla description {Enable support for JavaScript in the Script node with Mozilla} {
- # TODO: This should use port:xulrunner instead
- depends_lib-append port:mozilla
+ depends_lib-append port:xulrunner
configure.args-delete --disable-script-node-javascript
+ configure.args-append --enable-script-node-javascript
+ configure.cppflags-append "-I${prefix}/include/xulrunner/unstable"
}
variant no_opengl conflicts xembed description {Do not build the GL renderer} {
@@ -76,9 +77,11 @@
}
variant mozilla_plugin requires xembed description {Build the Mozilla plug-in} {
- # TODO: This should use port:xulrunner instead
- depends_lib-append port:mozilla
+ depends_lib-append port:xulrunner
configure.args-delete --disable-mozilla-plugin
+ configure.args-append --enable-mozilla-plugin
+ build.args-append mozpluginsdir=${prefix}/lib/nsplugins
+ destroot.args-append mozpluginsdir=${prefix}/lib/nsplugins
}
variant no_x11 description {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090505/5e0d843e/attachment.html>
More information about the macports-changes
mailing list