diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-11-27 13:58:14 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-11-27 13:58:14 +0800 |
commit | 4b4645972f433b5ff2d9e3b28a1db0d28c95ac34 (patch) | |
tree | 81e4158aa2cbafb37ebc341aefa21e93fc948497 /irc/ruby-rica | |
parent | 159c163062b511a200ff53a9f35490aff5b2c4a9 (diff) | |
download | freebsd-ports-gnome-4b4645972f433b5ff2d9e3b28a1db0d28c95ac34.tar.gz freebsd-ports-gnome-4b4645972f433b5ff2d9e3b28a1db0d28c95ac34.tar.zst freebsd-ports-gnome-4b4645972f433b5ff2d9e3b28a1db0d28c95ac34.zip |
- use STAGEDIR
Diffstat (limited to 'irc/ruby-rica')
-rw-r--r-- | irc/ruby-rica/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/irc/ruby-rica/Makefile b/irc/ruby-rica/Makefile index 2b8aa43f54fb..193b0a5840b9 100644 --- a/irc/ruby-rica/Makefile +++ b/irc/ruby-rica/Makefile @@ -26,21 +26,23 @@ MODULES= rica.rb \ DOCS= CHANGES README classes_and_methods.txt event.lst *.png EXAMPLES= erica.* ricaco.rb rica-example.rb -NO_STAGE= yes +.include <bsd.port.options.mk> + do-install: + ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR} .for f in ${MODULES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_SITELIBDIR}/ .endfor -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${RUBY_MODEXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} .for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .endfor .endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_MODDOCDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .endif |