From fae8e0f615b1dfcff35249a7a11ebfba7391bc56 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Sun, 6 Apr 2008 08:58:21 +0000 Subject: - 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 [1] (gems maintainer) Tested by: ports@ --- net/rubygem-twitter/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'net/rubygem-twitter') diff --git a/net/rubygem-twitter/Makefile b/net/rubygem-twitter/Makefile index b94e9db06932..231cbab379fd 100644 --- a/net/rubygem-twitter/Makefile +++ b/net/rubygem-twitter/Makefile @@ -20,8 +20,7 @@ BUILD_DEPENDS= rubygem-hpricot>0:${PORTSDIR}/www/rubygem-hpricot \ RUN_DEPENDS= ${BUILD_DEPENDS} USE_RUBY= yes +USE_RUBYGEMS= yes GEM_NAME= ${DISTNAME} -.include -.include "${PORTSDIR}/devel/ruby-gems/Makefile.common" -.include +.include -- cgit v1.2.3