- Stage support

This commit is contained in:
Martin Wilke 2014-02-22 10:36:34 +00:00
parent 2becbf62ef
commit 8b65780a6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345606

View file

@ -26,15 +26,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-ruby
DOCS= ChangeLog INSTALL LGPL NEWS README TODO
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR})
${MKDIR} ${RUBY_MODDOCDIR}
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR})
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>