- Stage support

This commit is contained in:
Martin Wilke 2014-02-26 04:45:16 +00:00
parent 67bd08c59f
commit c8ac50c2fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346092

View file

@ -22,14 +22,12 @@ PORTEXAMPLES= example_fibonacci.rb \
example_memoize.rb
EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
NO_STAGE= yes
do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/lib/memoize.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_MODEXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>