- Add ruby 1.9 support

- Implement new knobs for gems and rake (these are included in
  ruby 1.9 distribution already). Also move gem bits from
  ruby-gems/Makefile.common to bsd.ruby.mk[1]. Now to depend
  on gems or rake you should define USE_RUBYGEMS/USE_RAKE
  accordingly. Also RAKE_BIN variable is provided for
  pointing to the right rake executable.
- Rewrite RUBY_SCHEBANG in awk to eliminate build dependency
  on ruby.

Discussed with:	Jonathan Weiss <jw@innerewut.de> [1] (gems maintainer)
Tested by:	ports@
This commit is contained in:
Stanislav Sedov
2008-04-06 08:58:21 +00:00
parent 090dbb7b77
commit fae8e0f615
127 changed files with 1838 additions and 432 deletions

View File

@@ -20,6 +20,7 @@ LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
GEM_NAME= ${DISTNAME}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
.include <bsd.port.post.mk>
USE_RUBY= yes
USE_RUBYGEMS= yes
.include <bsd.port.mk>