mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
New port: devel/ruby-rbprof
New port: rbprof. A faster more flexible profiler for Ruby. PR: ports/36913 Submitted by: Sean Chittenden <sean@chittenden.org>
This commit is contained in:
parent
93686b2270
commit
06956c696b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90187
@ -970,6 +970,7 @@
|
||||
SUBDIR += ruby-racc
|
||||
SUBDIR += ruby-rbbr
|
||||
SUBDIR += ruby-rbison
|
||||
SUBDIR += ruby-rbprof
|
||||
SUBDIR += ruby-rbtree
|
||||
SUBDIR += ruby-robjectteam
|
||||
SUBDIR += ruby-rreadline
|
||||
|
36
devel/ruby-rbprof/Makefile
Normal file
36
devel/ruby-rbprof/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: ruby-rbprof
|
||||
# Date created: 08 April 2002
|
||||
# Whom: Sean Chittenden <sean@chittenden.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rbprof
|
||||
PORTVERSION= 0.2.1
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= aspectr
|
||||
DISTNAME= aspectr-0-3-5
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= sean@chittenden.org
|
||||
COMMENT= A flexible Ruby profiler
|
||||
|
||||
#RUN_DEPENDS= ${RUBY_SITELIBDIR}/runit/error.rb:${PORTSDIR}/devel/ruby-unit \
|
||||
# ${RUBY_SITELIBDIR}/aspectr.rb:${PORTSDIR}/devel/ruby-aspectr
|
||||
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PORTDOCS}${RUBY_DOCDIR}/rbprof
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
|
||||
${INSTALL_DATA} ${WRKSRC}/TODO ${PORTDOCS}${RUBY_DOCDIR}/rbprof/
|
||||
${RUBY} -p -i -e 'gsub(/\r\n/, "\n")' ${WRKSRC}/aspects/profiler/lib/rbprof.rb
|
||||
${RUBY} -p -i -e 'gsub(/\r\n/, "\n")' ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb
|
||||
${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/rbprof.rb ${RUBY_SITELIBDIR}/
|
||||
${MKDIR} ${RUBY_SITELIBDIR}/rbprof
|
||||
${INSTALL_DATA} ${WRKSRC}/aspects/profiler/lib/trap_method_definitions.rb ${RUBY_SITELIBDIR}/rbprof/
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/ruby-rbprof/distinfo
Normal file
1
devel/ruby-rbprof/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/aspectr-0-3-5.tar.gz) = c640a1a82802ddb107c3ee1245a22705
|
@ -0,0 +1,9 @@
|
||||
--- aspects/profiler/lib/rbprof.rb.orig Tue Jan 29 07:45:45 2002
|
||||
+++ aspects/profiler/lib/rbprof.rb Fri Oct 3 18:02:23 2003
|
||||
@@ -1,5 +1,5 @@
|
||||
require 'aspectr'
|
||||
-require 'trap_method_definitions'
|
||||
+require 'rbprof/trap_method_definitions'
|
||||
|
||||
class Profiler < AspectR::Aspect
|
||||
def initialize
|
6
devel/ruby-rbprof/pkg-descr
Normal file
6
devel/ruby-rbprof/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This package is a faster profiler than the bulitin Ruby profiler and
|
||||
allows Ruby developers to focus on the methods that are hand-written.
|
||||
|
||||
WWW: http://aspectr.sourceforge.net/rbprof/
|
||||
|
||||
- Sean Chittenden <sean@chittenden.org>
|
6
devel/ruby-rbprof/pkg-plist
Normal file
6
devel/ruby-rbprof/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/rbprof/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/rbprof/TODO
|
||||
%%RUBY_SITELIBDIR%%/rbprof.rb
|
||||
%%RUBY_SITELIBDIR%%/rbprof/trap_method_definitions.rb
|
||||
@dirrm %%PORTDOCS%%%%RUBY_DOCDIR%%/rbprof
|
||||
@dirrm %%RUBY_SITELIBDIR%%/rbprof
|
Loading…
Reference in New Issue
Block a user