blob: 24a43720d4bc318de31918668f9157fb8ea2b28a (
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
|
# $NetBSD: Makefile,v 1.26 2007/02/04 22:03:01 joerg 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_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/opengl-${VERSION}
VERSION= 0.32g
INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-ruby-dir=${LOCALBASE:Q} \
--with-x11-dir=${X11BASE:Q}
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"
|