1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-25 09:07:23 +00:00
parent c266312498
commit 8b6dc941ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345938

View File

@ -24,15 +24,12 @@ USE_RUBY_EXTCONF= yes
DOCS= ChangeLog ToDo doc/*
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${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>