aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-04-15 13:50:37 +0800
committerijliao <ijliao@FreeBSD.org>2004-04-15 13:50:37 +0800
commit05232d972793160b4636bcd24bc893cbd3bc64c1 (patch)
tree918e513ecab0825bddca2ea1f019f111d7fd25df /graphics
parent12c93ebcda659ca882eb63cf13a542878b6028b6 (diff)
downloadfreebsd-ports-gnome-05232d972793160b4636bcd24bc893cbd3bc64c1.tar.gz
freebsd-ports-gnome-05232d972793160b4636bcd24bc893cbd3bc64c1.tar.zst
freebsd-ports-gnome-05232d972793160b4636bcd24bc893cbd3bc64c1.zip
add py-cgkit 1.1.0
Python Computer Graphics Kit
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-cgkit/Makefile27
-rw-r--r--graphics/py-cgkit/distinfo2
-rw-r--r--graphics/py-cgkit/pkg-descr14
-rw-r--r--graphics/py-cgkit/pkg-plist42
5 files changed, 86 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 8a0325b27bcb..189cb20f179f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -326,6 +326,7 @@
SUBDIR += pstoedit
SUBDIR += pstoepsi
SUBDIR += pvmpov
+ SUBDIR += py-cgkit
SUBDIR += py-chart
SUBDIR += py-exif
SUBDIR += py-gd
diff --git a/graphics/py-cgkit/Makefile b/graphics/py-cgkit/Makefile
new file mode 100644
index 000000000000..e4efc2169108
--- /dev/null
+++ b/graphics/py-cgkit/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: cgkit
+# Date created: Apr 15, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= cgkit
+PORTVERSION= 1.1.0
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Python Computer Graphics Kit
+
+USE_ZIP= yes
+USE_REINPLACE= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,iostream\.h,iostream," ${WRKSRC}/src/noisemodule.cpp
+
+.include <bsd.port.mk>
diff --git a/graphics/py-cgkit/distinfo b/graphics/py-cgkit/distinfo
new file mode 100644
index 000000000000..02a9fc6760ce
--- /dev/null
+++ b/graphics/py-cgkit/distinfo
@@ -0,0 +1,2 @@
+MD5 (cgkit-1.1.0.zip) = 2a6a848722d0dc383b3f7605e716f93f
+SIZE (cgkit-1.1.0.zip) = 230402
diff --git a/graphics/py-cgkit/pkg-descr b/graphics/py-cgkit/pkg-descr
new file mode 100644
index 000000000000..8fd047c92440
--- /dev/null
+++ b/graphics/py-cgkit/pkg-descr
@@ -0,0 +1,14 @@
+The Python Computer Graphics Kit is a collection of modules that contain the
+basic types and functions to be able to create 3D computer graphics images.
+The most important things to mention are the new types, such as vectors,
+matrices and quaternions and the RenderMan binding to create the input for a
+RenderMan compliant renderer. The kit itself does not contain any
+functionality to produce images directly.
+
+Even though the kit focuses on RenderMan, some of the modules contain general
+types/functions that can be used by any rendering method. For example, the
+vectors and matrices or the noise module don't depend on RenderMan at all and
+can also be used inside an OpenGL program or to produce input for other
+renderers, such as POV-Ray or Virtualight.
+
+WWW: http://cgkit.sourceforge.net/
diff --git a/graphics/py-cgkit/pkg-plist b/graphics/py-cgkit/pkg-plist
new file mode 100644
index 000000000000..ec6959e5d898
--- /dev/null
+++ b/graphics/py-cgkit/pkg-plist
@@ -0,0 +1,42 @@
+%%PYTHON_SITELIBDIR%%/cgtypes.so
+%%PYTHON_SITELIBDIR%%/noise.so
+%%PYTHON_SITELIBDIR%%/_slparser.py
+%%PYTHON_SITELIBDIR%%/_slparser.pyc
+%%PYTHON_SITELIBDIR%%/_slparser.pyo
+%%PYTHON_SITELIBDIR%%/cgkitinfo.py
+%%PYTHON_SITELIBDIR%%/cgkitinfo.pyc
+%%PYTHON_SITELIBDIR%%/cgkitinfo.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/__init__.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat3.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat3.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat3.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat4.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat4.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/mat4.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/quat.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/quat.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/quat.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec3.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec3.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec3.pyo
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec4.py
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec4.pyc
+%%PYTHON_SITELIBDIR%%/pycgtypes/vec4.pyo
+%%PYTHON_SITELIBDIR%%/ri.py
+%%PYTHON_SITELIBDIR%%/ri.pyc
+%%PYTHON_SITELIBDIR%%/ri.pyo
+%%PYTHON_SITELIBDIR%%/riutil.py
+%%PYTHON_SITELIBDIR%%/riutil.pyc
+%%PYTHON_SITELIBDIR%%/riutil.pyo
+%%PYTHON_SITELIBDIR%%/sl.py
+%%PYTHON_SITELIBDIR%%/sl.pyc
+%%PYTHON_SITELIBDIR%%/sl.pyo
+%%PYTHON_SITELIBDIR%%/slparams.py
+%%PYTHON_SITELIBDIR%%/slparams.pyc
+%%PYTHON_SITELIBDIR%%/slparams.pyo
+%%PYTHON_SITELIBDIR%%/sltokenize.py
+%%PYTHON_SITELIBDIR%%/sltokenize.pyc
+%%PYTHON_SITELIBDIR%%/sltokenize.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/pycgtypes