diff options
Diffstat (limited to 'x11-toolkits/ruby-qt2/Makefile')
-rw-r--r-- | x11-toolkits/ruby-qt2/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile index 4d525ab43384..8fcbb64c0db6 100644 --- a/x11-toolkits/ruby-qt2/Makefile +++ b/x11-toolkits/ruby-qt2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= qt -PORTVERSION= 0.13 +PORTVERSION= 0.14a CATEGORIES= x11-toolkits ruby MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -35,9 +35,14 @@ post-patch: post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/qt - ${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/qt/ + ${TAR} -C ${WRKSRC}/examples -cf - \ + --exclude .cvsignore --exclude a.out . \ + | ${TAR} -C ${RUBY_EXAMPLESDIR}/qt -xvf - ${MKDIR} ${RUBY_DOCDIR}/qt/ja - ${CP} -R ${WRKSRC}/tutorial ${RUBY_DOCDIR}/qt/ + ${TAR} -C ${WRKSRC} -cf - \ + ./tutorial \ + | ${TAR} -C ${RUBY_DOCDIR}/qt -xvf - + ${CHOWN} -R 0:0 ${RUBY_EXAMPLESDIR}/qt ${RUBY_DOCDIR}/qt ${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_DOCDIR}/qt/ ${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/qt/ja/ .endif |