Date: Mon, 7 Apr 2014 14:28:09 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350486 - head/graphics/ruby-svg Message-ID: <201404071428.s37ES9R0079701@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Apr 7 14:28:09 2014 New Revision: 350486 URL: http://svnweb.freebsd.org/changeset/ports/350486 QAT: https://qat.redports.org/buildarchive/r350486/ Log: Support stage Modified: head/graphics/ruby-svg/Makefile head/graphics/ruby-svg/pkg-plist Modified: head/graphics/ruby-svg/Makefile ============================================================================== --- head/graphics/ruby-svg/Makefile Mon Apr 7 14:20:19 2014 (r350485) +++ head/graphics/ruby-svg/Makefile Mon Apr 7 14:28:09 2014 (r350486) @@ -10,7 +10,9 @@ DISTNAME= ruby-${PORTNAME}-${PORTVERSION DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org -COMMENT= A Ruby library for generating SVG files +COMMENT= Ruby library for generating SVG files + +OPTIONS_DEFINE= DOCS EXAMPLES USE_RUBY= yes USE_RUBY_FEATURES= zlib @@ -19,21 +21,22 @@ NO_BUILD= yes DOCS_EN= README.en.rd DOCS_JA= README.ja.rd +DOCSDIR= ${RUBY_MODDOCDIR} +EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} +PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes do-install: - ${MKDIR} ${RUBY_SITELIBDIR}/svg - ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${RUBY_SITELIBDIR}/svg/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/ - ${MKDIR} ${RUBY_MODDOCDIR}/ja + @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/svg + ${INSTALL_DATA} ${WRKSRC}/lib/svg/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/svg/ + @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .endfor -.endif .include <bsd.port.mk> Modified: head/graphics/ruby-svg/pkg-plist ============================================================================== --- head/graphics/ruby-svg/pkg-plist Mon Apr 7 14:20:19 2014 (r350485) +++ head/graphics/ruby-svg/pkg-plist Mon Apr 7 14:28:09 2014 (r350486) @@ -4,16 +4,3 @@ %%RUBY_SITELIBDIR%%/svg/style.rb %%RUBY_SITELIBDIR%%/svg/svg.rb @dirrm %%RUBY_SITELIBDIR%%/svg -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample1.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample2.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample3.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample4.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample5.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample6.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample7.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample8.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en.rd -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja.rd -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071428.s37ES9R0079701>