summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/white_dune/Makefile42
-rw-r--r--graphics/white_dune/distinfo1
-rw-r--r--graphics/white_dune/pkg-comment1
-rw-r--r--graphics/white_dune/pkg-descr5
-rw-r--r--graphics/white_dune/pkg-plist51
6 files changed, 101 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index a7aa6aa4c9ab..8cff2fc8ab64 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -338,6 +338,7 @@
SUBDIR += vterrain-apps
SUBDIR += vterrain-sdk
SUBDIR += whirlgif
+ SUBDIR += white_dune
SUBDIR += win32-codecs
SUBDIR += wmgrabimage
SUBDIR += wmicons
diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile
new file mode 100644
index 000000000000..4614e452f447
--- /dev/null
+++ b/graphics/white_dune/Makefile
@@ -0,0 +1,42 @@
+# ex:ts=8
+# Ports collection makefile for: white_dune
+# Date created: Apr 12, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= white_dune
+PORTVERSION= 0.19b31
+CATEGORIES= graphics
+MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg
+
+USE_BISON= yes
+USE_MESA= yes
+USE_MOTIF= yes
+GNU_CONFIGURE= yes
+ALL_TARGET= # empty
+
+MAN1= dune.1
+
+post-patch:
+ @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
+ ${PERL} -pi -e "s/malloc\.h/stdlib.h/g"
+ @${PERL} -pi -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
+ @${PERL} -pi -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/white_dune/distinfo b/graphics/white_dune/distinfo
new file mode 100644
index 000000000000..657395b44980
--- /dev/null
+++ b/graphics/white_dune/distinfo
@@ -0,0 +1 @@
+MD5 (white_dune-0.19beta31.tar.gz) = 4823ee000399235cbd197fdc9e838d30
diff --git a/graphics/white_dune/pkg-comment b/graphics/white_dune/pkg-comment
new file mode 100644
index 000000000000..0273e6c0a3d9
--- /dev/null
+++ b/graphics/white_dune/pkg-comment
@@ -0,0 +1 @@
+Graphical VRML97 Editor and animation tool
diff --git a/graphics/white_dune/pkg-descr b/graphics/white_dune/pkg-descr
new file mode 100644
index 000000000000..a49b01a8d6fd
--- /dev/null
+++ b/graphics/white_dune/pkg-descr
@@ -0,0 +1,5 @@
+White_dune is a low level tool, it can read VRML97 files, display and let
+the user change the scenegraph/fields. Unlike most highlevel tools, it uses
+a lightning model based on the VRML97 standard.
+
+WWW: http://www.csv.ica.uni-stuttgart.de/vrml/dune/
diff --git a/graphics/white_dune/pkg-plist b/graphics/white_dune/pkg-plist
new file mode 100644
index 000000000000..51568ac34dda
--- /dev/null
+++ b/graphics/white_dune/pkg-plist
@@ -0,0 +1,51 @@
+bin/dune
+%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.jpg
+%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.png
+%%PORTDOCS%%share/doc/white_dune/developer_docs/dune_developer.html
+%%PORTDOCS%%share/doc/white_dune/index.html
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/billboard.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/bubble.wav
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/camera_animation.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/checker_planesensor.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/checker_touchsensor.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/door_cylindersensor.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/elevator_proximity_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/forward_kinematic_animation.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/forward_kinematic_spheresensor.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/headupdisplay_example.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/image.gif
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/index.html
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/material_animation.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/misc_animation.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/movie.mpg
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/movie_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/sound_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/touch_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/transform_animation.wrl
+%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/visibilty_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/usage_docs/cassettenrecorder.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_animation.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de.html
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en.html
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_interaktion.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/rot.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/scale.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/schieb.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/transform.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/transform2.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_examples/animation_example.wrl
+%%PORTDOCS%%share/doc/white_dune/usage_examples/index.html
+%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh
+%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh.html
+%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh
+%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh.html
+%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh
+%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh.html
+%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh
+%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh.html
+%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_irix6.2_example.sh
+%%PORTDOCS%%@dirrm share/doc/white_dune/developer_docs
+%%PORTDOCS%%@dirrm share/doc/white_dune/typical_vrml_examples
+%%PORTDOCS%%@dirrm share/doc/white_dune/usage_docs
+%%PORTDOCS%%@dirrm share/doc/white_dune/usage_examples
+%%PORTDOCS%%@dirrm share/doc/white_dune