aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-06-03 18:53:48 +0800
committerknu <knu@FreeBSD.org>2002-06-03 18:53:48 +0800
commitb347fc61d223ea9abad8d5a11ee9d0f39a6696fe (patch)
tree416fc5be8273470c72a208e38dcd5c61a3e2db12 /x11-toolkits
parent2c83a6dacd3fa8199b43af6ed4a0f87293aeb4e7 (diff)
downloadfreebsd-ports-gnome-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.tar.gz
freebsd-ports-gnome-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.tar.zst
freebsd-ports-gnome-b347fc61d223ea9abad8d5a11ee9d0f39a6696fe.zip
Update the Ruby/GNOME suite to 0.28.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-gtk/files/patch-extconf.rb32
-rw-r--r--x11-toolkits/ruby-gtk/pkg-plist1
-rw-r--r--x11-toolkits/ruby-gtk2/files/patch-extconf.rb32
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-plist1
4 files changed, 2 insertions, 64 deletions
diff --git a/x11-toolkits/ruby-gtk/files/patch-extconf.rb b/x11-toolkits/ruby-gtk/files/patch-extconf.rb
deleted file mode 100644
index 8134afd73c31..000000000000
--- a/x11-toolkits/ruby-gtk/files/patch-extconf.rb
+++ /dev/null
@@ -1,32 +0,0 @@
---- extconf.rb.orig Wed Jan 9 05:21:22 2002
-+++ extconf.rb Wed Mar 20 22:12:37 2002
-@@ -8,24 +8,13 @@
- # detect GTK+ configurations
- #
- if /mswin32/ !~ PLATFORM
-- config_cmds = ["gtk-config"]
-- while /^--/ =~ ARGV[0]
-- ARGV.shift
-- end
-- if ARGV.size > 0
-- config_cmds.unshift(ARGV[0])
-- end
-+ config_cmd = with_config("gtk-config", "gtk-config")
-
- begin
-- config_cmds.each do |config_cmd|
-- version = `#{config_cmd} --version`
-- if not version.chomp.empty?
-- config_libs, config_cflags = "--libs", "--cflags"
-- $LDFLAGS, *libs = `#{config_cmd} #{config_libs}`.chomp.split(/(-l.*)/)
-- $libs = libs.join(' ') + ' ' + $libs
-- $CFLAGS = `#{config_cmd} #{config_cflags}`.chomp
-- break
-- end
-+ version = `#{config_cmd} --version`
-+ if not version.chomp.empty?
-+ $LDFLAGS += ' ' + `#{config_cmd} --libs`.chomp
-+ $CFLAGS += ' ' + `#{config_cmd} --cflags`.chomp
- end
- rescue
- $LDFLAGS = '-L/usr/X11R6/lib -L/usr/local/lib'
diff --git a/x11-toolkits/ruby-gtk/pkg-plist b/x11-toolkits/ruby-gtk/pkg-plist
index 7e3cad5a2766..dbf8bf0660cb 100644
--- a/x11-toolkits/ruby-gtk/pkg-plist
+++ b/x11-toolkits/ruby-gtk/pkg-plist
@@ -5,6 +5,7 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/dnd.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/drawing.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/helloworld.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/item_factory.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/keyboard_grab.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/pointer_grab.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/gtkbrows.rb
diff --git a/x11-toolkits/ruby-gtk2/files/patch-extconf.rb b/x11-toolkits/ruby-gtk2/files/patch-extconf.rb
deleted file mode 100644
index 8134afd73c31..000000000000
--- a/x11-toolkits/ruby-gtk2/files/patch-extconf.rb
+++ /dev/null
@@ -1,32 +0,0 @@
---- extconf.rb.orig Wed Jan 9 05:21:22 2002
-+++ extconf.rb Wed Mar 20 22:12:37 2002
-@@ -8,24 +8,13 @@
- # detect GTK+ configurations
- #
- if /mswin32/ !~ PLATFORM
-- config_cmds = ["gtk-config"]
-- while /^--/ =~ ARGV[0]
-- ARGV.shift
-- end
-- if ARGV.size > 0
-- config_cmds.unshift(ARGV[0])
-- end
-+ config_cmd = with_config("gtk-config", "gtk-config")
-
- begin
-- config_cmds.each do |config_cmd|
-- version = `#{config_cmd} --version`
-- if not version.chomp.empty?
-- config_libs, config_cflags = "--libs", "--cflags"
-- $LDFLAGS, *libs = `#{config_cmd} #{config_libs}`.chomp.split(/(-l.*)/)
-- $libs = libs.join(' ') + ' ' + $libs
-- $CFLAGS = `#{config_cmd} #{config_cflags}`.chomp
-- break
-- end
-+ version = `#{config_cmd} --version`
-+ if not version.chomp.empty?
-+ $LDFLAGS += ' ' + `#{config_cmd} --libs`.chomp
-+ $CFLAGS += ' ' + `#{config_cmd} --cflags`.chomp
- end
- rescue
- $LDFLAGS = '-L/usr/X11R6/lib -L/usr/local/lib'
diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist
index 7e3cad5a2766..dbf8bf0660cb 100644
--- a/x11-toolkits/ruby-gtk2/pkg-plist
+++ b/x11-toolkits/ruby-gtk2/pkg-plist
@@ -5,6 +5,7 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/dnd.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/drawing.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/helloworld.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/item_factory.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/keyboard_grab.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/pointer_grab.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/gtkbrows.rb