summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-03-12 11:05:18 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-03-12 11:05:18 +0000
commitebfae590f20141a525b7803823fa8c115997107f (patch)
treededcac2efe771f0a890bb568923089f2223d3814 /x11-toolkits
parentUpdate to 0.41. (diff)
-Update to 0.12.0, works with GTK 2.6/GNOME 2.10.
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20050306_1 -A few clean up such as correct paths, dependencies and etc.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-gtk2/Makefile10
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-plist15
-rw-r--r--x11-toolkits/ruby-gtkglext/Makefile9
-rw-r--r--x11-toolkits/ruby-gtksourceview/Makefile2
-rw-r--r--x11-toolkits/ruby-panelapplet/Makefile11
-rw-r--r--x11-toolkits/ruby-pango/Makefile7
-rw-r--r--x11-toolkits/ruby-pango/pkg-plist1
7 files changed, 39 insertions, 16 deletions
diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile
index 6daf8c31fb38..e9794526fa3b 100644
--- a/x11-toolkits/ruby-gtk2/Makefile
+++ b/x11-toolkits/ruby-gtk2/Makefile
@@ -7,7 +7,6 @@
PORTNAME= gtk2
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTREVISION= 1
CATEGORIES= x11-toolkits ruby
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
@@ -18,12 +17,12 @@ DIST_SUBDIR= ruby
MAINTAINER= mezz@FreeBSD.org
COMMENT= Ruby binding for GTK+2
+BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/pango.so:${PORTSDIR}/x11-toolkits/ruby-pango
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/atk.so:${PORTSDIR}/accessibility/ruby-atk \
${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
${RUBY_SITEARCHLIBDIR}/pango.so:${PORTSDIR}/x11-toolkits/ruby-pango
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= gtk20
USE_REINPLACE= yes
USE_RUBY_EXTCONF= yes
@@ -38,8 +37,11 @@ DOCS= COPYING.LIB ChangeLog README
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${X11BASE}/share|g' \
${WRKSRC}/sample/gtk-demo/common.rb
- @${REINPLACE_CMD} -e 's|/usr/local/share|${X11BASE}/share|g' \
- ${WRKSRC}/sample/testgtk/testgtkrc
+ @${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \
+ ${WRKSRC}/sample/misc/*.rb
+ @${REINPLACE_CMD} -e 's|/usr/local/share|${X11BASE}/share|g ; \
+ s|local/bin/ruby|bin/env ruby|g' \
+ ${WRKSRC}/sample/testgtk/testgtk*
@${FIND} ${WRKSRC} -name '*.bak' -delete
post-install:
diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist
index 0d8041ea1e7a..d6e3db7ccf13 100644
--- a/x11-toolkits/ruby-gtk2/pkg-plist
+++ b/x11-toolkits/ruby-gtk2/pkg-plist
@@ -7,21 +7,29 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/alphatest.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/apple-red.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/appwindow.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/background.jpg
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/button_box.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/changedisplay.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/clipboard.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/colorsel.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/common.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/dialog.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/drawingarea.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/editable_cells.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/entry_completion.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/expander.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/floppybuddy.gif
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-applets.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-calendar.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-foot.png
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-fs-directory.png
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-fs-regular.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-gimp.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-gmush.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnome-gsame.png
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gnu-keys.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/gtk-logo-rgb.gif
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/iconview.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/images.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/item_factory.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/list_store.rb
@@ -29,18 +37,20 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/menus.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/panes.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/pixbufs.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/rotated_text.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/ruby-gnome2-logo.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/sizegroup.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/stock_browser.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/textview.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/tree_store.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/aboutdialog.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/aboutdialog2.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/bindings.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/button.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/button2.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/buttonbox.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/calendar.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/checkbutton.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/color_font_button.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/combo_check.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/combobox.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/cursor.rb
@@ -66,6 +76,8 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/label.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/listview.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/menu.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/misc_button.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/pangorenderer.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/pointer_grab.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/properties.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/radiobutton.rb
@@ -80,6 +92,7 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/to_drawable.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/togglebutton.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/toolbar.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/tree_progress.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/treemodelfilter.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/treeview.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/uimanager.rb
diff --git a/x11-toolkits/ruby-gtkglext/Makefile b/x11-toolkits/ruby-gtkglext/Makefile
index d322066a4290..9e2f6328dbf7 100644
--- a/x11-toolkits/ruby-gtkglext/Makefile
+++ b/x11-toolkits/ruby-gtkglext/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
${RUBY_SITEARCHLIBDIR}/opengl.so:${PORTSDIR}/graphics/ruby-opengl
USE_RUBY= yes
-USE_XLIB= yes
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
@@ -32,12 +31,6 @@ INSTALL_TARGET= site-install
DOCS= ChangeLog README
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= "Does not work on FreeBSD 4.x, because of thread issue with ruby-opengl and ruby-gnome2-all"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
@@ -48,4 +41,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-gtksourceview/Makefile b/x11-toolkits/ruby-gtksourceview/Makefile
index 58851affda2f..758059d06acb 100644
--- a/x11-toolkits/ruby-gtksourceview/Makefile
+++ b/x11-toolkits/ruby-gtksourceview/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= ruby
MAINTAINER= mezz@FreeBSD.org
COMMENT= Ruby binding for GtkSourceView
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
USE_RUBY= yes
USE_GNOME= gtksourceview
diff --git a/x11-toolkits/ruby-panelapplet/Makefile b/x11-toolkits/ruby-panelapplet/Makefile
index de768d7f572a..f9358f9a7a8d 100644
--- a/x11-toolkits/ruby-panelapplet/Makefile
+++ b/x11-toolkits/ruby-panelapplet/Makefile
@@ -17,10 +17,11 @@ DIST_SUBDIR= ruby
MAINTAINER= mezz@FreeBSD.org
COMMENT= Ruby binding for libpanel-applet
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2
USE_RUBY= yes
USE_GNOME= gnomepanel
+USE_REINPLACE= yes
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
@@ -30,6 +31,14 @@ INSTALL_TARGET= site-install
DOCS= COPYING.LIB ChangeLog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/lib/|${X11BASE}/libdata/|g ; \
+ s|/usr/libexec/|${X11BASE}/libexec/|g' \
+ ${WRKSRC}/sample/README ${WRKSRC}/sample/*.server
+ @${REINPLACE_CMD} -e 's|bin/ruby|bin/env ruby|g' \
+ ${WRKSRC}/sample/hello-applet.rb
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
diff --git a/x11-toolkits/ruby-pango/Makefile b/x11-toolkits/ruby-pango/Makefile
index a2187ac8a451..783697e8fa7d 100644
--- a/x11-toolkits/ruby-pango/Makefile
+++ b/x11-toolkits/ruby-pango/Makefile
@@ -20,8 +20,8 @@ COMMENT= Ruby binding for Pango
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= pango
+USE_REINPLACE= yes
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
@@ -31,6 +31,11 @@ INSTALL_TARGET= site-install
DOCS= COPYING.LIB ChangeLog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \
+ ${WRKSRC}/sample/*.rb
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
diff --git a/x11-toolkits/ruby-pango/pkg-plist b/x11-toolkits/ruby-pango/pkg-plist
index 5b2a6ae7732a..dc03bb40cc9d 100644
--- a/x11-toolkits/ruby-pango/pkg-plist
+++ b/x11-toolkits/ruby-pango/pkg-plist
@@ -1,5 +1,6 @@
%%RUBY_SITEARCHLIBDIR%%/pango.so
%%RUBY_SITEARCHLIBDIR%%/rbpango.h
+%%RUBY_SITEARCHLIBDIR%%/rbpangoversion.h
%%RUBY_SITELIBDIR%%/pango.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/attribute.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gdk_layout.rb