summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>2000-04-03 15:35:40 +0000
committersakamoto <sakamoto@pkgsrc.org>2000-04-03 15:35:40 +0000
commit771db4505f6c700c8ca9670a29390dd6c3aeb870 (patch)
tree322c8d6f209509962b4e88c1d00c1e74498e4b45 /graphics
parentbd8b7b362894ecb0027d462ec657aa3871476ff7 (diff)
downloadpkgsrc-771db4505f6c700c8ca9670a29390dd6c3aeb870.tar.gz
Initial import of ruby-gl-0.31.
Ruby interface to OpenGL
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-gl/Makefile28
-rw-r--r--graphics/ruby-gl/files/md53
-rw-r--r--graphics/ruby-gl/files/patch-sum3
-rw-r--r--graphics/ruby-gl/patches/patch-aa13
-rw-r--r--graphics/ruby-gl/pkg/COMMENT1
-rw-r--r--graphics/ruby-gl/pkg/DESCR1
-rw-r--r--graphics/ruby-gl/pkg/PLIST51
7 files changed, 100 insertions, 0 deletions
diff --git a/graphics/ruby-gl/Makefile b/graphics/ruby-gl/Makefile
new file mode 100644
index 00000000000..abd7e209490
--- /dev/null
+++ b/graphics/ruby-gl/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/04/03 15:35:40 sakamoto Exp $
+#
+
+DISTNAME= rbogl
+PKGNAME= ruby-gl-0.31
+CATEGORIES= graphics
+MASTER_SITES= http://www2.giganet.net/~yoshi/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www2.giganet.net/~yoshi/
+
+DEPENDS+= ruby-1.4.*:../../lang/ruby
+DEPENDS+= Mesa-*:../../graphics/Mesa
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/ruby-gl
+RUBY_VERSION= 1.4
+PLIST_SUBST= RUBY_VERSION=${RUBY_VERSION}
+
+do-configure:
+ (cd ${WRKSRC}; ruby extconf.rb)
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ruby/gl
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/gl
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-gl/files/md5 b/graphics/ruby-gl/files/md5
new file mode 100644
index 00000000000..c4bafd1a451
--- /dev/null
+++ b/graphics/ruby-gl/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/04/03 15:35:41 sakamoto Exp $
+
+MD5 (rbogl.tgz) = 1716a9a8fbd61e969a47d73221f91890
diff --git a/graphics/ruby-gl/files/patch-sum b/graphics/ruby-gl/files/patch-sum
new file mode 100644
index 00000000000..8ca56752ac4
--- /dev/null
+++ b/graphics/ruby-gl/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/04/03 15:35:41 sakamoto Exp $
+
+MD5 (patch-aa) = 0b66f604ae449cd0c458258b9556cb38
diff --git a/graphics/ruby-gl/patches/patch-aa b/graphics/ruby-gl/patches/patch-aa
new file mode 100644
index 00000000000..262959d17f9
--- /dev/null
+++ b/graphics/ruby-gl/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/04/03 15:35:41 sakamoto Exp $
+
+--- extconf.rb.orig Wed Feb 16 01:31:59 2000
++++ extconf.rb Sat Mar 25 02:46:02 2000
+@@ -27,6 +27,6 @@
+ glut_libname = "glut"
+ else
+- $CFLAGS="-I/usr/local/include -I. -I/usr/X11R6/include"
+- $LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib"
++ $CFLAGS="-I#{ENV['LOCALBASE']}/include -I. -I#{ENV['X11BASE']}/include"
++ $LDFLAGS="-L#{ENV['LOCALBASE']}/lib -R#{ENV['LOCALBASE']}/lib -L#{ENV['X11BASE']}/lib -R#{ENV['X11BASE']}/lib"
+ $libs = append_library($libs, "Xmu")
+ $libs = append_library($libs, "X11")
diff --git a/graphics/ruby-gl/pkg/COMMENT b/graphics/ruby-gl/pkg/COMMENT
new file mode 100644
index 00000000000..a54301a55f6
--- /dev/null
+++ b/graphics/ruby-gl/pkg/COMMENT
@@ -0,0 +1 @@
+Ruby interface to OpenGL
diff --git a/graphics/ruby-gl/pkg/DESCR b/graphics/ruby-gl/pkg/DESCR
new file mode 100644
index 00000000000..e693a9922c4
--- /dev/null
+++ b/graphics/ruby-gl/pkg/DESCR
@@ -0,0 +1 @@
+This package provides OpenGL binding to Ruby.
diff --git a/graphics/ruby-gl/pkg/PLIST b/graphics/ruby-gl/pkg/PLIST
new file mode 100644
index 00000000000..05656917248
--- /dev/null
+++ b/graphics/ruby-gl/pkg/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/04/03 15:35:40 sakamoto Exp $
+lib/ruby/${RUBY_VERSION}/${MACHINE_ARCH}-${LOWER_OPSYS}/opengl.so
+lib/ruby/${RUBY_VERSION}/${MACHINE_ARCH}-${LOWER_OPSYS}/glut.so
+share/examples/ruby/gl/aaindex.rb
+share/examples/ruby/gl/aapoly.rb
+share/examples/ruby/gl/aargb.rb
+share/examples/ruby/gl/accanti.rb
+share/examples/ruby/gl/accpersp.rb
+share/examples/ruby/gl/alpha.rb
+share/examples/ruby/gl/alpha3D.rb
+share/examples/ruby/gl/bezcurve.rb
+share/examples/ruby/gl/bezmesh.rb
+share/examples/ruby/gl/checker.rb
+share/examples/ruby/gl/clip.rb
+share/examples/ruby/gl/colormat.rb
+share/examples/ruby/gl/cube.rb
+share/examples/ruby/gl/depthcue.rb
+share/examples/ruby/gl/dof.rb
+share/examples/ruby/gl/double.rb
+share/examples/ruby/gl/drawf.rb
+share/examples/ruby/gl/feedback.rb
+share/examples/ruby/gl/fog.rb
+share/examples/ruby/gl/font.rb
+share/examples/ruby/gl/hello.rb
+share/examples/ruby/gl/image.rb
+share/examples/ruby/gl/jitter.rb
+share/examples/ruby/gl/lines.rb
+share/examples/ruby/gl/list.rb
+share/examples/ruby/gl/material.rb
+share/examples/ruby/gl/mipmap.rb
+share/examples/ruby/gl/model.rb
+share/examples/ruby/gl/movelight.rb
+share/examples/ruby/gl/pickdepth.rb
+share/examples/ruby/gl/plane.rb
+share/examples/ruby/gl/planet.rb
+share/examples/ruby/gl/quadric.rb
+share/examples/ruby/gl/robot.rb
+share/examples/ruby/gl/select.rb
+share/examples/ruby/gl/smooth.rb
+share/examples/ruby/gl/stencil.rb
+share/examples/ruby/gl/stroke.rb
+share/examples/ruby/gl/surface.rb
+share/examples/ruby/gl/teaambient.rb
+share/examples/ruby/gl/teapots.rb
+share/examples/ruby/gl/tess.rb
+share/examples/ruby/gl/texbind.rb
+share/examples/ruby/gl/texgen.rb
+share/examples/ruby/gl/texturesurf.rb
+share/examples/ruby/gl/varray.rb
+share/examples/ruby/gl/wrap.rb
+@dirrm share/examples/ruby/gl