Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 00:54:12 +0100 (WEST)
From:      Rui Lopes <rgl@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97938: New port: devel/rcov
Message-ID:  <20060525235412.E2824450D9@firebird.clustercube.com>
Resent-Message-ID: <200605260000.k4Q00aNb091541@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97938
>Category:       ports
>Synopsis:       New port: devel/rcov
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 26 00:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
	
>Description:
A port for http://eigenclass.org/hiki.rb?rcov 

rcov is a nice ruby code coverage tool.

I'm not sure about the name of the port, maybe it should be ruby-rcov,
OTOH, it installs a binary called rcov, and the real name of the
project is rcov.
	
>How-To-Repeat:
	
>Fix:

	

--- devel_rcov.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rcov
#	rcov/distinfo
#	rcov/pkg-plist
#	rcov/pkg-descr
#	rcov/Makefile
#
echo c - rcov
mkdir -p rcov > /dev/null 2>&1
echo x - rcov/distinfo
sed 's/^X//' >rcov/distinfo << 'END-of-rcov/distinfo'
XMD5 (rcov-0.4.0.tar.gz) = 8716520f717ebc6641bf17ae7cce8e11
XSHA256 (rcov-0.4.0.tar.gz) = b0f3055e36b319f088d7200d778ec04b1cfa7d887420f0aec893c38e81fa9662
XSIZE (rcov-0.4.0.tar.gz) = 40532
END-of-rcov/distinfo
echo x - rcov/pkg-plist
sed 's/^X//' >rcov/pkg-plist << 'END-of-rcov/pkg-plist'
Xbin/rcov
X%%RUBY_SITELIBDIR%%/rcov/lowlevel.rb
X%%RUBY_SITELIBDIR%%/rcov/rcovtask.rb
X%%RUBY_SITELIBDIR%%/rcov/version.rb
X%%RUBY_SITEARCHLIBDIR%%/rcovrt.so
X%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Rakefile
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LEGAL
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.API
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.rake
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/THANKS
X%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
X%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
X@dirrm %%RUBY_SITELIBDIR%%/rcov
END-of-rcov/pkg-plist
echo x - rcov/pkg-descr
sed 's/^X//' >rcov/pkg-descr << 'END-of-rcov/pkg-descr'
Xrcov is a tool for simple code coverage analysis in Ruby.
X
XIt features:
X
X* fast execution: 20-300 times faster than previous tools
X* multiple analysis modes
X* fairly accurate coverage information through code linkage
X  inference using simple heuristics
X* XHTML and several kinds of text reports
X* easy automation with Rake via a RcovTask
X* colorblind-friendliness
X
XWWW: http://eigenclass.org/hiki.rb?rcov
END-of-rcov/pkg-descr
echo x - rcov/Makefile
sed 's/^X//' >rcov/Makefile << 'END-of-rcov/Makefile'
X# Ports collection makefile for:	rcov
X# Date created:				25 May 2006
X# Whom:					Rui Lopes (rgl ruilopes com)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rcov
XPORTVERSION=	0.4.0
XCATEGORIES=	devel ruby
XMASTER_SITES=	http://eigenclass.org/static/rcov/
X
XMAINTAINER=	rgl@ruilopes.com
XCOMMENT=	rcov is a tool for simple code coverage analysis in Ruby
X
XUSE_RUBY=	yes
XUSE_RUBY_SETUP=	yes
X
XDOC_FILES=	CHANGES LEGAL LICENSE README.API README.en README.rake THANKS
XEXAMPLE_FILES=	Rakefile
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${RUBY_MODEXAMPLESDIR} ${RUBY_MODDOCDIR}
X.for f in ${EXAMPLE_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}
X.endfor
X.for f in ${DOC_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-rcov/Makefile
exit
--- devel_rcov.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060525235412.E2824450D9>