aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-07 14:33:32 +0800
committerknu <knu@FreeBSD.org>2001-02-07 14:33:32 +0800
commitf99c063a0ab3cfa26f3965d64de84d3780563900 (patch)
tree025bbb213d014b22fae870d39d3a217fbf4a8be3 /x11-toolkits
parent6ef3e5c7f8b2196f9e2ffb61f630f2574986eed3 (diff)
downloadfreebsd-ports-gnome-f99c063a0ab3cfa26f3965d64de84d3780563900.tar.gz
freebsd-ports-gnome-f99c063a0ab3cfa26f3965d64de84d3780563900.tar.zst
freebsd-ports-gnome-f99c063a0ab3cfa26f3965d64de84d3780563900.zip
Replace /usr/X11 in qt2.rb with ${X11BASE}. This was somehow dropped
in one of the previous updates.
Diffstat (limited to 'x11-toolkits')
-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