blob: 80b387c4a1282a36351c9c40fc03661e72842ad9 (
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
|
# $NetBSD: Makefile,v 1.3 1999/09/17 05:21:32 sakamoto Exp $
# FreeBSD Id: ports/x11-toolkits/ruby-gtk/Makefile,v 1.3 1999/08/31 02:59:33 peter Exp
DISTNAME= ruby-gtk-0.21
CATEGORIES= x11
MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \
ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk.html
DEPENDS+= ruby-1.4.2:../../lang/ruby
DEPENDS+= gtk+-1.2.4:../../x11/gtk
DEPENDS+= imlib-1.9.4:../../graphics/imlib
USE_X11= YES
WRKSRC= ${WRKDIR}/gtk
RUBY_VERSION= 1.4
PLIST_SUBST= RUBY_VERSION=${RUBY_VERSION}
RUBY= ${PREFIX}/bin/ruby
do-configure:
@(cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${GTK_CONFIG})
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/*.rb ${PREFIX}/lib/ruby/${RUBY_VERSION}
${MKDIR} ${PREFIX}/share/examples/ruby/gtk
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser
${INSTALL_DATA} ${WRKSRC}/doc/*.rb ${PREFIX}/share/examples/ruby/gtk/browser
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/gdkimlib
${INSTALL_DATA} ${WRKSRC}/sample/gdkimlib/*.rb ${PREFIX}/share/examples/ruby/gtk/gdkimlib
.include "../../mk/bsd.pkg.mk"
|