pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-opengl Migrate ruby-opengl to use new fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb26be3fe2f0
branches:  trunk
changeset: 484474:cb26be3fe2f0
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 16:13:35 2004 +0000

description:
Migrate ruby-opengl to use new framework for Ruby packages.

diffstat:

 graphics/ruby-opengl/DESCR    |   2 --
 graphics/ruby-opengl/Makefile |  27 ++++++++++++---------------
 2 files changed, 12 insertions(+), 17 deletions(-)

diffs (56 lines):

diff -r 90ab7f72c34f -r cb26be3fe2f0 graphics/ruby-opengl/DESCR
--- a/graphics/ruby-opengl/DESCR        Sat Nov 27 16:12:57 2004 +0000
+++ b/graphics/ruby-opengl/DESCR        Sat Nov 27 16:13:35 2004 +0000
@@ -1,3 +1,1 @@
 These are OpenGL/GLU/GLUT interface modules for Ruby.
-
-Author:        Yoshiyuki Kusano <yoshi%giganet.net@localhost>
diff -r 90ab7f72c34f -r cb26be3fe2f0 graphics/ruby-opengl/Makefile
--- a/graphics/ruby-opengl/Makefile     Sat Nov 27 16:12:57 2004 +0000
+++ b/graphics/ruby-opengl/Makefile     Sat Nov 27 16:13:35 2004 +0000
@@ -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 @@
 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 @@
        ${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"



Home | Main Index | Thread Index | Old Index