diff options
Diffstat (limited to 'x11/ruby-gtk/Makefile')
-rw-r--r-- | x11/ruby-gtk/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/x11/ruby-gtk/Makefile b/x11/ruby-gtk/Makefile index 7b31142d517..67cbd13a233 100644 --- a/x11/ruby-gtk/Makefile +++ b/x11/ruby-gtk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 1999/12/14 07:23:20 sakamoto Exp $ +# $NetBSD: Makefile,v 1.7 2000/04/18 10:54:45 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.22 +DISTNAME= ruby-gtk-0.23 CATEGORIES= x11 MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \ ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \ @@ -12,14 +12,13 @@ MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \ ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/ MAINTAINER= sakamoto@netbsd.org -HOMEPAGE= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk.html.en +HOMEPAGE= http://www.ruby-lang.org/gtk/en/ DEPENDS+= ruby-1.4.*:../../lang/ruby -DEPENDS+= gtk+-1.2.*:../../x11/gtk DEPENDS+= imlib-*:../../graphics/imlib USE_X11= YES -WRKSRC= ${WRKDIR}/gtk +WRKSRC= ${WRKDIR}/${DISTNAME:S/ruby-//} RUBY_VERSION= 1.4 PLIST_SUBST= RUBY_VERSION=${RUBY_VERSION} @@ -30,11 +29,14 @@ do-configure: 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_DIR} ${PREFIX}/share/examples/ruby/gtk + ${GTAR} Ccf ${WRKSRC}/sample - .|${GTAR} Cxf ${PREFIX}/share/examples/ruby/gtk - + ${INSTALL_DATA_DIR} ${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 + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby-gtk + ${GTAR} Ccf ${WRKSRC}/doc - .happy api api-ja|${GTAR} Cxf ${PREFIX}/share/doc/ruby-gtk - +.for f in BUGS MEMO-Imlib README README.EXT README.EXT.ja README.ja ToDo + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby-gtk +.endfor .include "../../mk/bsd.pkg.mk" |