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-22 10:34:58 +00:00
parent 6918242b5d
commit 3eda4b2441
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345596

View File

@ -20,15 +20,12 @@ USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/po/
${INSTALL_DATA} ${WRKSRC}/hello.rb ${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/ja.po ${RUBY_MODEXAMPLESDIR}/po/
${MKDIR} ${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_MODDOCDIR}/ja/
.endif
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/po/
${INSTALL_DATA} ${WRKSRC}/hello.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/ja.po ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/po/
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/README.jp ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.include <bsd.port.mk>