From owner-svn-ports-all@freebsd.org Thu Sep 3 16:24:19 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB5329C8E78; Thu, 3 Sep 2015 16:24:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C00B71ACB; Thu, 3 Sep 2015 16:24:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t83GOIsd035167; Thu, 3 Sep 2015 16:24:18 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t83GOHEl035164; Thu, 3 Sep 2015 16:24:17 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201509031624.t83GOHEl035164@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 3 Sep 2015 16:24:17 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 16:24:19 -0000 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 - -.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 +.include 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