aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-09 10:17:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-09 10:17:17 +0000
commit8940d3c747f45b2a593edafda57fb56f7988a837 (patch)
tree249ad9430036135fd6c6153af6b044d339ecb38c /x11-toolkits/ruby-qt2/Makefile
parent95d3685996ab2a5d4647bda4088997fca3ece827 (diff)
downloadports-8940d3c747f45b2a593edafda57fb56f7988a837.tar.gz
ports-8940d3c747f45b2a593edafda57fb56f7988a837.zip
Notes
Diffstat (limited to 'x11-toolkits/ruby-qt2/Makefile')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index 8fcbb64c0db6..0b4b139f5e9d 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qt
-PORTVERSION= 0.14a
+PORTVERSION= 0.14b
CATEGORIES= x11-toolkits ruby
MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -29,20 +29,18 @@ CONFIGURE_ARGS= --with-qti18n \
MAKE_ARGS= LOCAL_LIBS=-lgcc
INSTALL_TARGET= site-install
+post-extract:
+ find ${WRKSRC}/examples '(' -name .cvsignore -o -name a.out ')' -delete
+
post-patch:
${RUBY} -i -pe 'gsub %r"/usr/X11\b", "${X11BASE}"' ${WRKSRC}/lib/qt.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/qt
- ${TAR} -C ${WRKSRC}/examples -cf - \
- --exclude .cvsignore --exclude a.out . \
- | ${TAR} -C ${RUBY_EXAMPLESDIR}/qt -xvf -
+ ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt/
${MKDIR} ${RUBY_DOCDIR}/qt/ja
- ${TAR} -C ${WRKSRC} -cf - \
- ./tutorial \
- | ${TAR} -C ${RUBY_DOCDIR}/qt -xvf -
- ${CHOWN} -R 0:0 ${RUBY_EXAMPLESDIR}/qt ${RUBY_DOCDIR}/qt
+ ${CP} -R ${WRKSRC}/tutorial ${RUBY_DOCDIR}/qt/
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/qt/
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/qt/ja/
.endif