blob: 29683375266635ff36ce388148a9efd8229ad41b (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.24 2005/04/11 21:48:13 tv Exp $
DISTNAME= FXRuby-1.0.29
PKGNAME= ${RUBY_PKGPREFIX}-fox-1.0.29
PKGREVISION= 3
CATEGORIES= x11 ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/983/ \
${MASTER_SITE_SOURCEFORGE:=fxruby/}
MAINTAINER= sakamoto@NetBSD.org
HOMEPAGE= http://www.fxruby.org/
COMMENT= Ruby interface to FOX GUI library
DEPENDS+= ${RUBY_PKGPREFIX}-opengl>=0.32:../../graphics/ruby-opengl
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
USE_X11= yes
INSTALL_TARGET= site-install
WRKDIST= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKDIST}/ext/fox
CONFIGURE_ARGS+= --with-fox-include=${BUILDLINK_PREFIX.fox}/include/fox
CONFIGURE_ARGS+= --with-opengl-include=${BUILDLINK_PREFIX.Mesa}/include/GL
CONFIGURE_ARGS+= --with-fox-lib=${BUILDLINK_PREFIX.fox}/lib
post-install:
${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/fox
${INSTALL_DATA} ${WRKDIST}/lib/fox/*.rb ${RUBY_SITELIBDIR}/fox
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox
${INSTALL_DATA} ${WRKDIST}/examples/README ${WRKDIST}/examples/*.rb \
${RUBY_EXAMPLESDIR}/fox
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox/icons
${INSTALL_DATA} ${WRKDIST}/examples/icons/* \
${RUBY_EXAMPLESDIR}/fox/icons
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/fox/textedit
${INSTALL_DATA} ${WRKDIST}/examples/textedit/* \
${RUBY_EXAMPLESDIR}/fox/textedit
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/fox ${RUBY_DOCDIR}/fox/images
${INSTALL_DATA} ${WRKDIST}/doc/*.html ${RUBY_DOCDIR}/fox
${INSTALL_DATA} ${WRKDIST}/doc/images/* ${RUBY_DOCDIR}/fox/images
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../x11/fox/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|