summaryrefslogtreecommitdiff
path: root/x11/ruby-gtk
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-17 05:21:32 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-17 05:21:32 +0000
commit26f2ba5d447dea1e1ee916be54808851f1d0cd66 (patch)
tree7e18cd218b62350589e0ed62cc1834b2949c5391 /x11/ruby-gtk
parentb977b5db997c49eb122896969580e806e522379b (diff)
downloadpkgsrc-26f2ba5d447dea1e1ee916be54808851f1d0cd66.tar.gz
Fix typo.
Diffstat (limited to 'x11/ruby-gtk')
-rw-r--r--x11/ruby-gtk/Makefile7
-rw-r--r--x11/ruby-gtk/pkg/PLIST4
2 files changed, 6 insertions, 5 deletions
diff --git a/x11/ruby-gtk/Makefile b/x11/ruby-gtk/Makefile
index 5bd18c74c34..80b387c4a12 100644
--- a/x11/ruby-gtk/Makefile
+++ b/x11/ruby-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/09/17 05:00:21 sakamoto Exp $
+# $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
@@ -20,7 +20,8 @@ DEPENDS+= imlib-1.9.4:../../graphics/imlib
USE_X11= YES
WRKSRC= ${WRKDIR}/gtk
-PLIST_SUBST= RUBY_VERSION=1.4
+RUBY_VERSION= 1.4
+PLIST_SUBST= RUBY_VERSION=${RUBY_VERSION}
RUBY= ${PREFIX}/bin/ruby
@@ -28,7 +29,7 @@ do-configure:
@(cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${GTK_CONFIG})
post-install:
- ${INSTALL_DATA} ${WRKSRC}/lib/*.rb ${PREFIX}/lib/ruby/${RUBY_VER}
+ ${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
diff --git a/x11/ruby-gtk/pkg/PLIST b/x11/ruby-gtk/pkg/PLIST
index 062f6be7a8b..4c581caf449 100644
--- a/x11/ruby-gtk/pkg/PLIST
+++ b/x11/ruby-gtk/pkg/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 1999/09/17 05:00:22 sakamoto Exp $
+@comment $NetBSD: PLIST,v 1.3 1999/09/17 05:21:33 sakamoto Exp $
lib/ruby/${RUBY_VERSION}/${MACHINE_ARCH}-${LOWER_OPSYS}/gtk.so
-lib/ruby/gtkcompat.rb
+lib/ruby/${RUBY_VERSION}/gtkcompat.rb
share/examples/ruby/gtk/drawing.rb
share/examples/ruby/gtk/helloworld.rb
share/examples/ruby/gtk/text.rb