summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-01-28 14:08:01 +0000
committertaca <taca@pkgsrc.org>2005-01-28 14:08:01 +0000
commitc879597001d5ea5ee3658d9d7cac668dd5ddc515 (patch)
tree9cf6619510831f4eb9e9674ceb40e93ec754e856 /x11
parente1f96ba5795bfeca8f1660f259ce8f0ca41a16db (diff)
downloadpkgsrc-c879597001d5ea5ee3658d9d7cac668dd5ddc515.tar.gz
Add RUBY_HAS_ARCHLIB which have machine dependent extention libraries.
Bump PKG_REVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/ruby-fox/Makefile5
-rw-r--r--x11/ruby-gtk/Makefile4
-rw-r--r--x11/ruby16-tcltklib/Makefile3
-rw-r--r--x11/ruby16-tk/Makefile8
4 files changed, 13 insertions, 7 deletions
diff --git a/x11/ruby-fox/Makefile b/x11/ruby-fox/Makefile
index cc288d68b45..551983637d8 100644
--- a/x11/ruby-fox/Makefile
+++ b/x11/ruby-fox/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2004/12/28 23:18:22 reed Exp $
+# $NetBSD: Makefile,v 1.21 2005/01/28 14:08:02 taca Exp $
DISTNAME= FXRuby-1.0.29
PKGNAME= ${RUBY_PKGPREFIX}-fox-1.0.29
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 ruby
MASTER_SITES= http://rubyforge.org/frs/download.php/983/ \
${MASTER_SITE_SOURCEFORGE:=fxruby/}
@@ -10,6 +10,7 @@ MAINTAINER= sakamoto@NetBSD.org
HOMEPAGE= http://www.fxruby.org/
COMMENT= Ruby interface to FOX GUI library
+RUBY_HAS_ARCHLIB= yes
USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
USE_X11= yes
diff --git a/x11/ruby-gtk/Makefile b/x11/ruby-gtk/Makefile
index 9a40eee22ee..494ad729bd3 100644
--- a/x11/ruby-gtk/Makefile
+++ b/x11/ruby-gtk/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2004/11/28 05:57:21 taca Exp $
+# $NetBSD: Makefile,v 1.29 2005/01/28 14:08:02 taca Exp $
# FreeBSD: ports/x11-toolkits/ruby-gtk/Makefile,v 1.16 2000/10/15 15:45:59 knu Exp
DISTNAME= ruby-gtk-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-gtk-${VERSION}
+PKGREVISION= 1
CATEGORIES= x11 ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gnome/}
@@ -11,6 +12,7 @@ HOMEPAGE= http://ruby-gnome.sourceforge.net/
COMMENT= Ruby interface to Gtk+ toolkits
VERSION= 0.34
+RUBY_HAS_ARCHLIB= yes
USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
USE_X11= yes
diff --git a/x11/ruby16-tcltklib/Makefile b/x11/ruby16-tcltklib/Makefile
index 2226f70dd58..9794b519ba1 100644
--- a/x11/ruby16-tcltklib/Makefile
+++ b/x11/ruby16-tcltklib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:52:19 taca Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/28 14:08:02 taca Exp $
# FreeBSD: ports/lang/ruby-tcltklib/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp
DISTNAME= ${RUBY_DISTNAME}
@@ -10,6 +10,7 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby interface to Tcl/Tk libraries
+RUBY_HAS_ARCHLIB= yes
RUBY_VERSION= ${RUBY16_VERSION}
USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
diff --git a/x11/ruby16-tk/Makefile b/x11/ruby16-tk/Makefile
index bc578e291c9..3624a3dcfc9 100644
--- a/x11/ruby16-tk/Makefile
+++ b/x11/ruby16-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 14:52:52 taca Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/28 14:08:02 taca Exp $
# FreeBSD: ports/x11-toolkits/ruby-tk/Makefile,v 1.21 2000/10/20 19:56:04 knu Exp
DISTNAME= ${RUBY_DISTNAME}
@@ -12,6 +12,7 @@ COMMENT= Ruby interface to the Tk widget set
DEPENDS+= ${RUBY_PKGPREFIX}-tcltklib>=${RUBY_VERSION}:../../x11/${RUBY_PKGPREFIX}-tcltklib
+RUBY_HAS_ARCHLIB= yes
RUBY_VERSION= ${RUBY16_VERSION}
USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
@@ -22,8 +23,9 @@ WRKSRC= ${RUBY_WRKSRC}/ext/tk
REPLACE_RUBY= sample/tkbiff.rb sample/tkbrowse.rb \
sample/tkdialog.rb sample/tkfrom.rb sample/tktimer.rb
-post-patch:
- @${FIND} ${WRKSRC} -name '*.orig' -exec rm -f {} \;
+pre-configure:
+ @cd ${WRKSRC}; \
+ ${FIND} . \( -name '*.orig' -o -name '*.bak' \) -exec rm -f {} \;
post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tk