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

This commit is contained in:
taca 2004-11-27 16:13:35 +00:00
parent 1ea2373c73
commit a41203ce3b
2 changed files with 12 additions and 17 deletions

View file

@ -1,3 +1 @@
These are OpenGL/GLU/GLUT interface modules for Ruby.
Author: Yoshiyuki Kusano <yoshi@giganet.net>

View file

@ -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"