summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-10 06:51:52 +0000
committertaca <taca@pkgsrc.org>2010-09-10 06:51:52 +0000
commit04939fa8e10ce3e0242dadabed0650c2d770ef08 (patch)
treebd71aa75079b0a69fe2ff33a645e9c8f4a2a962f /graphics/ruby-opengl
parentace154a299265396bf357b2c7d1e4a33d20297d1 (diff)
downloadpkgsrc-04939fa8e10ce3e0242dadabed0650c2d770ef08.tar.gz
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Ajust new ruby package's framework.
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r--graphics/ruby-opengl/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
index 4a35ddffe47..3c01c3aa5de 100644
--- a/graphics/ruby-opengl/Makefile
+++ b/graphics/ruby-opengl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2010/06/14 02:25:01 obache Exp $
+# $NetBSD: Makefile,v 1.30 2010/09/10 06:51:52 taca Exp $
DISTNAME= ruby-opengl-0.60.1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
@@ -9,10 +9,13 @@ HOMEPAGE= http://ruby-opengl.rubyforge.org/
COMMENT= Ruby bindings for OpenGL, GLU and GLUT
LICENSE= mit
-DEPENDS+= rake>=0.8.1:../../devel/rake
DEPENDS+= ${RUBY_PKGPREFIX}-mkrf>=0.2.0:../../devel/ruby-mkrf
-.include "../../misc/rubygems/rubygem.mk"
+USE_RAKE= YES
+pre-configure:
+ ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
+
+.include "../../lang/ruby/gem.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"