svn commit: r330966 - in head/devel: . rubygem-debugger rubygem-debugger/files
Steve Wills
swills at FreeBSD.org
Sun Oct 20 03:47:11 UTC 2013
Author: swills
Date: Sun Oct 20 03:47:09 2013
New Revision: 330966
URL: http://svnweb.freebsd.org/changeset/ports/330966
Log:
debugger is a fast implementation of the standard Ruby debugger debug.rb. It
is implemented by utilizing a new Ruby C API hook. The core component
provides support that front-ends can build on. It provides breakpoint
handling, bindings for stack frames among other things.
WWW: http://github.com/cldwalker/debugger
PR: ports/183036
Submitted by: Vladimir Kondratiev <wulf at mail.mipt.ru>
Added:
head/devel/rubygem-debugger/
head/devel/rubygem-debugger/Makefile (contents, props changed)
head/devel/rubygem-debugger/distinfo (contents, props changed)
head/devel/rubygem-debugger/files/
head/devel/rubygem-debugger/files/patch-debugger-1.6.2.gemspec (contents, props changed)
head/devel/rubygem-debugger/files/patch-ext-ruby_debug-extconf.rb (contents, props changed)
head/devel/rubygem-debugger/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Oct 20 03:32:23 2013 (r330965)
+++ head/devel/Makefile Sun Oct 20 03:47:09 2013 (r330966)
@@ -4053,6 +4053,7 @@
SUBDIR += rubygem-cri
SUBDIR += rubygem-daemon_controller
SUBDIR += rubygem-daemons
+ SUBDIR += rubygem-debugger
SUBDIR += rubygem-debugger-linecache
SUBDIR += rubygem-deeptest
SUBDIR += rubygem-delayed_job
Added: head/devel/rubygem-debugger/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-debugger/Makefile Sun Oct 20 03:47:09 2013 (r330966)
@@ -0,0 +1,39 @@
+# Created by: Vladimir Kondratiev <wulf at mail.mipt.ru>
+# $FreeBSD$
+
+PORTNAME= debugger
+PORTVERSION= 1.6.2
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= wulf at mail.mipt.ru
+COMMENT= Fast implementation of the standard Ruby debugger
+
+RUN_DEPENDS= rubygem-columnize>=0.3.1:${PORTSDIR}/devel/rubygem-columnize \
+ rubygem-debugger-linecache>=1.2.0:${PORTSDIR}/devel/rubygem-debugger-linecache
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+PLIST_FILES= bin/rdebug
+MAN1= rdebug.1
+
+CONFIGURE_ARGS= --with-ruby-include=${WRKDIR}/ruby
+
+post-extract:
+ ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; make -V WRKSRC` ${WRKDIR}/ruby
+
+post-install:
+ @${INSTALL_MAN} ${WRKSRC}/man/rdebug.1 ${PREFIX}/man/man1
+
+NO_STAGE= yes
+
+.include <bsd.port.pre.mk>
+
+BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
+
+.if ${RUBY_VER} == 1.8
+BROKEN= does not work with ruby 1.8
+.endif
+
+.include <bsd.port.post.mk>
Added: head/devel/rubygem-debugger/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-debugger/distinfo Sun Oct 20 03:47:09 2013 (r330966)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/debugger-1.6.2.gem) = 4df316df5121b6327b8e79b73da49239e1f036dd2089af18f1919b4d199f2fa1
+SIZE (rubygem/debugger-1.6.2.gem) = 282112
Added: head/devel/rubygem-debugger/files/patch-debugger-1.6.2.gemspec
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-debugger/files/patch-debugger-1.6.2.gemspec Sun Oct 20 03:47:09 2013 (r330966)
@@ -0,0 +1,25 @@
+--- debugger-1.6.2.gemspec.orig 2013-07-27 12:49:18.000000000 +0400
++++ debugger-1.6.2.gemspec 2013-07-27 13:03:58.000000000 +0400
+@@ -30,22 +30,6 @@
+ - !ruby/object:Gem::Version
+ version: 0.3.1
+ - !ruby/object:Gem::Dependency
+- name: debugger-ruby_core_source
+- requirement: !ruby/object:Gem::Requirement
+- none: false
+- requirements:
+- - - ~>
+- - !ruby/object:Gem::Version
+- version: 1.2.3
+- type: :runtime
+- prerelease: false
+- version_requirements: !ruby/object:Gem::Requirement
+- none: false
+- requirements:
+- - - ~>
+- - !ruby/object:Gem::Version
+- version: 1.2.3
+-- !ruby/object:Gem::Dependency
+ name: debugger-linecache
+ requirement: !ruby/object:Gem::Requirement
+ none: false
Added: head/devel/rubygem-debugger/files/patch-ext-ruby_debug-extconf.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-debugger/files/patch-ext-ruby_debug-extconf.rb Sun Oct 20 03:47:09 2013 (r330966)
@@ -0,0 +1,21 @@
+--- ext/ruby_debug/extconf.rb.orig 2013-07-27 13:58:53.000000000 +0400
++++ ext/ruby_debug/extconf.rb 2013-07-27 14:01:30.000000000 +0400
+@@ -13,7 +13,6 @@
+ end
+
+ require "mkmf"
+-require "debugger/ruby_core_source"
+ require 'fileutils'
+
+ if RUBY_VERSION < "1.9"
+@@ -84,7 +83,9 @@
+ end
+
+ dir_config("ruby")
+-if !Debugger::RubyCoreSource.create_makefile_with_core(hdrs, "ruby_debug")
++if hdrs.call
++ create_makefile("ruby_debug")
++else
+ STDERR.print("Makefile creation failed\n")
+ STDERR.print("*************************************************************\n\n")
+ STDERR.print(" NOTE: If your headers were not found, try passing\n")
Added: head/devel/rubygem-debugger/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-debugger/pkg-descr Sun Oct 20 03:47:09 2013 (r330966)
@@ -0,0 +1,6 @@
+debugger is a fast implementation of the standard Ruby debugger debug.rb. It
+is implemented by utilizing a new Ruby C API hook. The core component
+provides support that front-ends can build on. It provides breakpoint
+handling, bindings for stack frames among other things.
+
+WWW: http://github.com/cldwalker/debugger
More information about the svn-ports-head
mailing list