summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl/Makefile
diff options
context:
space:
mode:
authortaca <taca>2001-06-30 15:09:33 +0000
committertaca <taca>2001-06-30 15:09:33 +0000
commit4b9db22fde4b0461228de18c889ac5eec1d627ef (patch)
treedb1ba3929f002fc670ec0c8530553b9d59fdc67b /graphics/ruby-opengl/Makefile
parent7c63ccda078f4b216f9e810af0b68c615844527d (diff)
downloadpkgsrc-4b9db22fde4b0461228de18c889ac5eec1d627ef.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/Makefile')
-rw-r--r--graphics/ruby-opengl/Makefile34
1 files changed, 34 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"