- Stage support

This commit is contained in:
Martin Wilke 2014-02-25 09:08:06 +00:00
parent 3bf7001e2d
commit b3c96614e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345945

View File

@ -20,25 +20,14 @@ USE_RUBY_SETUP= yes
DOCS= NEWS README TODO
EXAMPLES= example/*
RUBY_REQUIRE= Ruby > 180
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if !defined(RUBY_PROVIDED)
IGNORE= only works with Ruby 1.8.0 or later
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${RUBY_MODDOCDIR}
${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.post.mk>
.include <bsd.port.mk>