pkgsrc/graphics/ruby-opengl/Makefile
2002-10-20 13:28:38 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2002/10/20 13:28:38 wiz 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/b$/.2/}
CATEGORIES= graphics
MASTER_SITES= http://www2.giganet.net/~yoshi/
EXTRACT_SUFX= .tgz
MAINTAINER= taca@netbsd.org
HOMEPAGE= http://www2.giganet.net/~yoshi/
COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
VERSION= 0.32b
DIST_SUBDIR= ruby
USE_BUILDLINK2= yes
USE_X11= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/opengl
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
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/opengl
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_DOCDIR}/opengl
${INSTALL_DATA} ${WRKSRC}/README.EUC ${RUBY_DOCDIR}/opengl/README.ja
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../lang/ruby-base/buildlink2.mk"
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"