diff options
-rw-r--r-- | devel/ruby-glib2/Makefile | 48 | ||||
-rw-r--r-- | devel/ruby-glib2/pkg-descr | 3 | ||||
-rw-r--r-- | devel/ruby-glib2/pkg-plist | 37 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk2/Makefile | 61 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk2/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk2/pkg-plist | 197 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile | 52 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile.common | 27 | ||||
-rw-r--r-- | x11/ruby-gnome2/distinfo | 3 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-descr | 5 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-plist | 37 |
11 files changed, 473 insertions, 0 deletions
diff --git a/devel/ruby-glib2/Makefile b/devel/ruby-glib2/Makefile new file mode 100644 index 000000000..80377edd1 --- /dev/null +++ b/devel/ruby-glib2/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Ruby/GLib2 +# Date created: 24 November 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD: ports/devel/ruby-glib2/Makefile,v 1.17 2007/01/02 00:57:01 mezz Exp $ +# $MCom: ports/devel/ruby-glib2/Makefile,v 1.2 2005/10/17 07:05:39 mezz Exp $ +# + +PORTNAME= glib2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= devel ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= mezz@FreeBSD.org +COMMENT= Ruby binding for GLib2 + +USE_RUBY= yes +USE_GNOME= glib20 +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/glib +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/sample/utils.rb + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + @${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/ruby-glib2/pkg-descr b/devel/ruby-glib2/pkg-descr new file mode 100644 index 000000000..f25fcb39c --- /dev/null +++ b/devel/ruby-glib2/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GLib2 is a Ruby binding for GLib2. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/devel/ruby-glib2/pkg-plist b/devel/ruby-glib2/pkg-plist new file mode 100644 index 000000000..2e80be81b --- /dev/null +++ b/devel/ruby-glib2/pkg-plist @@ -0,0 +1,37 @@ +%%RUBY_SITELIBDIR%%/glib-mkenums.rb +%%RUBY_SITELIBDIR%%/glib2.rb +%%RUBY_SITEARCHLIBDIR%%/glib2.so +%%RUBY_SITEARCHLIBDIR%%/rbglib.h +%%RUBY_SITEARCHLIBDIR%%/rbgobject.h +%%RUBY_SITEARCHLIBDIR%%/rbgutil.h +%%RUBY_SITELIBDIR%%/mkmf-gnome2.rb +%%RUBY_SITELIBDIR%%/pkg-config.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/bookmarkfile.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/completion.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/idle.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/iochannel.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/keyfile.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/runner.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shell.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/spawn.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_enum.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_glib2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_iochannel.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_unicode.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/timeout.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/timeout2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/timer.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/type-register.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/type-register2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/utils.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile new file mode 100644 index 000000000..ecd0c743e --- /dev/null +++ b/x11-toolkits/ruby-gtk2/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: Ruby/GTK2 +# Date created: 19 April 1999 +# Whom: Yasuhiro Fukuma <yasuf@big.or.jp> +# +# $FreeBSD: ports/x11-toolkits/ruby-gtk2/Makefile,v 1.42 2007/05/19 20:31:58 flz Exp $ +# $MCom: ports/x11-toolkits/ruby-gtk2/Makefile,v 1.2 2005/10/17 07:05:43 mezz Exp $ +# + +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} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +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_GNOME= gtk20 +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gtk +INSTALL_TARGET= site-install + +DOCS= COPYING.LIB ChangeLog README + +post-patch: general-patch + @${REINPLACE_CMD} -e 's|/usr/share|${X11BASE}/share|g' \ + ${WRKSRC}/sample/gtk-demo/common.rb + @${REINPLACE_CMD} -e 's|local/bin/ruby|bin/env ruby|g' \ + ${WRKSRC}/sample/misc/button2.rb + @${REINPLACE_CMD} -e 's|/usr/local/share|${X11BASE}/share|g' \ + ${WRKSRC}/sample/testgtk/testgtk* + @${FIND} ${WRKSRC} -name '*.bak' -delete + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR}/gtk-demo + @${MKDIR} ${RUBY_MODEXAMPLESDIR}/misc + @${MKDIR} ${RUBY_MODEXAMPLESDIR}/testgtk + @${INSTALL_DATA} ${WRKSRC}/sample/gtk-demo/* ${RUBY_MODEXAMPLESDIR}/gtk-demo/ + @${INSTALL_DATA} ${WRKSRC}/sample/misc/* ${RUBY_MODEXAMPLESDIR}/misc/ + @${INSTALL_DATA} ${WRKSRC}/sample/testgtk/* ${RUBY_MODEXAMPLESDIR}/testgtk/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/ruby-gtk2/pkg-descr b/x11-toolkits/ruby-gtk2/pkg-descr new file mode 100644 index 000000000..94ae806a1 --- /dev/null +++ b/x11-toolkits/ruby-gtk2/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GTK2 is a Ruby binding for GTK+2. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist new file mode 100644 index 000000000..6ed5a3549 --- /dev/null +++ b/x11-toolkits/ruby-gtk2/pkg-plist @@ -0,0 +1,197 @@ +%%RUBY_SITELIBDIR%%/gtk2.rb +%%RUBY_SITELIBDIR%%/gtk2/base.rb +%%RUBY_SITEARCHLIBDIR%%/gtk2.so +%%RUBY_SITEARCHLIBDIR%%/rbgtk.h +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/README +%%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/cairo-arc-negative.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-arc.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-clip-image.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-clip-rectangle.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-clip.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-curve-rectangle.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-curve-to.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-dash.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-fill-and-stroke.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-fill-and-stroke2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-gradient.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-image-pattern.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-image.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-line-cap.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-line-join.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-long-lines.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-operator.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-path.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-pattern-fill.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-self-intersect.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-text-align-center.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-text-extents.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/cairo-text.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/hypertext.rb +%%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 +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtk-demo/main.rb +%%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/alpha-demo.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/assistant.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/cairo-pong.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/calendar.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/checkbutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/colorselection.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/combo_check.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/combobox.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/cursor.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/dialog.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/dialog2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/dnd.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/dndtreeview.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/drag-move.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/drawing.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/entrycompletion.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/expander.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/filechooser.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/fileselection.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/frame.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/gc.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/gdkscreen.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/gnome-logo-icon.png +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/helloworld.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/iconview.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/image.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/itemfactory.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/itemfactory2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/keyboard_grab.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/label.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/linkbutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/listview.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/menu.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/misc_button.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/mouse-gesture.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/pangorenderer.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/pointer_grab.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/print.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/properties.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/radiobutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/recentchooserdialog.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/rgtk+cairo.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/scalebutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/settings.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/statusicon.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/stock.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/style_property.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/style_property.rc +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/t-gtkplug.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/t-gtksocket.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/test.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/textbuffer_serialize.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/threads.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/to_drawable.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/togglebutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/toolbar.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/tooltips.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/tree_combo.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 +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/uimanager2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/uimanager2.xml +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/window.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/misc/xbm_cursor.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/3DRings.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/FilesQueue.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/Modeller.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/button.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/buttonbox.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/check-n.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/check-y.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/checkbutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/circles.xbm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/colorselect.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/dialog.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/filesel.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/fontselection.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/gammacurve.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/labels.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/layout.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/marble.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/menu.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/notebook.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/pixmap.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/progressbar.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/radiobutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/range.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/reparent.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/rulers.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/sample.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/savedposition.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/scrolledwindow.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/shapedwindow.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/spinbutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/statusbar.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/test.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/testgtk.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/testgtkrc +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/testgtkrc2 +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/togglebutton.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/toolbar.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/tooltips.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testgtk/wmhints.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/testgtk +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/misc +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/gtk-demo +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%%/gtk2 +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile new file mode 100644 index 000000000..98a4d58ca --- /dev/null +++ b/x11/ruby-gnome2/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: Ruby-GNOME2 +# Date created: 28 February 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD: ports/x11/ruby-gnome2/Makefile,v 1.23 2007/05/19 20:27:16 flz Exp $ +# $MCom: ports/x11/ruby-gnome2/Makefile,v 1.2 2005/10/17 07:05:42 mezz Exp $ +# + +PORTNAME= gnome2 +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +PORTREVISION= 1 +CATEGORIES= x11 ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= mezz@FreeBSD.org +COMMENT= A set of Ruby bindings for GNOME2 + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2 + +USE_RUBY= yes +USE_GNOME= libgnomeui +USE_RUBY_EXTCONF= yes + +.include "${.CURDIR}/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/gnome +INSTALL_TARGET= site-install + +DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all + +post-patch: general-patch + +post-build: + @${CP} ${RUBY_GNOME_WRKSRC}/AUTHORS ${WRKSRC}/AUTHORS + @${CP} ${RUBY_GNOME_WRKSRC}/README ${WRKSRC}/README.gnome2-all + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR}/test-gnome + @${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ + @${INSTALL_DATA} ${WRKSRC}/sample/test-gnome/* ${RUBY_MODEXAMPLESDIR}/test-gnome/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS_EN} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common new file mode 100644 index 000000000..fb65e5c44 --- /dev/null +++ b/x11/ruby-gnome2/Makefile.common @@ -0,0 +1,27 @@ +# $FreeBSD: ports/x11/ruby-gnome2/Makefile.common,v 1.29 2007/01/02 16:49:10 mezz Exp $ + +RUBY_GNOME_VERSION= 0.16.0.20071004 #YYYYMMDD +#RUBY_GNOME_SNAPSHOTDATE= 20061130 +.if defined(RUBY_GNOME_SNAPSHOTDATE) +RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE} +.else +RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION} +.endif +RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome2 +RUBY_GNOME_DISTNAME= ruby-gnome2-all-${RUBY_GNOME_VERSION:S/r/rev/} + +CONFIGURE_ARGS+= --ruby=${RUBY} + +.if defined(RUBY_GNOME_SNAPSHOTDATE) +RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome2-snapshot-${RUBY_GNOME_SNAPSHOTDATE} +.else +RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} +.endif + +RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome2 +MD5_FILE= ${RUBY_GNOME_PORTDIR}/distinfo + +general-patch: + @${FIND} ${WRKDIR} -name mkmf-gnome2.rb | ${XARGS} ${REINPLACE_CMD} -e \ + 's|CFLAGS}|CFLAGS} -I${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}|g' diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo new file mode 100644 index 000000000..e206847be --- /dev/null +++ b/x11/ruby-gnome2/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = ebc465e0a27c3f8f78bdb3d08dc50379 +SHA256 (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = 62d346af997a8bd071c13a1c9ff2232dea02569caf1656880b8abd843ba7d58e +SIZE (ruby/ruby-gnome2-all-0.16.0.20071004.tar.gz) = 1346048 diff --git a/x11/ruby-gnome2/pkg-descr b/x11/ruby-gnome2/pkg-descr new file mode 100644 index 000000000..8e08a5347 --- /dev/null +++ b/x11/ruby-gnome2/pkg-descr @@ -0,0 +1,5 @@ +Ruby/GNOME2 is a set of Ruby bindings for GNOME2 which consists of +glib2, gtk2, gdk_pixbuf2, gnome2, gnomecanvas2, libglade2, libart2 and +gconf2 modules. + +WWW: http://ruby-gnome2.sourceforge.jp/ diff --git a/x11/ruby-gnome2/pkg-plist b/x11/ruby-gnome2/pkg-plist new file mode 100644 index 000000000..7212878e5 --- /dev/null +++ b/x11/ruby-gnome2/pkg-plist @@ -0,0 +1,37 @@ +%%RUBY_SITELIBDIR%%/gnome2.rb +%%RUBY_SITEARCHLIBDIR%%/gnome2.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.gnome2-all +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-app-helper.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-config.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-druid.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-program.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-sound.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-trigger.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/README +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/about.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/app-helper.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/bomb.xpm +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/color-picker.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/dateedit.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/file-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/font-picker.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/href.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/icon-list.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/pixmap-entry.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome-app.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test-gnome/test-gnome.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test-gnome +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITEARCHLIBDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby |