Date: Thu, 3 Sep 2015 16:24:17 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395999 - in head/devel/ruby-rbbr: . files Message-ID: <201509031624.t83GOHEl035164@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Sep 3 16:24:17 2015 New Revision: 395999 URL: https://svnweb.freebsd.org/changeset/ports/395999 Log: - Sort RUN_DEPENDS - Convert to new options target helper - Add NO_ARCH - Use BROKEN_RUBY22 - Pet portlint: - Move *_DEPENDS upward - Fix diff header of patch files - Sort PLIST Modified: head/devel/ruby-rbbr/Makefile head/devel/ruby-rbbr/files/patch-pre-setup_rb head/devel/ruby-rbbr/pkg-plist Modified: head/devel/ruby-rbbr/Makefile ============================================================================== --- head/devel/ruby-rbbr/Makefile Thu Sep 3 16:24:11 2015 (r395998) +++ head/devel/ruby-rbbr/Makefile Thu Sep 3 16:24:17 2015 (r395999) @@ -12,12 +12,15 @@ DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= GTK+2-based Ruby module browser -OPTIONS_DEFINE= DOCS +BUILD_DEPENDS= rubygem-gettext>=0:${PORTSDIR}/devel/rubygem-gettext +RUN_DEPENDS= rubygem-gettext>=0:${PORTSDIR}/devel/rubygem-gettext \ + rubygem-gtk2>=0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 + +BROKEN_RUBY22= yes -BUILD_DEPENDS= rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext -RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \ - rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext +OPTIONS_DEFINE= DOCS +NO_ARCH= yes USES= gettext USE_RUBY= yes USE_RUBY_SETUP= yes @@ -26,19 +29,9 @@ RUBY_SETUP= install.rb DOCS_EN= AUTHORS COPYING ChangeLog README DOCS_JA= COPYING.ja README.ja -post-install: - @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja -.for f in ${DOCS_EN} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ -.endfor -.for f in ${DOCS_JA} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ -.endfor - -.include <bsd.port.pre.mk> - -.if ${RUBY_VER} >= 2.2 -BROKEN= Does not build -.endif +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/devel/ruby-rbbr/files/patch-pre-setup_rb ============================================================================== --- head/devel/ruby-rbbr/files/patch-pre-setup_rb Thu Sep 3 16:24:11 2015 (r395998) +++ head/devel/ruby-rbbr/files/patch-pre-setup_rb Thu Sep 3 16:24:17 2015 (r395999) @@ -1,5 +1,5 @@ ---- pre-setup.rb.orig 2011-07-03 13:33:30.719509068 -0400 -+++ pre-setup.rb 2011-07-03 13:33:32.614509597 -0400 +--- pre-setup.rb.orig 2011-07-03 17:33:31 UTC ++++ pre-setup.rb @@ -21,6 +21,7 @@ # Create mo files. # Modified: head/devel/ruby-rbbr/pkg-plist ============================================================================== --- head/devel/ruby-rbbr/pkg-plist Thu Sep 3 16:24:11 2015 (r395998) +++ head/devel/ruby-rbbr/pkg-plist Thu Sep 3 16:24:17 2015 (r395999) @@ -26,6 +26,12 @@ bin/rbbr %%RUBY_SITELIBDIR%%/rbbr/ui/gtk/stockbrowser.rb %%RUBY_SITELIBDIR%%/rbbr/ui/gtk/undo.rb %%RUBY_SITELIBDIR%%/rbbr/ui/gtk/windowutils.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/COPYING.ja +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja share/locale/fr/LC_MESSAGES/rbbr.mo share/locale/ja/LC_MESSAGES/rbbr.mo share/locale/be/LC_MESSAGES/rbbr.mo @@ -36,9 +42,3 @@ share/locale/ko/LC_MESSAGES/rbbr.mo share/locale/pt_BR/LC_MESSAGES/rbbr.mo %%DATADIR%%/icon.png %%DATADIR%%/rd/README -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/COPYING.ja -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509031624.t83GOHEl035164>