aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-09-27 13:04:41 +0800
committeracm <acm@FreeBSD.org>2006-09-27 13:04:41 +0800
commite4d6e5e15628c6ed1a441e788e392f8d5b15d6de (patch)
tree4d9507ecc14fa465767eb81b991d98c6e92c0f6e
parent47e6d687079b5a6acf17d01c4df7ea849805e9ec (diff)
downloadfreebsd-ports-gnome-e4d6e5e15628c6ed1a441e788e392f8d5b15d6de.tar.gz
freebsd-ports-gnome-e4d6e5e15628c6ed1a441e788e392f8d5b15d6de.tar.zst
freebsd-ports-gnome-e4d6e5e15628c6ed1a441e788e392f8d5b15d6de.zip
- New port: graphics/py-glewpy
GLEWpy aims to bring advanced OpenGL extensions to Python. This will allow the Python OpenGL developer to use features such as fragment and vertex shaders and image processing on the GPU. It serves as a compliment to PyOpenGL and toolkits such as GLUT and SDL (pygame). WWW: http://glewpy.sourceforge.net/
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-glewpy/Makefile28
-rw-r--r--graphics/py-glewpy/distinfo3
-rw-r--r--graphics/py-glewpy/pkg-descr6
-rw-r--r--graphics/py-glewpy/pkg-plist41
5 files changed, 79 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 03e456caca59..4d7e769081f4 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -541,6 +541,7 @@
SUBDIR += py-gd
SUBDIR += py-gdchart
SUBDIR += py-gdchart2
+ SUBDIR += py-glewpy
SUBDIR += py-graphviz
SUBDIR += py-imaging
SUBDIR += py-ming
diff --git a/graphics/py-glewpy/Makefile b/graphics/py-glewpy/Makefile
new file mode 100644
index 000000000000..6cf808aadbd3
--- /dev/null
+++ b/graphics/py-glewpy/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: py-glewpy
+# Date created: 2006-09-26
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= glewpy
+PORTVERSION= 0.7.4
+CATEGORIES= graphics python
+MASTER_SITES= SF
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= python
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Advanced OpenGL extensions to Python
+
+BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
+LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS=yes
+
+CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/graphics/py-glewpy/distinfo b/graphics/py-glewpy/distinfo
new file mode 100644
index 000000000000..6c42d9df3598
--- /dev/null
+++ b/graphics/py-glewpy/distinfo
@@ -0,0 +1,3 @@
+MD5 (python/glewpy-0.7.4.tar.gz) = 3d2aae86aae328ab60897915bf9530fc
+SHA256 (python/glewpy-0.7.4.tar.gz) = 19434289d079d9f70d7dde75b6eb4d8ca6488a1427fb2786ebd6fe24fb97a0ec
+SIZE (python/glewpy-0.7.4.tar.gz) = 65262
diff --git a/graphics/py-glewpy/pkg-descr b/graphics/py-glewpy/pkg-descr
new file mode 100644
index 000000000000..aca8104b7abe
--- /dev/null
+++ b/graphics/py-glewpy/pkg-descr
@@ -0,0 +1,6 @@
+GLEWpy aims to bring advanced OpenGL extensions to Python. This will allow the
+Python OpenGL developer to use features such as fragment and vertex shaders and
+image processing on the GPU. It serves as a compliment to PyOpenGL and toolkits
+such as GLUT and SDL (pygame).
+
+WWW: http://glewpy.sourceforge.net/
diff --git a/graphics/py-glewpy/pkg-plist b/graphics/py-glewpy/pkg-plist
new file mode 100644
index 000000000000..4feb3d754e0f
--- /dev/null
+++ b/graphics/py-glewpy/pkg-plist
@@ -0,0 +1,41 @@
+%%PYTHON_SITELIBDIR%%/glew/__init__.py
+%%PYTHON_SITELIBDIR%%/glew/gl/__init__.py
+%%PYTHON_SITELIBDIR%%/glew/gl/threedfx.so
+%%PYTHON_SITELIBDIR%%/glew/gl/apple.so
+%%PYTHON_SITELIBDIR%%/glew/gl/arb.so
+%%PYTHON_SITELIBDIR%%/glew/gl/ati.so
+%%PYTHON_SITELIBDIR%%/glew/gl/atix.so
+%%PYTHON_SITELIBDIR%%/glew/gl/ext.so
+%%PYTHON_SITELIBDIR%%/glew/gl/gl.so
+%%PYTHON_SITELIBDIR%%/glew/gl/hp.so
+%%PYTHON_SITELIBDIR%%/glew/gl/ibm.so
+%%PYTHON_SITELIBDIR%%/glew/gl/ingr.so
+%%PYTHON_SITELIBDIR%%/glew/gl/intel.so
+%%PYTHON_SITELIBDIR%%/glew/gl/ktx.so
+%%PYTHON_SITELIBDIR%%/glew/gl/mesa.so
+%%PYTHON_SITELIBDIR%%/glew/gl/nv.so
+%%PYTHON_SITELIBDIR%%/glew/gl/oml.so
+%%PYTHON_SITELIBDIR%%/glew/gl/pgi.so
+%%PYTHON_SITELIBDIR%%/glew/gl/rend.so
+%%PYTHON_SITELIBDIR%%/glew/gl/s3.so
+%%PYTHON_SITELIBDIR%%/glew/gl/sgis.so
+%%PYTHON_SITELIBDIR%%/glew/gl/sgix.so
+%%PYTHON_SITELIBDIR%%/glew/gl/sgi.so
+%%PYTHON_SITELIBDIR%%/glew/gl/sunx.so
+%%PYTHON_SITELIBDIR%%/glew/gl/sun.so
+%%PYTHON_SITELIBDIR%%/glew/gl/win.so
+%%PYTHON_SITELIBDIR%%/glew/gl/__init__.pyc
+%%PYTHON_SITELIBDIR%%/glew/gl/__init__.pyo
+%%PYTHON_SITELIBDIR%%/glew/glx/__init__.py
+%%PYTHON_SITELIBDIR%%/glew/glx/__init__.pyc
+%%PYTHON_SITELIBDIR%%/glew/glx/__init__.pyo
+%%PYTHON_SITELIBDIR%%/glew/wgl/__init__.py
+%%PYTHON_SITELIBDIR%%/glew/wgl/__init__.pyc
+%%PYTHON_SITELIBDIR%%/glew/wgl/__init__.pyo
+%%PYTHON_SITELIBDIR%%/glew/glew.so
+%%PYTHON_SITELIBDIR%%/glew/__init__.pyc
+%%PYTHON_SITELIBDIR%%/glew/__init__.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/glew/wgl
+@dirrm %%PYTHON_SITELIBDIR%%/glew/glx
+@dirrm %%PYTHON_SITELIBDIR%%/glew/gl
+@dirrm %%PYTHON_SITELIBDIR%%/glew