diff options
author | stas <stas@FreeBSD.org> | 2008-04-06 16:58:21 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2008-04-06 16:58:21 +0800 |
commit | 6fbde8aaf51fc0bcaf991519b739b0592c98f740 (patch) | |
tree | 280ebf175af2693f172cb9dc5674fa73fb5992d3 /www/rubygem-mongrel_cluster | |
parent | f29755f74021d623e3671b29c948ead5c3e33715 (diff) | |
download | freebsd-ports-gnome-6fbde8aaf51fc0bcaf991519b739b0592c98f740.tar.gz freebsd-ports-gnome-6fbde8aaf51fc0bcaf991519b739b0592c98f740.tar.zst freebsd-ports-gnome-6fbde8aaf51fc0bcaf991519b739b0592c98f740.zip |
- 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@
Diffstat (limited to 'www/rubygem-mongrel_cluster')
-rw-r--r-- | www/rubygem-mongrel_cluster/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/rubygem-mongrel_cluster/Makefile b/www/rubygem-mongrel_cluster/Makefile index 9d81a7b4abb3..6bf9c45cbbf1 100644 --- a/www/rubygem-mongrel_cluster/Makefile +++ b/www/rubygem-mongrel_cluster/Makefile @@ -18,6 +18,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS} USE_RC_SUBR= mongrel_cluster USE_RUBY= yes +USE_RUBYGEMS= yes REINPLACE_ARGS= -i "" # This target is only meant to be used by the port maintainer. @@ -42,6 +43,4 @@ post-install: @${REINPLACE_CMD} -e 's|\"mongrel_rails\"|\"${PREFIX}/bin/mongrel_rails\"|g' \ ${PREFIX}/${GEM_LIB_DIR}/lib/${PORTNAME}/init.rb -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" -.include <bsd.port.post.mk> +.include <bsd.port.mk> |