[63797] trunk/dports/graphics/openvrml

raphael at macports.org raphael at macports.org
Mon Feb 15 03:46:55 PST 2010


Revision: 63797
          http://trac.macports.org/changeset/63797
Author:   raphael at macports.org
Date:     2010-02-15 03:46:52 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
openvrml:

* update to 0.18.4
* indicate license
* install additional documentation files
* fix livecheck
* remove dependency on mesa in no_opengl variant; see #23713

Modified Paths:
--------------
    trunk/dports/graphics/openvrml/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/openvrml/files/

Modified: trunk/dports/graphics/openvrml/Portfile
===================================================================
--- trunk/dports/graphics/openvrml/Portfile	2010-02-15 10:55:38 UTC (rev 63796)
+++ trunk/dports/graphics/openvrml/Portfile	2010-02-15 11:46:52 UTC (rev 63797)
@@ -4,8 +4,7 @@
 PortSystem              1.0
 
 name                    openvrml
-version                 0.18.3
-revision                2
+version                 0.18.4
 categories              graphics x11
 maintainers             raphael openmaintainer
 description             a cross-platform VRML and X3D browser and C++ runtime \
@@ -18,11 +17,12 @@
                         provides a plug-in to render VRML/X3D worlds in Web \
                         browsers.
 homepage                http://www.openvrml.org/
+license                 LGPL-3
 platforms               darwin
 master_sites            sourceforge
-checksums               md5     82cee1ae3d9e9a0f71740f93d6dba24c \
-                        sha1    33da48191c03d80b42664dbafd1785be8128a3c4 \
-                        rmd160  14ef0b46de981d0ea6fe29a57b38caaeaefc5564
+checksums               md5     2f201cdb625fe6a32a1edc34bfbd21bc \
+                        sha1    1d526ba8406a53f65e66eb3fcfda010bc56bbe52 \
+                        rmd160  86cb62a13a523cbc450c18dbe35c13dc788ef5a1
 
 depends_lib             port:boost \
                         port:libpng \
@@ -43,8 +43,6 @@
                         }
 }
 
-patchfiles              patch-scene.h.diff
-
 configure.args          --disable-script-node-javascript \
                         --disable-script-node-java \
                         --disable-xembed \
@@ -57,7 +55,19 @@
 
 use_parallel_build      yes
 
-variant js_mozilla description {Enable support for JavaScript in the Script node with Mozilla} {
+post-destroot {
+                        xinstall -m 644 -W ${worksrcpath} \
+                            AUTHORS \
+                            COPYING \
+                            COPYING.LESSER \
+                            ChangeLog \
+                            NEWS \
+                            README \
+                            THANKS \
+                            ${destroot}${prefix}/share/doc/${name}-${version}
+}
+
+variant js_mozilla conflicts no_x11 description {Enable support for JavaScript in the Script node with Mozilla} {
     depends_lib-append          path:lib/xulrunner/libxul.dylib:xulrunner
     configure.args-delete       --disable-script-node-javascript
     configure.args-append       --enable-script-node-javascript
@@ -72,8 +82,11 @@
 }
 
 variant no_opengl conflicts xembed description {Do not build the GL renderer} {
-    depends_lib-delete          port:mesa
-    configure.args-append       --disable-gl-renderer
+    # examples need SDL player which needs OpenGL
+    depends_lib-delete          port:mesa \
+                                path:lib/pkgconfig/sdl.pc:libsdl
+    configure.args-append       --disable-gl-renderer \
+                                --disable-examples
 }
 
 variant xembed conflicts no_opengl description {Build the XEmbed control} {
@@ -96,7 +109,11 @@
     destroot.args-append        mozpluginsdir=${prefix}/lib/nsplugins
 }
 
-variant no_x11 description {
+variant no_x11 requires no_opengl conflicts js_mozilla {
     configure.args-delete       --with-x
     configure.args-append       --without-x
 }
+
+livecheck.type                  regex
+livecheck.url                   ${homepage}
+livecheck.regex                 "OpenVRML (.*) has been released."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/c239e905/attachment-0001.html>


More information about the macports-changes mailing list