aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/openvrml/Makefile10
-rw-r--r--www/openvrml/distinfo4
-rw-r--r--www/openvrml/files/patch-mozilla-plugin_src_openvrml.cpp14
-rw-r--r--www/openvrml/pkg-plist20
4 files changed, 30 insertions, 18 deletions
diff --git a/www/openvrml/Makefile b/www/openvrml/Makefile
index 5cf4f68a370f..cdc257361b84 100644
--- a/www/openvrml/Makefile
+++ b/www/openvrml/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openvrml
-PORTVERSION= 0.15.9
+PORTVERSION= 0.15.10
CATEGORIES= www graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -68,9 +68,17 @@ post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/manual/ ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/models/*.wrl ${EXAMPLESDIR}
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+.if defined(MAINTAINER_MODE)
+test: build
+ (cd ${WRKSRC}/tests ; \
+ ./testsuite )
+.endif
+
.include <bsd.port.post.mk>
diff --git a/www/openvrml/distinfo b/www/openvrml/distinfo
index 494bb7b03d3c..d2214be6c9db 100644
--- a/www/openvrml/distinfo
+++ b/www/openvrml/distinfo
@@ -1,2 +1,2 @@
-MD5 (openvrml-0.15.9.tar.gz) = a4134d658685be71596c620169221e6f
-SIZE (openvrml-0.15.9.tar.gz) = 5523568
+MD5 (openvrml-0.15.10.tar.gz) = 9ed3fa9da6f74e2a0bf45cdab655db30
+SIZE (openvrml-0.15.10.tar.gz) = 5334341
diff --git a/www/openvrml/files/patch-mozilla-plugin_src_openvrml.cpp b/www/openvrml/files/patch-mozilla-plugin_src_openvrml.cpp
deleted file mode 100644
index 7b27bd9b5b35..000000000000
--- a/www/openvrml/files/patch-mozilla-plugin_src_openvrml.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- mozilla-plugin/src/openvrml.cpp.orig Sun Jul 3 10:31:21 2005
-+++ mozilla-plugin/src/openvrml.cpp Fri Jul 22 18:51:12 2005
-@@ -45,6 +45,11 @@
- # endif
- # include "openvrml.h"
-
-+# if defined(__FreeBSD__)
-+# include <sys/types.h>
-+# include <signal.h>
-+# endif
-+
- namespace {
-
- void printerr(const char * str);
diff --git a/www/openvrml/pkg-plist b/www/openvrml/pkg-plist
index 43500f2a48b9..3e4153beca3a 100644
--- a/www/openvrml/pkg-plist
+++ b/www/openvrml/pkg-plist
@@ -29,13 +29,31 @@ libdata/pkgconfig/openvrml.pc
libexec/openvrml-player
share/idl/openvrml-%%VER%%/openvrml.idl
share/pixmaps/lookat.xpm
-lib/mozilla/plugins/openvrml.la
lib/mozilla/plugins/openvrml.so
lib/mozilla/plugins/openvrml.xpt
+%%PORTDOCS%%%%EXAMPLESDIR%%/Anchor.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/Click.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/EventPROTO.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ExternPROTO.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/Inline.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/Prox1.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/RefractiveMaterial.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/SimplePROTO.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/TestJSAI.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/bounce.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/groundPlane.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/jsTouch.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/orbit3.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/pixtex1.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/rotation_toy.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/scale.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/snoman.wrl
+%%PORTDOCS%%%%EXAMPLESDIR%%/warbird.wrl
@dirrm include/openvrml/openvrml/gl
@dirrm include/openvrml/openvrml
@dirrm include/openvrml
@dirrm share/idl/openvrml-%%VER%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@unexec rmdir %D/share/gtk-doc/html/gtkglext 2>/dev/null || true
@unexec rmdir %D/share/gtk-doc/html 2>/dev/null || true
@unexec rmdir %D/share/gtk-doc 2>/dev/null || true