Date: Thu, 3 Sep 2015 16:24:02 +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: r395996 - head/devel/ruby-date2 Message-ID: <201509031624.t83GO2ux034824@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Sep 3 16:24:01 2015 New Revision: 395996 URL: https://svnweb.freebsd.org/changeset/ports/395996 Log: - Respect PORTEXAMPLES - Add EXAMPLES option - Convert to new options target helper - Add NO_ARCH - Use BROKEN_RUBY22 - Remove contiguous blank lines - Sort PLIST - Pass maintainership to ruby@ Modified: head/devel/ruby-date2/Makefile head/devel/ruby-date2/pkg-descr head/devel/ruby-date2/pkg-plist Modified: head/devel/ruby-date2/Makefile ============================================================================== --- head/devel/ruby-date2/Makefile Thu Sep 3 16:23:56 2015 (r395995) +++ head/devel/ruby-date2/Makefile Thu Sep 3 16:24:01 2015 (r395996) @@ -8,9 +8,14 @@ MASTER_SITES= http://www.funaba.org/arch PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ruby@FreeBSD.org COMMENT= Alternative date class for Ruby +BROKEN_RUBY22= yes + +OPTIONS_DEFINE= DOCS EXAMPLES + +NO_ARCH= yes USE_RUBY= yes USE_RUBY_SETUP= yes RUBY_SETUP= install.rb @@ -20,28 +25,14 @@ DOCS_JA= MANUAL MANUAL.rd MANUAL.html RE EXAMPLES_EN= cal.rb daylight.rb goodfriday.rb EXAMPLES_JA= ncal.rb -OPTIONS_DEFINE= DOCS - -post-install: - ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja -.for f in ${EXAMPLES_EN} - ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ -.endfor -.for f in ${EXAMPLES_JA} - ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/ -.endfor +post-install-DOCS-on: ${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 + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/ + cd ${WRKSRC}/sample/ && ${INSTALL_DATA} ${EXAMPLES_EN} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ + cd ${WRKSRC}/sample/ && ${INSTALL_DATA} ${EXAMPLES_JA} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/devel/ruby-date2/pkg-descr ============================================================================== --- head/devel/ruby-date2/pkg-descr Thu Sep 3 16:23:56 2015 (r395995) +++ head/devel/ruby-date2/pkg-descr Thu Sep 3 16:24:01 2015 (r395996) @@ -5,5 +5,4 @@ specified freely in this class. The pro (holiday.rb) and date format (parsedate2.rb, strftime.rb and strptime.rb) are also available. - WWW: http://www.funaba.org/en/ruby.html#date2 Modified: head/devel/ruby-date2/pkg-plist ============================================================================== --- head/devel/ruby-date2/pkg-plist Thu Sep 3 16:23:56 2015 (r395995) +++ head/devel/ruby-date2/pkg-plist Thu Sep 3 16:24:01 2015 (r395996) @@ -1,11 +1,7 @@ %%RUBY_SITELIBDIR%%/date.rb -%%RUBY_SITELIBDIR%%/parsedate.rb %%RUBY_SITELIBDIR%%/date/format.rb %%RUBY_SITELIBDIR%%/date/holiday.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cal.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/daylight.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/goodfriday.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ja/ncal.rb +%%RUBY_SITELIBDIR%%/parsedate.rb %%PORTDOCS%%%%RUBY_MODDOCDIR%%/MANUAL.en %%PORTDOCS%%%%RUBY_MODDOCDIR%%/MANUAL.en.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/MANUAL.en.rd @@ -14,3 +10,7 @@ %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/MANUAL.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/MANUAL.rd %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/cal.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/daylight.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/goodfriday.rb +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/ja/ncal.rb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509031624.t83GO2ux034824>