From 3576bdfc2b4ff2765bd521afbe8a6505cc6cd099 Mon Sep 17 00:00:00 2001 From: clsung Date: Wed, 14 Jun 2006 01:56:45 +0000 Subject: Add ruby-rcov 0.5.0, a tool for simple code coverage analysis in Ruby. PR: ports/97938 Submitted by: Rui Lopes (rgl ruilopes com) --- devel/Makefile | 1 + devel/ruby-rcov/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/ruby-rcov/distinfo | 3 +++ devel/ruby-rcov/pkg-descr | 13 +++++++++++++ devel/ruby-rcov/pkg-plist | 21 +++++++++++++++++++++ 5 files changed, 74 insertions(+) create mode 100644 devel/ruby-rcov/Makefile create mode 100644 devel/ruby-rcov/distinfo create mode 100644 devel/ruby-rcov/pkg-descr create mode 100644 devel/ruby-rcov/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 5f90c4bc0fbb..2c799b6ccd14 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1654,6 +1654,7 @@ SUBDIR += ruby-rbison SUBDIR += ruby-rbprof SUBDIR += ruby-rbtree + SUBDIR += ruby-rcov SUBDIR += ruby-rjudy SUBDIR += ruby-robjectteam SUBDIR += ruby-rrb diff --git a/devel/ruby-rcov/Makefile b/devel/ruby-rcov/Makefile new file mode 100644 index 000000000000..5a2bc99e0d7d --- /dev/null +++ b/devel/ruby-rcov/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: rcov +# Date created: 25 May 2006 +# Whom: Rui Lopes (rgl ruilopes com) +# +# $FreeBSD$ +# + +PORTNAME= rcov +PORTVERSION= 0.5.0 +CATEGORIES= devel ruby +MASTER_SITES= http://eigenclass.org/static/rcov/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DIST_SUBDIR= ruby + +MAINTAINER= rgl@ruilopes.com +COMMENT= A tool for simple code coverage analysis in Ruby + +USE_RUBY= yes +USE_RUBY_SETUP= yes + +DOC_FILES= BLURB CHANGES LEGAL LICENSE README.API \ + README.en README.rake README.rant THANKS +EXAMPLE_FILES= Rakefile Rantfile + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${RUBY_MODEXAMPLESDIR} ${RUBY_MODDOCDIR} +.for f in ${EXAMPLE_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR} +.endfor +.for f in ${DOC_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR} +.endfor +.endif + +.include diff --git a/devel/ruby-rcov/distinfo b/devel/ruby-rcov/distinfo new file mode 100644 index 000000000000..4724d5b09058 --- /dev/null +++ b/devel/ruby-rcov/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby/rcov-0.5.0.tar.gz) = 83ee7904b078a9bf748873627ad9d323 +SHA256 (ruby/rcov-0.5.0.tar.gz) = 288ceb46947d244ba51f5d27d24edd143bf67c377429e752de3c5c6fa965f560 +SIZE (ruby/rcov-0.5.0.tar.gz) = 51263 diff --git a/devel/ruby-rcov/pkg-descr b/devel/ruby-rcov/pkg-descr new file mode 100644 index 000000000000..d1ef4ddc27c1 --- /dev/null +++ b/devel/ruby-rcov/pkg-descr @@ -0,0 +1,13 @@ +rcov is a tool for simple code coverage analysis in Ruby. + +It features: + +* fast execution: 20-300 times faster than previous tools +* multiple analysis modes +* fairly accurate coverage information through code linkage + inference using simple heuristics +* XHTML and several kinds of text reports +* easy automation with Rake via a RcovTask +* colorblind-friendliness + +WWW: http://eigenclass.org/hiki.rb?rcov diff --git a/devel/ruby-rcov/pkg-plist b/devel/ruby-rcov/pkg-plist new file mode 100644 index 000000000000..1dd85760749b --- /dev/null +++ b/devel/ruby-rcov/pkg-plist @@ -0,0 +1,21 @@ +bin/rcov +%%RUBY_SITELIBDIR%%/rcov.rb +%%RUBY_SITELIBDIR%%/rcov/lowlevel.rb +%%RUBY_SITELIBDIR%%/rcov/rant.rb +%%RUBY_SITELIBDIR%%/rcov/rcovtask.rb +%%RUBY_SITELIBDIR%%/rcov/version.rb +%%RUBY_SITEARCHLIBDIR%%/rcovrt.so +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Rantfile +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Rakefile +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/BLURB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LEGAL +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.API +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.rake +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.rant +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/THANKS +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +@dirrm %%RUBY_SITELIBDIR%%/rcov -- cgit