aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-gdk_pixbuf2
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 /graphics/ruby-gdk_pixbuf2
parentba6e68fea6287e3f1c619bfb757d202d58020807 (diff)
downloadports-ebfae590f20141a525b7803823fa8c115997107f.tar.gz
ports-ebfae590f20141a525b7803823fa8c115997107f.zip
Notes
Diffstat (limited to 'graphics/ruby-gdk_pixbuf2')
-rw-r--r--graphics/ruby-gdk_pixbuf2/Makefile7
-rw-r--r--graphics/ruby-gdk_pixbuf2/pkg-plist2
2 files changed, 8 insertions, 1 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