summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-07 06:33:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-07 06:33:32 +0000
commit1f2963d9eddada7508a78452132ab1de73f9dab7 (patch)
treed6d1f023586041a9a1ec33f5cbe20bd5cc666f40 /x11-toolkits/ruby-qt2
parentruby-qt2 itself shouldn't really require Mesa. It will be required by (diff)
Replace /usr/X11 in qt2.rb with ${X11BASE}. This was somehow dropped
in one of the previous updates.
Diffstat (limited to 'x11-toolkits/ruby-qt2')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index 8e4dad16e8cc..ac6db0977192 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qt2
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -33,6 +34,9 @@ INSTALL_TARGET= site-install
post-extract:
find ${WRKSRC} '(' -name .cvsignore -o -name a.out ')' -delete
+post-patch:
+ ${RUBY} -i -pe 'sub %r"/usr/X11\b", "${X11BASE}"' ${WRKSRC}/lib/qt2.rb
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/qt2