aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-03-12 19:05:18 +0800
committermezz <mezz@FreeBSD.org>2005-03-12 19:05:18 +0800
commitd518f80dc208ca5cfc3977ffcd7b9980df98eacf (patch)
tree631d8a392e2260b38227e09139ea9c432f755f4a /graphics
parent6cd4f98b305f25abf152ac61bd5ab8d1977b27a9 (diff)
downloadfreebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.tar.gz
freebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.tar.zst
freebsd-ports-gnome-d518f80dc208ca5cfc3977ffcd7b9980df98eacf.zip
-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 'graphics')
-rw-r--r--graphics/ruby-gdk_pixbuf2/Makefile7
-rw-r--r--graphics/ruby-gdk_pixbuf2/pkg-plist2
-rw-r--r--graphics/ruby-gnomecanvas2/Makefile1
-rw-r--r--graphics/ruby-rsvg2/Makefile2
4 files changed, 9 insertions, 3 deletions
diff --git a/graphics/ruby-gdk_pixbuf2/Makefile b/graphics/ruby-gdk_pixbuf2/Makefile
index 64d2c8e60f40..44d3d09b3e4f 100644
--- a/graphics/ruby-gdk_pixbuf2/Makefile
+++ b/graphics/ruby-gdk_pixbuf2/Makefile
@@ -20,8 +20,8 @@ COMMENT= Ruby binding for GdkPixbuf2
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= gtk20
+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/graphics/ruby-gdk_pixbuf2/pkg-plist b/graphics/ruby-gdk_pixbuf2/pkg-plist
index 5c7c42079be3..ade9355353b1 100644
--- a/graphics/ruby-gdk_pixbuf2/pkg-plist
+++ b/graphics/ruby-gdk_pixbuf2/pkg-plist
@@ -2,12 +2,14 @@
%%RUBY_SITELIBDIR%%/gdk_pixbuf2.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/anim.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flip.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/floppybuddy.gif
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/format.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gnome-foot.png
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/inline.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/loader.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pixdata.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rotate.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/save.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/scale.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/utils.rb
diff --git a/graphics/ruby-gnomecanvas2/Makefile b/graphics/ruby-gnomecanvas2/Makefile
index 033373568ceb..a153af0fd932 100644
--- a/graphics/ruby-gnomecanvas2/Makefile
+++ b/graphics/ruby-gnomecanvas2/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
${RUBY_SITEARCHLIBDIR}/libart2.so:${PORTSDIR}/graphics/ruby-libart2
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= libgnomecanvas
USE_RUBY_EXTCONF= yes
diff --git a/graphics/ruby-rsvg2/Makefile b/graphics/ruby-rsvg2/Makefile
index e5bbcbc27dfa..680be70c2ca0 100644
--- a/graphics/ruby-rsvg2/Makefile
+++ b/graphics/ruby-rsvg2/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= ruby
MAINTAINER= mezz@FreeBSD.org
COMMENT= Ruby binding for librsvg2
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
USE_RUBY= yes
USE_GNOME= librsvg2