summaryrefslogtreecommitdiff
path: root/graphics/ns-cult3d
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-02-13 09:10:10 +0000
committerabs <abs@pkgsrc.org>2002-02-13 09:10:10 +0000
commitede7d1f7357774cb5693a4a42a2fc9356572fe3f (patch)
treea6dbc16504a30960429dffdec2ba3870e41169d2 /graphics/ns-cult3d
parent7dbe248d56d760b86269a9fff8d9a9143689a925 (diff)
downloadpkgsrc-ede7d1f7357774cb5693a4a42a2fc9356572fe3f.tar.gz
Import the cult3d netscape plugin.
The Cult3D plugin enables users view interactive 3D objects, including full transparency, reflectivity, particle systems, bump mapping, phong shading, movement and sound. For a random example: http://www.formula1.com/news/3d/s8396.html
Diffstat (limited to 'graphics/ns-cult3d')
-rw-r--r--graphics/ns-cult3d/DESCR7
-rw-r--r--graphics/ns-cult3d/Makefile24
-rw-r--r--graphics/ns-cult3d/PLIST37
-rw-r--r--graphics/ns-cult3d/cult3d-5.2-b1-linux-x86.tar.gzbin0 -> 32768 bytes
-rw-r--r--graphics/ns-cult3d/distinfo4
-rwxr-xr-xgraphics/ns-cult3d/files/getsite.sh19
6 files changed, 91 insertions, 0 deletions
diff --git a/graphics/ns-cult3d/DESCR b/graphics/ns-cult3d/DESCR
new file mode 100644
index 00000000000..dfb17e8b3ef
--- /dev/null
+++ b/graphics/ns-cult3d/DESCR
@@ -0,0 +1,7 @@
+The Cult3D plugin enables users view interactive 3D objects,
+including full transparency, reflectivity, particle systems, bump
+mapping, phong shading, movement and sound.
+
+Cult3D objects respond to the click of a mouse, letting users zoom
+and spin, click and feel, move parts and experience sounds, creating
+a multi-sensory experience.
diff --git a/graphics/ns-cult3d/Makefile b/graphics/ns-cult3d/Makefile
new file mode 100644
index 00000000000..587375ff12f
--- /dev/null
+++ b/graphics/ns-cult3d/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/13 09:10:10 abs Exp $
+#
+
+DISTNAME= cult3d-5.2-b1-linux-x86
+PKGNAME= ns-cult3d-5.2
+CATEGORIES= www graphics
+DYNAMIC_MASTER_SITES= YES
+
+MAINTAINER= abs@netbsd.org
+HOMEPAGE= http://www.cult3d.com/
+COMMENT= Netscape plugin for cult 3d files
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+CHECK_SHLIBS= no
+CRYPTO= yes
+
+do-install:
+ cd ${WRKSRC} ; ${ECHO} ${PREFIX}/lib/netscape | ./install.sh
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ns-cult3d.txt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ns-cult3d/PLIST b/graphics/ns-cult3d/PLIST
new file mode 100644
index 00000000000..2f8ef57819f
--- /dev/null
+++ b/graphics/ns-cult3d/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/13 09:10:10 abs Exp $
+lib/netscape/plugins/cult3d/com/cult3d/BackReport.class
+lib/netscape/plugins/cult3d/com/cult3d/Cult3DMain.class
+lib/netscape/plugins/cult3d/com/cult3d/Cult3DPlugin.class
+lib/netscape/plugins/cult3d/com/cult3d/Cult3DScript.class
+lib/netscape/plugins/cult3d/com/cult3d/CultUtil.class
+lib/netscape/plugins/cult3d/com/cult3d/FontTool.class
+lib/netscape/plugins/cult3d/com/cult3d/ImageWaiter.class
+lib/netscape/plugins/cult3d/com/cult3d/NNCult3DClassLoader.class
+lib/netscape/plugins/cult3d/com/cult3d/NNCult3DMain$MethodThread.class
+lib/netscape/plugins/cult3d/com/cult3d/NNCult3DMain.class
+lib/netscape/plugins/cult3d/com/cult3d/NNFontTool.class
+lib/netscape/plugins/cult3d/com/cult3d/SurfaceGfx.class
+lib/netscape/plugins/cult3d/com/cult3d/TextureGraphics.class
+lib/netscape/plugins/cult3d/com/cult3d/TextureGraphics1.class
+lib/netscape/plugins/cult3d/com/cult3d/TextureGraphics2.class
+lib/netscape/plugins/cult3d/com/cult3d/TextureImage.class
+lib/netscape/plugins/cult3d/com/cult3d/device/Device.class
+lib/netscape/plugins/cult3d/com/cult3d/device/MouseData.class
+lib/netscape/plugins/cult3d/com/cult3d/math/Matrix4x4.class
+lib/netscape/plugins/cult3d/com/cult3d/math/Vector2.class
+lib/netscape/plugins/cult3d/com/cult3d/math/Vector3.class
+lib/netscape/plugins/cult3d/com/cult3d/world/MaterialData.class
+lib/netscape/plugins/cult3d/com/cult3d/world/NodeUtil.class
+lib/netscape/plugins/cult3d/com/cult3d/world/Property.class
+lib/netscape/plugins/cult3d/com/cult3d/world/PropertyFormatException.class
+lib/netscape/plugins/cult3d/com/cult3d/world/RGB.class
+lib/netscape/plugins/cult3d/com/cult3d/world/ReadOnlyException.class
+lib/netscape/plugins/cult3d/com/cult3d/world/SpriteUtil.class
+lib/netscape/plugins/cult3d/libcult3dplugin.so
+share/doc/ns-cult3d.txt
+@dirrm lib/netscape/plugins/cult3d/com/cult3d/world
+@dirrm lib/netscape/plugins/cult3d/com/cult3d/math
+@dirrm lib/netscape/plugins/cult3d/com/cult3d/device
+@dirrm lib/netscape/plugins/cult3d/com/cult3d
+@dirrm lib/netscape/plugins/cult3d/com
+@dirrm lib/netscape/plugins/cult3d
diff --git a/graphics/ns-cult3d/cult3d-5.2-b1-linux-x86.tar.gz b/graphics/ns-cult3d/cult3d-5.2-b1-linux-x86.tar.gz
new file mode 100644
index 00000000000..d0cf02f91a8
--- /dev/null
+++ b/graphics/ns-cult3d/cult3d-5.2-b1-linux-x86.tar.gz
Binary files differ
diff --git a/graphics/ns-cult3d/distinfo b/graphics/ns-cult3d/distinfo
new file mode 100644
index 00000000000..5cb6c529b56
--- /dev/null
+++ b/graphics/ns-cult3d/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/13 09:10:10 abs Exp $
+
+SHA1 (cult3d-5.2-b1-linux-x86.tar.gz) = e2befc766bc22d2c9bf40319135d6c5644411585
+Size (cult3d-5.2-b1-linux-x86.tar.gz) = 1316980 bytes
diff --git a/graphics/ns-cult3d/files/getsite.sh b/graphics/ns-cult3d/files/getsite.sh
new file mode 100755
index 00000000000..a5c7b16d4ea
--- /dev/null
+++ b/graphics/ns-cult3d/files/getsite.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+# $Id: getsite.sh,v 1.1.1.1 2002/02/13 09:10:10 abs Exp $
+#
+# Determine the correct BASE URL from which to download $DISTFILE
+
+DISTFILE=$1
+
+BASE_URL=`ftp -o - http://www.cult3d.com/download/viewer/code.js | awk -F '"' '
+/'"$DISTFILE"'/ {
+ sub(/'"$DISTFILE"'/, "", $2)
+ print $2
+ exit 0
+}'`
+if [ -n "$BASE_URL" ] ; then
+ echo $BASE_URL
+else
+ echo "getsites.sh: Unable to extract BASE_URL" >&2
+ exit 2
+fi