diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-12-05 17:44:36 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-12-05 17:44:36 +0000 |
commit | 261969d382677d2da99493826ce0857e3d27b7c0 (patch) | |
tree | 711784ed7d345c9b5905c6913adb62ab1cd8ae3a /graphics/threeDS | |
parent | b65bb205e550f16d2e1c245c6bd169c7abeabe4c (diff) | |
download | FreeBSD-ports-261969d382677d2da99493826ce0857e3d27b7c0.zip FreeBSD-ports-261969d382677d2da99493826ce0857e3d27b7c0.tar.gz |
Add threeDS - a Python module and viewer for loading and displaying models in
3DS format.
Diffstat (limited to 'graphics/threeDS')
-rw-r--r-- | graphics/threeDS/Makefile | 29 | ||||
-rw-r--r-- | graphics/threeDS/distinfo | 1 | ||||
-rw-r--r-- | graphics/threeDS/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/threeDS/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/threeDS/pkg-plist | 6 |
5 files changed, 42 insertions, 0 deletions
diff --git a/graphics/threeDS/Makefile b/graphics/threeDS/Makefile new file mode 100644 index 0000000..a6c298d0 --- /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 0000000..2a7cf4f --- /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 0000000..e9145aa --- /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 0000000..9ea1bb1 --- /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 0000000..c8c8127 --- /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 |