aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 12:45:10 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 12:45:10 +0800
commit052e059b6966614d8c3701423bbf28e7d4706e63 (patch)
tree344bb03e264318bd9451ddeaa4293ec1662f8af6 /irc
parent4d7d23de30d4eee78bcd09917a5f80fa5ccfe20c (diff)
downloadfreebsd-ports-gnome-052e059b6966614d8c3701423bbf28e7d4706e63.tar.gz
freebsd-ports-gnome-052e059b6966614d8c3701423bbf28e7d4706e63.tar.zst
freebsd-ports-gnome-052e059b6966614d8c3701423bbf28e7d4706e63.zip
- Stage support
Diffstat (limited to 'irc')
-rw-r--r--irc/ruby-irc/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/irc/ruby-irc/Makefile b/irc/ruby-irc/Makefile
index 6eefd593de6a..d7f63dcc1bc8 100644
--- a/irc/ruby-irc/Makefile
+++ b/irc/ruby-irc/Makefile
@@ -21,27 +21,25 @@ DOCS_EN= BUGS ChangeLog MANIFEST \
NEWS README TODO
DOCS_JA= MEMO.ja README.ja doc.ja/*
-NO_STAGE= yes
do-install:
- ${INSTALL_DATA} ${WRKSRC}/localize.rb ${RUBY_SITELIBDIR}
- ${MKDIR} ${RUBY_SITELIBDIR}/irc
- ${INSTALL_DATA} ${WRKSRC}/irc/*.rb ${RUBY_SITELIBDIR}/irc/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/localize.rb ${STAGEDIR}${RUBY_SITELIBDIR}
+ ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/irc
+ ${INSTALL_DATA} ${WRKSRC}/irc/*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/irc/
+ ${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
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/cpi
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/cpi
- ${INSTALL_DATA} ${WRKSRC}/cpi/*.cpi ${RUBY_MODEXAMPLESDIR}/cpi/
- ${INSTALL_DATA} ${WRKSRC}/cpi.ja/*.cpi ${RUBY_MODEXAMPLESDIR}/ja/cpi/
- ${INSTALL_DATA} ${WRKSRC}/bot.rb ${RUBY_MODEXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/bot.ja.rb ${RUBY_MODEXAMPLESDIR}/ja/bot.rb
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/log
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/log
-.endif
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/cpi
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/cpi
+ ${INSTALL_DATA} ${WRKSRC}/cpi/*.cpi ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/cpi/
+ ${INSTALL_DATA} ${WRKSRC}/cpi.ja/*.cpi ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/cpi/
+ ${INSTALL_DATA} ${WRKSRC}/bot.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/bot.ja.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/bot.rb
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/log
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/log
.include <bsd.port.mk>