Add threeDS - a Python module and viewer for loading and displaying models in

3DS format.
This commit is contained in:
Maxim Sobolev 2000-12-05 17:44:36 +00:00
parent 280ed5046a
commit 1602a8f70c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35692
6 changed files with 43 additions and 0 deletions

View File

@ -185,6 +185,7 @@
SUBDIR += tgd
SUBDIR += tgif
SUBDIR += tgif-nls
SUBDIR += threeDS
SUBDIR += tiff
SUBDIR += tiff2png
SUBDIR += tifmerge

29
graphics/threeDS/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (threeDS-0.2.tar.gz) = 503d51062c711fbcdff626f1af71c5ea

View File

@ -0,0 +1 @@
A Python module and viewer for loading and displaying models in 3DS format

View File

@ -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

View File

@ -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