aboutsummaryrefslogtreecommitdiff
path: root/x11/ruby-gnome2
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/ruby-gnome2
parentba6e68fea6287e3f1c619bfb757d202d58020807 (diff)
downloadports-ebfae590f20141a525b7803823fa8c115997107f.tar.gz
ports-ebfae590f20141a525b7803823fa8c115997107f.zip
Notes
Diffstat (limited to 'x11/ruby-gnome2')
-rw-r--r--x11/ruby-gnome2/Makefile10
-rw-r--r--x11/ruby-gnome2/Makefile.common2
-rw-r--r--x11/ruby-gnome2/distinfo4
3 files changed, 10 insertions, 6 deletions
diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile
index 3228b13332b7..64df4a48076b 100644
--- a/x11/ruby-gnome2/Makefile
+++ b/x11/ruby-gnome2/Makefile
@@ -17,12 +17,11 @@ DIST_SUBDIR= ruby
MAINTAINER= mezz@FreeBSD.org
COMMENT= A set of Ruby bindings for GNOME2
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
- ${RUBY_SITEARCHLIBDIR}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2
USE_RUBY= yes
-USE_XLIB= yes
USE_GNOME= libgnomeui
+USE_REINPLACE= yes
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/Makefile.common"
@@ -32,6 +31,11 @@ INSTALL_TARGET= site-install
DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all
+post-patch:
+ @${REINPLACE_CMD} -e 's| /usr/local/bin/ruby|/usr/bin/env ruby|g' \
+ ${WRKSRC}/sample/test-gnome/*.rb
+ @${FIND} ${WRKSRC} -name '*.bak' -delete
+
post-build:
@${CP} ${RUBY_GNOME_WRKSRC}/AUTHORS ${WRKSRC}/AUTHORS
@${CP} ${RUBY_GNOME_WRKSRC}/README ${WRKSRC}/README.gnome2-all
diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common
index 917b9a987403..ab093bada178 100644
--- a/x11/ruby-gnome2/Makefile.common
+++ b/x11/ruby-gnome2/Makefile.common
@@ -1,6 +1,6 @@
# $FreeBSD$
-RUBY_GNOME_VERSION= 0.11.0
+RUBY_GNOME_VERSION= 0.12.0
#RUBY_GNOME_SNAPSHOTDATE= 20010224
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE}
diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo
index b9a4d089be20..12fd57f1b4f0 100644
--- a/x11/ruby-gnome2/distinfo
+++ b/x11/ruby-gnome2/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-gnome2-all-0.11.0.tar.gz) = a4fe0c52f971bf01e2382479f4c56470
-SIZE (ruby/ruby-gnome2-all-0.11.0.tar.gz) = 1066284
+MD5 (ruby/ruby-gnome2-all-0.12.0.tar.gz) = 3aa40a574f0365361745d852494240a3
+SIZE (ruby/ruby-gnome2-all-0.12.0.tar.gz) = 1121926