1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Replace /usr/X11 in qt2.rb with ${X11BASE}. This was somehow dropped

in one of the previous updates.
This commit is contained in:
Akinori MUSHA 2001-02-07 06:33:32 +00:00
parent 687834ccf7
commit 1f2963d9ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38051

View File

@ -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