aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
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
parent95d3685996ab2a5d4647bda4088997fca3ece827 (diff)
downloadports-8940d3c747f45b2a593edafda57fb56f7988a837.tar.gz
ports-8940d3c747f45b2a593edafda57fb56f7988a837.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-qt/Makefile14
-rw-r--r--x11-toolkits/ruby-qt/distinfo2
-rw-r--r--x11-toolkits/ruby-qt2/Makefile14
-rw-r--r--x11-toolkits/ruby-qt2/distinfo2
4 files changed, 14 insertions, 18 deletions
diff --git a/x11-toolkits/ruby-qt/Makefile b/x11-toolkits/ruby-qt/Makefile
index 8fcbb64c0db6..0b4b139f5e9d 100644
--- a/x11-toolkits/ruby-qt/Makefile
+++ b/x11-toolkits/ruby-qt/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
diff --git a/x11-toolkits/ruby-qt/distinfo b/x11-toolkits/ruby-qt/distinfo
index ca4f7d19de06..7ab1ceb5789c 100644
--- a/x11-toolkits/ruby-qt/distinfo
+++ b/x11-toolkits/ruby-qt/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-qt-0.14a.tar.gz) = dd9c97dec2fdfcafaf506460632c04c8
+MD5 (ruby/ruby-qt-0.14b.tar.gz) = 5b40cdec364745e85f98aceeb09ac947
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
diff --git a/x11-toolkits/ruby-qt2/distinfo b/x11-toolkits/ruby-qt2/distinfo
index ca4f7d19de06..7ab1ceb5789c 100644
--- a/x11-toolkits/ruby-qt2/distinfo
+++ b/x11-toolkits/ruby-qt2/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-qt-0.14a.tar.gz) = dd9c97dec2fdfcafaf506460632c04c8
+MD5 (ruby/ruby-qt-0.14b.tar.gz) = 5b40cdec364745e85f98aceeb09ac947