blob: 1a676588d146bac528660e0b78acc37fd7d1806f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.19 2005/03/24 21:12:55 wiz Exp $
DISTNAME= rbogl-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-opengl-${VERSION}
PKGREVISION= 2
CATEGORIES= graphics ruby
MASTER_SITES= http://www2.giganet.net/~yoshi/
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www2.giganet.net/~yoshi/
COMMENT= OpenGL/GLU/GLUT interface modules for Ruby
RUBY_HAS_ARCHLIB= yes
USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
USE_X11= yes
WRKSRC= ${WRKDIR}/opengl-${VERSION}
VERSION= 0.32f
INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-ruby-dir="${LOCALBASE}" \
--with-x11-dir="${X11BASE}"
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/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|