summaryrefslogtreecommitdiff
path: root/graphics/ruby-opengl
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 16:13:35 +0000
committertaca <taca@pkgsrc.org>2004-11-27 16:13:35 +0000
commit0d9ebc2d2f14a8f506eba8cebc931197701de006 (patch)
tree219a47e070b929e157f3a64598fb9c6fbbfc19ff /graphics/ruby-opengl
parent4e5179db2d0250e0066218324fcb6a29136876d2 (diff)
downloadpkgsrc-0d9ebc2d2f14a8f506eba8cebc931197701de006.tar.gz
Migrate ruby-opengl to use new framework for Ruby packages.
Diffstat (limited to 'graphics/ruby-opengl')
-rw-r--r--graphics/ruby-opengl/DESCR2
-rw-r--r--graphics/ruby-opengl/Makefile27
2 files changed, 12 insertions, 17 deletions
diff --git a/graphics/ruby-opengl/DESCR b/graphics/ruby-opengl/DESCR
index a45fe7537c4..697be6196e9 100644
--- a/graphics/ruby-opengl/DESCR
+++ b/graphics/ruby-opengl/DESCR
@@ -1,3 +1 @@
These are OpenGL/GLU/GLUT interface modules for Ruby.
-
-Author: Yoshiyuki Kusano <yoshi@giganet.net>
diff --git a/graphics/ruby-opengl/Makefile b/graphics/ruby-opengl/Makefile
index 504a6d79bef..50d11f586b4 100644
--- a/graphics/ruby-opengl/Makefile
+++ b/graphics/ruby-opengl/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/10/03 00:14:57 tv Exp $
+# $NetBSD: Makefile,v 1.14 2004/11/27 16:13:35 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:S/c$/.3/}
-PKGREVISION= 1
+PKGNAME= ${RUBY_PKGPREFIX}-opengl-${VERSION}
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
@@ -11,16 +10,14 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www2.giganet.net/~yoshi/
COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
-WRKSRC= ${WRKDIR}/opengl-${VERSION}
-VERSION= 0.32c
-DIST_SUBDIR= ruby
-USE_BUILDLINK3= yes
-USE_X11= yes
-USE_RUBY_EXTCONF= yes
-
-CONFIGURE_ARGS+= --with-ruby-dir="${LOCALBASE}" \
- --with-x11-dir="${X11BASE}"
-INSTALL_TARGET= site-install
+USE_BUILDLINK3= yes
+USE_RUBY_EXTCONF= yes
+USE_X11= yes
+WRKSRC= ${WRKDIR}/opengl-${VERSION}
+VERSION= 0.32c
+INSTALL_TARGET= site-install
+CONFIGURE_ARGS+= --with-ruby-dir="${LOCALBASE}" \
+ --with-x11-dir="${X11BASE}"
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/opengl
@@ -30,6 +27,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_DOCDIR}/opengl/README.ja
.include "../../graphics/Mesa/buildlink3.mk"
-.include "../../lang/ruby-base/buildlink3.mk"
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"