Date: Fri, 11 Oct 2013 12:07:40 +0000 (UTC) From: Thomas Abthorpe <tabthorpe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330068 - in head/graphics/ruby-opengl: . files Message-ID: <201310111207.r9BC7eSV031873@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tabthorpe Date: Fri Oct 11 12:07:39 2013 New Revision: 330068 URL: http://svnweb.freebsd.org/changeset/ports/330068 Log: - Restore graphics/ruby-opengl, fix the INDEX buld Submitted by: erwinbot Pointyhat to: tabthorpe Added: head/graphics/ruby-opengl/ head/graphics/ruby-opengl/Makefile (contents, props changed) head/graphics/ruby-opengl/distinfo (contents, props changed) head/graphics/ruby-opengl/files/ head/graphics/ruby-opengl/files/patch-glut.c (contents, props changed) head/graphics/ruby-opengl/pkg-descr (contents, props changed) head/graphics/ruby-opengl/pkg-plist (contents, props changed) Added: head/graphics/ruby-opengl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ruby-opengl/Makefile Fri Oct 11 12:07:39 2013 (r330068) @@ -0,0 +1,42 @@ +# Created by: Akinori MUSHA aka knu <knu@idaemons.org> +# $FreeBSD$ + +PORTNAME= opengl +PORTVERSION= 0.32b +PORTREVISION= 5 +CATEGORIES= graphics ruby +MASTER_SITES= http://www2.giganet.net/~yoshi/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= rbogl-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= ruby@FreeBSD.org +COMMENT= OpenGL/GLU/GLUT interface modules for Ruby + +DEPRECATED= Does not work with Ruby 1.9 +EXPIRATION_DATE= 2013-05-02 + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +USE_XORG= x11 xi xmu xext +USE_GL= glut + +WRKSRC= ${WRKDIR}/${PORTNAME} +CONFIGURE_ARGS= --with-ruby-dir="${LOCALBASE}" --with-x11-dir="${LOCALBASE}" +INSTALL_TARGET= site-install + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODEXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ + ${MKDIR} ${RUBY_MODDOCDIR}/ja + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_MODDOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_MODDOCDIR}/ja/ +.endif + +.include <bsd.port.pre.mk> +.if ${RUBY_VER} == 1.9 +BROKEN= does not build with ruby 1.9 +.endif +.include <bsd.port.post.mk> Added: head/graphics/ruby-opengl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ruby-opengl/distinfo Fri Oct 11 12:07:39 2013 (r330068) @@ -0,0 +1,2 @@ +SHA256 (ruby/rbogl-0.32b.tgz) = 78d98334ab53d94a62185ec78008b4e5651570ad0261480ebb9ae21ab8bf36d1 +SIZE (ruby/rbogl-0.32b.tgz) = 70340 Added: head/graphics/ruby-opengl/files/patch-glut.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ruby-opengl/files/patch-glut.c Fri Oct 11 12:07:39 2013 (r330068) @@ -0,0 +1,20 @@ +--- glut.c.orig Fri Jan 7 01:37:43 2000 ++++ glut.c Thu Aug 21 23:46:38 2003 +@@ -15,7 +15,7 @@ + static VALUE _funcname = Qnil; \ + static void glut_ ## _funcname ## Callback(); \ + static VALUE \ +-glut_ ## _funcname ## (obj,arg1) \ ++glut_ ## _funcname (obj,arg1) \ + VALUE obj,arg1; \ + { \ + int win; \ +@@ -25,7 +25,7 @@ + if (win == 0) \ + rb_raise(rb_eRuntimeError, "GLUT.%s needs current window", #_funcname); \ + rb_ary_store(_funcname, win, arg1); \ +- glut ## _funcname ## (glut_ ## _funcname ## Callback); \ ++ glut ## _funcname (glut_ ## _funcname ## Callback); \ + return Qnil; \ + } + Added: head/graphics/ruby-opengl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ruby-opengl/pkg-descr Fri Oct 11 12:07:39 2013 (r330068) @@ -0,0 +1,3 @@ +This is OpenGL/GLU/GLUT interface modules for Ruby. + +WWW: http://www.ruby-lang.org/raa/list.rhtml?name=opengl Added: head/graphics/ruby-opengl/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ruby-opengl/pkg-plist Fri Oct 11 12:07:39 2013 (r330068) @@ -0,0 +1,54 @@ +%%RUBY_SITEARCHLIBDIR%%/glut.so +%%RUBY_SITEARCHLIBDIR%%/opengl.so +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/aaindex.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/aapoly.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/aargb.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/accanti.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/accpersp.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/alpha.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/alpha3D.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/bezcurve.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/bezmesh.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/checker.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/clip.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/colormat.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cube.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/depthcue.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/dof.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/double.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/drawf.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/feedback.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/fog.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/font.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/image.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/jitter.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/lines.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/list.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/material.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mipmap.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/model.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/movelight.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pickdepth.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/plane.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/planet.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/quadric.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/robot.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/select.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/smooth.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/stencil.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/stroke.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/surface.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/teaambient.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/teapots.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/tess.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/texbind.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/texgen.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/texturesurf.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/varray.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/wrap.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.EUC +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310111207.r9BC7eSV031873>