- Stage support
This commit is contained in:
parent
2becbf62ef
commit
8b65780a6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345606
1 changed files with 4 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue