summaryrefslogtreecommitdiff
path: root/graphics/threeDS
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-05 17:44:36 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-05 17:44:36 +0000
commit1602a8f70ceffc5330d03614c029b0b40d8169e6 (patch)
treeb4ca213f7ab80915f17daa5db54d9fc9aae9ef17 /graphics/threeDS
parentFinish cleaning up after the switch to Open Motif. Building with (diff)
Add threeDS - a Python module and viewer for loading and displaying models in
3DS format.
Notes
Notes: svn path=/head/; revision=35692
Diffstat (limited to 'graphics/threeDS')
-rw-r--r--graphics/threeDS/Makefile29
-rw-r--r--graphics/threeDS/distinfo1
-rw-r--r--graphics/threeDS/pkg-comment1
-rw-r--r--graphics/threeDS/pkg-descr5
-rw-r--r--graphics/threeDS/pkg-plist6
5 files changed, 42 insertions, 0 deletions
diff --git a/graphics/threeDS/Makefile b/graphics/threeDS/Makefile
new file mode 100644
index 000000000000..a6c298d0a759
--- /dev/null
+++ b/graphics/threeDS/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: threeDS
+# Date created: 5 December 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= threeDS
+PORTVERSION= 0.2
+CATEGORIES= graphics python
+MASTER_SITES= http://www.demonseed.net/~jp/code/threeDS/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
+
+USE_PYTHON= yes
+
+do-build:
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/threeDS
+ ${MKDIR} ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
+ ${INSTALL_DATA} ${WRKSRC}/threeDS.py* ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
+ ${INSTALL_SCRIPT} ${WRKSRC}/view3ds.py* ${PREFIX}/share/threeDS
+ ${LN} -sf ${PREFIX}/share/threeDS/view3ds.py ${PREFIX}/bin/view3ds
+
+.include <bsd.port.mk>
diff --git a/graphics/threeDS/distinfo b/graphics/threeDS/distinfo
new file mode 100644
index 000000000000..2a7cf4f5bc50
--- /dev/null
+++ b/graphics/threeDS/distinfo
@@ -0,0 +1 @@
+MD5 (threeDS-0.2.tar.gz) = 503d51062c711fbcdff626f1af71c5ea
diff --git a/graphics/threeDS/pkg-comment b/graphics/threeDS/pkg-comment
new file mode 100644
index 000000000000..e9145aacf7d6
--- /dev/null
+++ b/graphics/threeDS/pkg-comment
@@ -0,0 +1 @@
+A Python module and viewer for loading and displaying models in 3DS format
diff --git a/graphics/threeDS/pkg-descr b/graphics/threeDS/pkg-descr
new file mode 100644
index 000000000000..9ea1bb163a97
--- /dev/null
+++ b/graphics/threeDS/pkg-descr
@@ -0,0 +1,5 @@
+ThreeDS is a Python module for loading and displaying 3D models in the
+3DStudio Max 3DS format. It comes with view3DS, a simple model viewer written
+in Python.
+
+WWW: http://www.demonseed.net/~jp/code/threeDS/index.html
diff --git a/graphics/threeDS/pkg-plist b/graphics/threeDS/pkg-plist
new file mode 100644
index 000000000000..c8c8127e0c00
--- /dev/null
+++ b/graphics/threeDS/pkg-plist
@@ -0,0 +1,6 @@
+bin/view3ds
+lib/%%PYTHON_VERSION%%/site-packages/threeDS.py
+lib/%%PYTHON_VERSION%%/site-packages/threeDS.pyc
+share/threeDS/view3ds.py
+share/threeDS/view3ds.pyc
+@dirrm share/threeDS