mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
1b1aa224b3
commit
fd488d2644
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350486
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user