aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-22 18:42:17 +0800
committermiwi <miwi@FreeBSD.org>2014-02-22 18:42:17 +0800
commitaa254e806906ccdaf1ce03b9ea5f8c6050283cf8 (patch)
tree85d685ca4f6e6bb16dcfaed0511546f3d0f4d4e5
parent85774ca242c31777a73d0eff17c0d298089c77a1 (diff)
downloadfreebsd-ports-gnome-aa254e806906ccdaf1ce03b9ea5f8c6050283cf8.tar.gz
freebsd-ports-gnome-aa254e806906ccdaf1ce03b9ea5f8c6050283cf8.tar.zst
freebsd-ports-gnome-aa254e806906ccdaf1ce03b9ea5f8c6050283cf8.zip
- Stage support
-rw-r--r--devel/ruby-setup.rb/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/devel/ruby-setup.rb/Makefile b/devel/ruby-setup.rb/Makefile
index bf104fab6342..7e1ab3b5af32 100644
--- a/devel/ruby-setup.rb/Makefile
+++ b/devel/ruby-setup.rb/Makefile
@@ -24,7 +24,6 @@ RUBY_SHEBANG_FILES= ${_SCRIPTS:S:^:${WRKSRC}/ruby-:}
DOCS_EN= doc.en/* NEWS.en Usage_en.txt README.en ChangeLog TODO
DOCS_JA= doc.ja/* NEWS.ja Usage_ja.txt README.ja
-NO_STAGE= yes
post-extract:
.for f in ${_SCRIPTS}
${CP} -p ${WRKSRC}/${f} ${WRKSRC}/ruby-${f}
@@ -32,19 +31,18 @@ post-extract:
do-install:
.for f in ${_SCRIPTS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}/
- ${INSTALL_SCRIPT} ${WRKSRC}/ruby-${f} ${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/ruby-${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.endfor
-.endif
.include <bsd.port.mk>