pkgsrc/x11/ruby-gtk/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2001/09/27 23:19:02 jlam Exp $
# FreeBSD: ports/x11-toolkits/ruby-gtk/Makefile,v 1.16 2000/10/15 15:45:59 knu Exp
DISTNAME= ruby-gtk-0.25
PKGNAME= ${RUBY_PKGNAMEPREFIX}gtk-0.25
CATEGORIES= x11
MASTER_SITES= http://www.ruby-lang.org/gtk/download/
MAINTAINER= taca@netbsd.org
HOMEPAGE= http://www.ruby-lang.org/gtk/en/
COMMENT= Ruby interface to Gtk+ toolkits
WRKSRC= ${WRKDIR}/${DISTNAME:S/ruby-//}
DIST_SUBDIR= ruby
USE_RUBY_EXTCONF= yes
USE_X11= yes
INSTALL_TARGET= site-install
DEPENDS+= imlib-[0-9]*:../../graphics/imlib
DOCS_EN= README README.EXT doc/rbbr.rb
DOCS_JA= README.ja README.EXT.ja
do-configure:
@(cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb)
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gtk
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/gtk
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gtk/doc
${INSTALL_DATA} ${WRKSRC}/doc/rbbr.rb \
${RUBY_EXAMPLESDIR}/gtk/doc
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gtk/test
${INSTALL_DATA} ${WRKSRC}/sample/test/* ${RUBY_EXAMPLESDIR}/gtk/test
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gtk/testgtk
${INSTALL_DATA} ${WRKSRC}/sample/testgtk/* \
${RUBY_EXAMPLESDIR}/gtk/testgtk
.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"