2003-07-17 23:41:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2003/07/17 21:42:42 grant Exp $
|
2001-06-30 17:09:33 +02:00
|
|
|
# FreeBSD: ports/graphics/ruby-opengl/Makefile,v 1.4 2000/09/26 08:01:58 knu Exp
|
|
|
|
|
|
|
|
DISTNAME= rbogl-${VERSION}
|
2002-01-20 04:54:56 +01:00
|
|
|
PKGNAME= ${RUBY_PKGNAMEPREFIX}opengl-${VERSION:S/b$/.2/}
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 2
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/opengl
|
2001-06-30 17:09:33 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www2.giganet.net/~yoshi/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2001-06-30 17:09:33 +02:00
|
|
|
HOMEPAGE= http://www2.giganet.net/~yoshi/
|
|
|
|
COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
|
|
|
|
|
2002-01-20 04:54:56 +01:00
|
|
|
VERSION= 0.32b
|
2001-06-30 17:09:33 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2002-10-20 15:28:38 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2001-06-30 17:09:33 +02:00
|
|
|
USE_X11= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
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
|
2002-01-20 04:54:56 +01:00
|
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/opengl
|
2001-06-30 17:09:33 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/opengl
|
2002-01-20 04:54:56 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_DOCDIR}/opengl/README.ja
|
2001-06-30 17:09:33 +02:00
|
|
|
|
2002-10-20 15:28:38 +02:00
|
|
|
.include "../../graphics/Mesa/buildlink2.mk"
|
|
|
|
.include "../../lang/ruby-base/buildlink2.mk"
|
2001-06-30 17:09:33 +02:00
|
|
|
.include "../../lang/ruby-base/Makefile.common"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|