summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-06-30 15:09:33 +0000
committertaca <taca@pkgsrc.org>2001-06-30 15:09:33 +0000
commite93cd94491a2a73e92d6407c05105dd34ba70403 (patch)
treedb1ba3929f002fc670ec0c8530553b9d59fdc67b /graphics/ruby-opengl
parentea3775c61449e612f8ad2c4b535df8147a67886d (diff)
downloadpkgsrc-e93cd94491a2a73e92d6407c05105dd34ba70403.tar.gz
Importing ruby-opengl pacakge.
This is update of ruby-gl package from 0.31 to 0.32a, quoted from ChangeLog. 2001-05-05 <yoshi@giganet.net> * release OpenGL module 0.32a 2001-04-30 Akinori MUSHA <knu@iDaemons.org> * extconf.rb: Use the better way to default X11 lib/header directories to /usr/X11R6/{lib,include}. 2001-04-30 <yoshi@giganet.net> * extconf.rb ogl.c glu.c: patch for cygwin environment. 2001-04-24 Akinori MUSHA <knu@iDaemons.org> * glu.c: change errno to errorno to avoid the clash. * extconf.rb: do dir_config("x11"). 2001-03-20 <yoshi@giganet.net> * release OpenGL module 0.32 * extconf.rb : patch for ruby 1.6.x * extconf.rb : add site-install target 2001-01-15 <yoshi@giganet.net> * ogl.c : fixed constant name
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r--graphics/ruby-opengl/Makefile34
-rw-r--r--graphics/ruby-opengl/distinfo5
-rw-r--r--graphics/ruby-opengl/patches/patch-aa15
-rw-r--r--graphics/ruby-opengl/pkg/DESCR4
-rw-r--r--graphics/ruby-opengl/pkg/PLIST55
5 files changed, 113 insertions, 0 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
new file mode 100644
index 00000000000..7ed49b1f268
--- /dev/null
+++ b/graphics/ruby-opengl/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 15:09:33 taca Exp $
+# FreeBSD: ports/graphics/ruby-opengl/Makefile,v 1.4 2000/09/26 08:01:58 knu Exp
+
+DISTNAME= rbogl-${VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}opengl-${VERSION}
+CATEGORIES= graphics
+MASTER_SITES= http://www2.giganet.net/~yoshi/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www2.giganet.net/~yoshi/
+COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
+
+VERSION= 0.32a
+DIST_SUBDIR= ruby
+USE_MESA= yes
+USE_X11= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/opengl
+
+CONFIGURE_ARGS+= --with-ruby-dir="${LOCALBASE}" \
+ --with-x11-dir="${X11BASE}"
+INSTALL_TARGET= site-install
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/opengl
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/opengl
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/opengl/ja
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/opengl
+ ${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_DOCDIR}/opengl/ja
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-opengl/distinfo b/graphics/ruby-opengl/distinfo
new file mode 100644
index 00000000000..85d8d831e23
--- /dev/null
+++ b/graphics/ruby-opengl/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/30 15:09:33 taca Exp $
+
+SHA1 (ruby/rbogl-0.32a.tgz) = 0f96310cb59aedaa5e3112861eed0189bc240355
+Size (ruby/rbogl-0.32a.tgz) = 70123 bytes
+SHA1 (patch-aa) = a5209b3ef507731aca024239910e6ba97c4dea54
diff --git a/graphics/ruby-opengl/patches/patch-aa b/graphics/ruby-opengl/patches/patch-aa
new file mode 100644
index 00000000000..4d62817a04b
--- /dev/null
+++ b/graphics/ruby-opengl/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 15:09:33 taca Exp $
+
+--- extconf.rb.orig Mon Apr 30 14:33:09 2001
++++ extconf.rb
+@@ -26,8 +26,10 @@
+ glut_libname = "glut32"
+ else
+ $CFLAGS += " -I."
++ $LDFLAGS=ENV['LDFLAGS']
+
+ dir_config("x11", "/usr/X11R6")
++ dir_config("ruby")
+
+ $libs = append_library($libs, "Xmu")
+ $libs = append_library($libs, "X11")
diff --git a/graphics/ruby-opengl/pkg/DESCR b/graphics/ruby-opengl/pkg/DESCR
new file mode 100644
index 00000000000..17e5c2a33b3
--- /dev/null
+++ b/graphics/ruby-opengl/pkg/DESCR
@@ -0,0 +1,4 @@
+This is OpenGL/GLU/GLUT interface modules for Ruby.
+
+Author: Yoshiyuki Kusano <yoshi@giganet.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=OpenGL+Interface
diff --git a/graphics/ruby-opengl/pkg/PLIST b/graphics/ruby-opengl/pkg/PLIST
new file mode 100644
index 00000000000..4d234d0f1dd
--- /dev/null
+++ b/graphics/ruby-opengl/pkg/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 15:09:33 taca Exp $
+${RUBY_SITEARCHLIBDIR}/glut.so
+${RUBY_SITEARCHLIBDIR}/opengl.so
+${RUBY_EXAMPLESDIR}/opengl/aaindex.rb
+${RUBY_EXAMPLESDIR}/opengl/aapoly.rb
+${RUBY_EXAMPLESDIR}/opengl/aargb.rb
+${RUBY_EXAMPLESDIR}/opengl/accanti.rb
+${RUBY_EXAMPLESDIR}/opengl/accpersp.rb
+${RUBY_EXAMPLESDIR}/opengl/alpha.rb
+${RUBY_EXAMPLESDIR}/opengl/alpha3D.rb
+${RUBY_EXAMPLESDIR}/opengl/bezcurve.rb
+${RUBY_EXAMPLESDIR}/opengl/bezmesh.rb
+${RUBY_EXAMPLESDIR}/opengl/checker.rb
+${RUBY_EXAMPLESDIR}/opengl/clip.rb
+${RUBY_EXAMPLESDIR}/opengl/colormat.rb
+${RUBY_EXAMPLESDIR}/opengl/cube.rb
+${RUBY_EXAMPLESDIR}/opengl/depthcue.rb
+${RUBY_EXAMPLESDIR}/opengl/dof.rb
+${RUBY_EXAMPLESDIR}/opengl/double.rb
+${RUBY_EXAMPLESDIR}/opengl/drawf.rb
+${RUBY_EXAMPLESDIR}/opengl/feedback.rb
+${RUBY_EXAMPLESDIR}/opengl/fog.rb
+${RUBY_EXAMPLESDIR}/opengl/font.rb
+${RUBY_EXAMPLESDIR}/opengl/hello.rb
+${RUBY_EXAMPLESDIR}/opengl/image.rb
+${RUBY_EXAMPLESDIR}/opengl/jitter.rb
+${RUBY_EXAMPLESDIR}/opengl/lines.rb
+${RUBY_EXAMPLESDIR}/opengl/list.rb
+${RUBY_EXAMPLESDIR}/opengl/material.rb
+${RUBY_EXAMPLESDIR}/opengl/mipmap.rb
+${RUBY_EXAMPLESDIR}/opengl/model.rb
+${RUBY_EXAMPLESDIR}/opengl/movelight.rb
+${RUBY_EXAMPLESDIR}/opengl/pickdepth.rb
+${RUBY_EXAMPLESDIR}/opengl/plane.rb
+${RUBY_EXAMPLESDIR}/opengl/planet.rb
+${RUBY_EXAMPLESDIR}/opengl/quadric.rb
+${RUBY_EXAMPLESDIR}/opengl/robot.rb
+${RUBY_EXAMPLESDIR}/opengl/select.rb
+${RUBY_EXAMPLESDIR}/opengl/smooth.rb
+${RUBY_EXAMPLESDIR}/opengl/stencil.rb
+${RUBY_EXAMPLESDIR}/opengl/stroke.rb
+${RUBY_EXAMPLESDIR}/opengl/surface.rb
+${RUBY_EXAMPLESDIR}/opengl/teaambient.rb
+${RUBY_EXAMPLESDIR}/opengl/teapots.rb
+${RUBY_EXAMPLESDIR}/opengl/tess.rb
+${RUBY_EXAMPLESDIR}/opengl/texbind.rb
+${RUBY_EXAMPLESDIR}/opengl/texgen.rb
+${RUBY_EXAMPLESDIR}/opengl/texturesurf.rb
+${RUBY_EXAMPLESDIR}/opengl/varray.rb
+${RUBY_EXAMPLESDIR}/opengl/wrap.rb
+@dirrm ${RUBY_EXAMPLESDIR}/opengl
+${RUBY_DOCDIR}/opengl/ChangeLog
+${RUBY_DOCDIR}/opengl/ja/README.EUC
+@dirrm ${RUBY_DOCDIR}/opengl/ja
+@dirrm ${RUBY_DOCDIR}/opengl