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@ --- graphics/ruby-redact/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/ruby-redact/Makefile') diff --git a/graphics/ruby-redact/Makefile b/graphics/ruby-redact/Makefile index 6c7bdec710c3..1c8ca764b8a9 100644 --- a/graphics/ruby-redact/Makefile +++ b/graphics/ruby-redact/Makefile @@ -15,16 +15,16 @@ MAINTAINER= alexbl@FreeBSD.org COMMENT= An edje compiler written in ruby BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/imlib2.so:${PORTSDIR}/graphics/ruby-imlib2 \ - ${RUBY_SITELIBDIR}/eet.rb:${PORTSDIR}/devel/ruby-eet \ - ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake + ${RUBY_SITELIBDIR}/eet.rb:${PORTSDIR}/devel/ruby-eet RUN_DEPENDS= ${BUILD_DEPENDS} USE_RUBY= yes +USE_RAKE= yes NO_BUILD= yes .include do-install: - @cd ${WRKSRC} && ${LOCALBASE}/bin/rake PREFIX=${PREFIX}/ install + @cd ${WRKSRC} && ${RAKE_BIN} PREFIX=${PREFIX}/ install .include -- cgit v1.2.3